sgr-agent 0.7.6

SGR LLM client + agent framework — structured output, function calling, agent loop, 3 agent variants
Documentation
1
2
3
4
5
6
7
8
9
//! Tool trait — re-exported from sgr-agent-core.
//!
//! Implement `Tool` for each capability you want to expose to the agent.
//! Arguments arrive as `serde_json::Value`; use `parse_args` helper for typed deserialization.

pub use sgr_agent_core::agent_tool::{ContextModifier, Tool, ToolError, ToolOutput, parse_args};

// Re-export here for backwards compat (originally in agent_tool, moved to context in core)
pub use sgr_agent_core::context::MAX_TOKENS_OVERRIDE_KEY;