claude-agent-sdk-python
Anthropic's production SDK for building AI agents powered by Claude. Stateful sessions, tool execution, sandboxing, and streaming. Available in Python and TypeScript.
Metrics & specs comparison
Anthropic's production SDK for building AI agents powered by Claude. Stateful sessions, tool execution, sandboxing, and streaming. Available in Python and TypeScript.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
| Dimension | claude-agent-sdk-python | Claude-Mem |
|---|---|---|
| Category | AI agents | AI agents |
| Pricing | 开源项目(可免费自部署) | GitHub 开源项目 · 121,456 Stars |
| Platforms | macOS · Linux · API | Linux · API |
| GitHub stars | — | 121,456 |