Dynein
$ dy Official High Riskdynein (dy) provides a human- and script-friendly Rust CLI over Amazon DynamoDB, stripping away verbose DynamoDB AttributeValue JSON ({"S": ...}) in favor of standard JSON. Supports dy list, dy desc, dy scan, dy get, dy put, and dy export --format json|jsonl|csv.
brew install dynein dy translates DynamoDB AttributeValue payloads into standard JSON locally and imports/exports JSON/CSV files much more concisely than aws dynamodb or MCP.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Outputs standard JSON on export --format json|jsonl, desc, and get, though dy export requires --output-file rather than streaming to stdout cleanly and dy use mutates global state.
dy export --format json|jsonl --output-fileemits standard JSON; statefuldy usecontext
Inherits IAM-scoped AWS credentials and supports --region local for DynamoDB Local testing, but lacks --dry-run on put/del/import.
- Standard AWS IAM auth and
--region localtesting; no--dry-runflag
Single Rust binary available via Homebrew, Cargo, and GitHub Releases across macOS, Linux, and Windows.
- Available via
brew install dyneinandcargo install dynein
Eliminates painful aws dynamodb type-descriptor wrapping ({"S": ...}) for everyday queries and JSON/CSV imports.
- Automatic conversion between standard JSON and DynamoDB AttributeValues
Maintained under AWS Labs (awslabs/dynein) with Apache-2.0 licensing.
- Official
awslabs/dyneinrepository under Apache-2.0
Clear README examples and Clap --help output, though separate docs site is absent.
- Documented in GitHub README and
--help
Security, Auth & Guardrails
Uses standard AWS SDK credential chain (~/.aws/credentials, AWS_PROFILE, AWS_ACCESS_KEY_ID, IAM roles) and stores active table context in ~/.dynein/.
Apache-2.0 open-source CLI; DynamoDB read/write capacity and storage incur AWS charges.
# Dynein (dy) Agent Rules - Always pass explicit `--region` and `--table` flags instead of relying on mutable `dy use` state. - Remember `dy scan` samples items and consumes read capacity units (RCUs); use `dy get` or `dy query` with keys when possible. - Never run `dy admin delete-table` or `dy del` without explicit approval.
Agent-Ready Command Recipes
Safe Read-Only Queries
dy --region us-east-1 list
Lists DynamoDB tables in us-east-1 using standard AWS credentials.
dy --region us-east-1 export --table users --format jsonl --output-file users.jsonl
Exports table items into users.jsonl using standard JSON instead of DynamoDB AttributeValue syntax.
Controlled Writes & Previews
dy --region us-east-1 put --table users "user_123" '{"name": "Ada", "role": "admin"}' Inserts or overwrites an item in users using standard JSON attributes.
Strengths for Agents
- + Translates DynamoDB AttributeValue JSON into clean standard JSON and JSONL.
- + Supports
--region localfor safe testing against DynamoDB Local.
Caveats & Pitfalls
- !
dy usestores mutable target-table state in~/.dynein/; agents should always pass--tableand--regionexplicitly. - !
dy exportwrites to--output-filerather than stdout.