Back to Apps

Anthropic Agent SDK (Rust)
by bartolli
Idiomatic Rust SDK for building AI agents powered by Claude Code, mirroring the official TypeScript SDK.
0 stars
Works in:claude
Exposes:ToolsResourcesPrompts
What it does
This SDK provides a comprehensive Rust implementation for creating AI agents that integrate with Claude Code. It allows developers to build high-performance, type-safe agents using idiomatic Rust patterns, offering full parity with the official TypeScript Claude Agent SDK.
Tools
The SDK exposes a wide range of client methods and runtime controls, including:
query: Primary method for interacting with the AI agent.interrupt: Allows the agent to pause and request user input.setPermissionMode: Controls how the agent handles tool execution permissions.setMaxThinkingTokens: Configures the reasoning budget for the model.mcpServerStatus: Checks the health and status of connected MCP servers.
Installation
Add the dependency to your Cargo.toml:
[dependencies]
anthropic-agent-sdk = "0.2"
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
Supported hosts
- claude
Quick install
cargo add anthropic-agent-sdkInformation
- Pricing
- free
- Published
- 6/29/2026
- stars
- 0
Categories
Choose your AI client and follow the steps below.
Claude Desktop
This is a library SDK for building agents, not a standalone server for Claude Desktop.





