{"repo":"Wally869/claude_agent_sdk_rust","free":true,"listed":false,"github":"https://github.com/Wally869/claude_agent_sdk_rust","clone":"git clone https://github.com/Wally869/claude_agent_sdk_rust.git","description":"Rust SDK for Claude Code CLI - Build production-ready AI agents with type safety","language":"Rust","stars":26,"topics":["ai-agents","anthropic","async","claude","claude-code","claude-code-sdk","llm","mcp","rust","sdk"],"license":null,"category":"ai-agents","readme_excerpt":"Claude Agent SDK for Rust Rust SDK for building production-ready AI agents with Claude. Replicate the full feature set of the Python Claude Agent SDK with idiomatic Rust patterns. Overview The Claude Agent SDK enables you to build powerful AI agents using Claude Code's agent harness. This SDK wraps the Claude Code CLI, providing type-safe access to: - Automatic context management and compaction - 20+ built-in tools (file operations, code execution, web search) - Custom MCP (Model Context Protocol) tools - Fine-grained permission controls - Hook system for deterministic behavior - Interactive bidirectional conversations - Usage tracking and quota monitoring (Max Plan) Important Notes Structured output requires more than 1 turn. When using output format with a JSON schema, the CLI may need additional turns internally to produce structured JSON. Set max turns to at least 2-3 (or omit it entirely) — using max turns(1) will likely result in error max turns with no structured output. max budget usd is a soft cap. The budget limit is checked between turns, not mid-generation. The current turn will always complete before the budget is evaluated, so actual spend may slightly exceed the configured limit. No nested Claude Code instances. As of CLI v2.1.41, Claude Code prevents spawning nested instances of itself. The CLI sets CLAUDECODE=1 in the environment; any child process that tries to start another Claude Code instance will detect this and refuse to launch. This means you cannot te","default_branch":null,"files":null,"tree":[],"storefront":"/r/Wally869","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Wally869/claude_agent_sdk_rust/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}