Decision Workspace
claude-code vs claude-api vs claude-code-agent-sdk
Side-by-side comparison of Rust crates
45
claude-code
experimentalv0.1.2
A Rust library for executing Claude Code CLI
57
claude-api
experimentalv0.5.3
Type-safe Rust client for the Anthropic API
56
claude-code-agent-sdk
experimentalv0.1.39
Rust SDK for Claude Code CLI with bidirectional streaming, hooks, custom tools, and plugin support
Core Metrics
| claude-code | claude-api | claude-code-agent-sdk | |
|---|---|---|---|
| Health Score | 45 | 57 | 56 |
| Total Downloads | 81 | 69 | 2.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 4 | 27 |
| Releases | 3 | 4 | 38 |
| Last Updated | 48d ago | 23d ago | 102d ago |
| Age | 1m | 24d | 4m |
Health Breakdown
claude-code
Maintenance
11
Quality
14
Community
6
Popularity
2
Documentation
12
claude-api
Maintenance
18
Quality
14
Community
8
Popularity
2
Documentation
15
claude-code-agent-sdk
Maintenance
14
Quality
13
Community
10
Popularity
4
Documentation
15
Technical Details
| claude-code | claude-api | claude-code-agent-sdk | |
|---|---|---|---|
| Version | 0.1.2 | 0.5.3 | 0.1.39 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 11 | 24 | 21 |
| Crate Size | 52KB | 236KB | 95KB |
| Features | 4 | 17 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.93 | 1.90 | 1.90 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •claude-api leads with a health score of 57/100, but none of the options score above 80.
- •claude-code-agent-sdk has the most downloads (2.1K), suggesting wider adoption.