sgr-agent 0.5.1

SGR LLM client + agent framework — structured output, function calling, agent loop, 3 agent variants
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Agent variants — different strategies for LLM ↔ tool interaction.
//!
//! - `sgr` — structured output via discriminated union schema
//! - `tool_calling` — native function calling (Gemini FC / OpenAI tools)
//! - `flexible` — text-based with retry + error feedback
//! - `hybrid` — 2-phase: reasoning FC → action FC
//! - `planning` — read-only wrapper that produces structured plans
//! - `clarification` — built-in system tools (ClarificationTool, PlanTool)

pub mod clarification;
pub mod flexible;
pub mod hybrid;
pub mod planning;
pub mod sgr;
pub mod tool_calling;