python_1.1.0
GraphiteEditor/Graphitepython_1.1.0Jul 1, 2026by cornelcroi
AI Summary
This release mirrors Release 2, introducing the 'GroundedAgent' pattern to the Python ecosystem with the same two-LLM anti-hallucination architecture.
Key Highlights
- Implementation of a two-LLM architecture to prevent hallucinations.
- Separation of tool execution (gatherer) from response writing (presenter).
New Features
- GroundedAgent and GroundedAgentOptions classes.
- ToolOutputCurator (DataBlockCurator, PerToolCurator).
- PresenterPrompt for response generation.
- Runnable example: grounded-agent-chatbot.
Full Release Notes
## 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.