typescript_1.1.0

agent0ai/agent-zerotypescript_1.1.0Jul 1, 2026by cornelcroi

AI Summary

Introduces the `GroundedAgent` architecture to prevent AI hallucinations by separating tool execution from response generation using a two-LLM pattern.

Key Highlights

  • New anti-hallucination pattern using a Gatherer and Presenter LLM.
  • Introduction of `ToolOutputCurator` classes for filtering tool results.
  • Updated documentation for the Grounded Agent feature.
  • Runnable example added to the `examples/grounded-agent-chatbot` directory.

New Features

  • GroundedAgent class
  • GroundedAgentOptions interface
  • ToolOutputCurator (DataBlockCurator, PerToolCurator)
  • PresenterPrompt type
  • Grounded Agent documentation

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.