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