reson-agentic 0.5.1

Agents are just functions - production-grade LLM agent framework
Documentation
//! # Reson - Agents are just functions
//!
//! Production-grade LLM agent framework with structured outputs,
//! multi-provider support, and native tool calling.
//!
//! ## Quick Start
//!
//! ```rust,no_run
//! use reson_agentic::prelude::*;
//!
//! #[tokio::main]
//! async fn main() -> Result<()> {
//!     // Coming soon: agentic macro support
//!     Ok(())
//! }
//! ```

pub mod error;
pub mod retry;
pub mod runtime;
pub mod types;

// Module declarations (implementations coming in phases)
pub mod parsers;
pub mod providers;
pub mod schema;
pub mod templating;
pub mod tools;
pub mod utils;

#[cfg(feature = "mcp")]
pub mod mcp;

// Re-export proc macros from resonai-macros crate
pub use resonai_macros::{agentic, agentic_generator, Deserializable, Tool};

// Re-export McpServer for convenience
#[cfg(feature = "mcp")]
pub use crate::mcp::McpServer;

// Prelude for convenient imports
pub mod prelude {
    pub use crate::error::{Error, Result};
    pub use crate::runtime::{RunParams, Runtime};
    pub use crate::types::{
        CacheMarker, ChatMessage, ChatRole, CreateResult, Provider, ReasoningSegment, TokenUsage,
        ToolCall, ToolResult,
    };
}