Skip to main content

Crate reson_agentic

Crate reson_agentic 

Source
Expand description

§Reson - Agents are just functions

Production-grade LLM agent framework with structured outputs, multi-provider support, and native tool calling.

§Quick Start

use reson_agentic::prelude::*;

#[tokio::main]
async fn main() -> Result<()> {
    // Coming soon: agentic macro support
    Ok(())
}

Modules§

error
Error types for Reson
parsers
Output parsing system
prelude
providers
LLM provider clients
retry
Retry logic with exponential backoff
runtime
Runtime - Core execution environment for agentic functions
schema
Schema generation for tools and structured outputs
templating
Templating system using minijinja
tools
Tool calling system
types
Core types for Reson
utils
Utility functions

Attribute Macros§

agentic
#[agentic] attribute macro for async functions
agentic_generator
#[agentic_generator] attribute macro for async generator functions

Derive Macros§

Deserializable
#[derive(Deserializable)] for streaming-parseable types
Tool
#[derive(Tool)] for tool structs