Skip to content

v0.8.0

Choose a tag to compare

@yuanhao yuanhao released this 27 Apr 13:48
· 333 commits to main since this release
b49a7a2

Changes since v0.7.5

Breaking

  • Content::ToolCall now includes provider_metadata: Option<serde_json::Value> (#32)

Features

  • SharedState: pluggable key-value store for sub-agent communication (#35)
    • SharedStateBackend trait with MemoryBackend (default) and FileBackend backends
    • SubAgentTool::with_shared_state() — opt-in, injects shared_state tool automatically
  • Multi-provider sub-agents: SubAgentTool::with_model_config() for non-Anthropic providers (#35)
  • Inter-turn delay: turn_delay on AgentLoopConfig and SubAgentTool (#35)
  • Sub-agent error surfacing: StopReason::Error now propagated as ToolError::Failed (#35)

Fixes

  • Gemini: fix streaming and function calling (#32)
  • Filter empty text blocks from sub-agent output (#35)

Examples

  • examples/rlm.rs — recursive 2-level agent delegation with Grok
  • examples/code_review.rs — 3 parallel sub-agents reviewing via shared state
  • examples/shared_state.rs — parallel analysis with shared state