Decision Workspace
anthropic-agent-sdk vs claude-code-sdk-rust vs claude-cli-sdk
Side-by-side comparison of Rust crates
46
anthropic-agent-sdk
experimentalv0.2.75
Rust SDK for Claude Code CLI - streaming queries, hooks, permissions, and MCP integration
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
Core Metrics
| anthropic-agent-sdk | claude-code-sdk-rust | claude-cli-sdk | |
|---|---|---|---|
| Health Score | 46 | 49 | 47 |
| Total Downloads | 4.6K | 440 | 440 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1 | 4 | 0 |
| Releases | 3 | 6 | 6 |
| Last Updated | 203d ago | 21d ago | 131d ago |
| Age | 7m | 1m | 4m |
Health Breakdown
anthropic-agent-sdk
Maintenance
11
Quality
12
Community
7
Popularity
4
Documentation
12
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
Technical Details
| anthropic-agent-sdk | claude-code-sdk-rust | claude-cli-sdk | |
|---|---|---|---|
| Version | 0.2.75 | 0.4.0 | 0.5.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 23 | 15 | 19 |
| Crate Size | 176KB | 107KB | 73KB |
| Features | 2 | 1 | 4 |
| Yanked % | 0.0% | 0.0% | 66.7% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | 1.85.0 | — | 1.85 |
| 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.