Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Dynein

$ dy Official High Risk
AWS Labs · Database & Data · Apache-2.0 · macos / linux / windows

dynein (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.

FCRS-1.0 Score
79 /100
Good
Medium Confidence
Zero-Friction Install
brew install dynein
CLI vs MCP Decision CLI Preferred vs MCP

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

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 19 / 25

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-file emits standard JSON; stateful dy use context
Trust & Safety 19 / 25

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 local testing; no --dry-run flag
Setup & Portability 13 / 15

Single Rust binary available via Homebrew, Cargo, and GitHub Releases across macOS, Linux, and Windows.

  • Available via brew install dynein and cargo install dynein
Utility & Efficiency 13 / 15

Eliminates painful aws dynamodb type-descriptor wrapping ({"S": ...}) for everyday queries and JSON/CSV imports.

  • Automatic conversion between standard JSON and DynamoDB AttributeValues
Maintenance & Lineage 8 / 10

Maintained under AWS Labs (awslabs/dynein) with Apache-2.0 licensing.

  • Official awslabs/dynein repository under Apache-2.0
Docs & Verifiability 7 / 10

Clear README examples and Clap --help output, though separate docs site is absent.

  • Documented in GitHub README and --help

Security, Auth & Guardrails

Auth Modes
Env API Key Config File Service Account
Credential Storage

Uses standard AWS SDK credential chain (~/.aws/credentials, AWS_PROFILE, AWS_ACCESS_KEY_ID, IAM roles) and stores active table context in ~/.dynein/.

Side Effects
Read-Only Local Write Remote Write Destructive Billing Impact
Cost & Quotas

Apache-2.0 open-source CLI; DynamoDB read/write capacity and storage incur AWS charges.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

List DynamoDB tables in a region
dy --region us-east-1 list

Lists DynamoDB tables in us-east-1 using standard AWS credentials.

Export table items as JSON Lines
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

Write a single item into a DynamoDB table
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 local for safe testing against DynamoDB Local.

Caveats & Pitfalls

  • ! dy use stores mutable target-table state in ~/.dynein/; agents should always pass --table and --region explicitly.
  • ! dy export writes to --output-file rather than stdout.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI