reson-agentic
Agents are just functions - production-grade LLM agent framework for Rust.
Features
- Multi-provider support: Anthropic, OpenAI, Google Gemini, OpenRouter, AWS Bedrock
- Native tool calling with structured outputs
- Streaming responses with reasoning/thinking support
- Google File API for video/large media uploads
- Retry with exponential backoff
- Proc macros for ergonomic agent definitions
Quick Start
[]
= "0.1"
= { = "1", = ["full"] }
use ;
use ChatMessage;
use ConversationMessage;
async
Video Upload Example
use ;
let client = new;
// Upload video
let video_bytes = read?;
let uploaded = client.upload_file.await?;
// Wait for processing
let ready = client.wait_for_file_processing.await?;
// Use ready.uri in your requests
License
MIT