hide:
- toc
What is Radkit?
Radkit is an agent framework for building AI agents in Rust. It provides comprehensive support for the A2A (Agent-to-Agent) Protocol, enabling seamless agent interoperability with zero conversion overhead.
Built with enterprise-grade architecture, Radkit offers:
- 🚀 A2A-Native Design: Unlike other agent frameworks (Autogen, CrewAI, Langchain, ADK) where a2a is a secondary layer, Radkit is built from the ground up to support the protocol natively.
- 🤖 Multi-Provider LLM Support: Anthropic Claude, Google Gemini, and more
- 🔧 Advanced Tool System: Function calling with built-in task management tools
Quick Example
use ;
use ;
use AnthropicLlm;
use Arc;
async
Key Features
A2A Protocol Native
- Protocol Methods: Implements
message/send,message/stream,tasks/get - Event Streaming: Tools can generate compliant
TaskStatusUpdateandTaskArtifactUpdateevents
Comprehensive Task System
- Follows Task Lifecycle:
Submitted → Working → [InputRequired/AuthRequired] → Completed/Failed - Atomic Operations: Thread-safe message, artifact, and status updates
- A2A Events: Automatic generation of protocol-compliant events
- Built-in Tools:
update_statusandsave_artifactwith event emission
Installation
[]
= { = "https://github.com/microagents/radkit.git" }
= { = "1.47", = ["full"] }
= { = "1.18", = ["v4"] }
= "1.0"
= "0.3"
= "0.1"
= { = "0.4", = ["serde"] }
Quick Start Guide
Development Status
Current Version: 0.1.0 (Work in Progress - Major Architecture Complete)
✅ Completed Features:
- A2A Protocol core implementation with native types
- Multi-provider LLM support (Anthropic Claude, Google Gemini)
- Task lifecycle management with A2A event streaming
- Comprehensive tool system with built-in A2A tools
🚧 Coming Soon:
- State management with three-tier state isolation
- A2A Server mode (HTTP/gRPC endpoints for agent interoperability)
- A2A Client mode (call other A2A agents via function calling)
- MCP (Model Context Protocol) tools integration
- OpenAPI tool generation and validation
- Production persistent storage backends (PostgreSQL, Redis)
- WebSocket streaming support for real-time clients
License
Radkit is licensed under the MIT License. See LICENSE for details.