PROJECTS-Details

Claude Agent SDK for Rust 2026-03-03

Rust SDK wrapping the Claude Code CLI for building AI agents with type-safe tool access, permission controls, and multi-turn conversations.

What is it?

A Rust wrapper around the Claude Code CLI that gives you type-safe access to agent capabilities: file operations, code execution, web search, MCP tool support, and structured JSON output with schema validation. Supports both one-shot queries and multi-turn conversations with persistent context.

Features
  • 20+ built-in tools with fine-grained permission modes
  • Hook system for deterministic behavior at key points
  • Extended thinking with adaptive or fixed token budgets
  • Custom MCP tool integration
  • Usage tracking and quota monitoring

Available on crates.io.