Decision Workspace
claude-cli-sdk vs claude-code-sdk-rust vs anthropic-agent-sdk
Side-by-side comparison of Rust crates
44
claude-cli-sdk
experimentalv0.5.1
Rust SDK for programmatic interaction with the Claude Code CLI
53
claude-code-sdk-rust
experimentalv0.4.1
Async Rust SDK for the Claude Code CLI: streaming agent turns, tool use, and sessions.
46
anthropic-agent-sdk
experimentalv0.2.75
Rust SDK for Claude Code CLI - streaming queries, hooks, permissions, and MCP integration
Core Metrics
| claude-cli-sdk | claude-code-sdk-rust | anthropic-agent-sdk | |
|---|---|---|---|
| Health Score | 44 | 53 | 46 |
| Total Downloads | 462 | 2.4K | 75.0K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 8 | 1 |
| Releases | 6 | 7 | 3 |
| Last Updated | 219d ago | 81d ago | 291d ago |
| Age | 7m | 4m | 10m |
Health Breakdown
claude-cli-sdk
Maintenance
13
Quality
7
Community
6
Popularity
3
Documentation
15
claude-code-sdk-rust
Maintenance
15
Quality
12
Community
9
Popularity
4
Documentation
13
anthropic-agent-sdk
Maintenance
9
Quality
12
Community
7
Popularity
6
Documentation
12
Technical Details
| claude-cli-sdk | claude-code-sdk-rust | anthropic-agent-sdk | |
|---|---|---|---|
| Version | 0.5.1 | 0.4.1 | 0.2.75 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 19 | 15 | 23 |
| Crate Size | 73KB | 109KB | 176KB |
| Features | 4 | 1 | 2 |
| Yanked % | 66.7% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | 1.85 | — | 1.85.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •claude-code-sdk-rust leads with a health score of 53/100, but none of the options score above 80.
- •anthropic-agent-sdk has the most downloads (75.0K), suggesting wider adoption.