Skip to content

python_1.1.0

Choose a tag to compare

@cornelcroi cornelcroi released this 01 Jul 08:51

GroundedAgent (two-LLM anti-hallucination pattern)

Adds GroundedAgent: a gatherer LLM calls tools and sees the raw results but never speaks; an isolated presenter LLM writes the reply from only the curated tool output, so it can't invent values beyond what was fetched. A no-tool turn is answered by the gatherer directly, skipping the presenter.

  • GroundedAgent / GroundedAgentOptions, ToolOutputCurator (DataBlockCurator, PerToolCurator), PresenterPrompt
  • Docs: Built-in Agents → Grounded Agent
  • Runnable example: examples/grounded-agent-chatbot

Feature merged in #551.