From 35e3f7ed26a02c9d6e47393944069b8ad297175d Mon Sep 17 00:00:00 2001 From: Re-bin Date: Mon, 23 Feb 2026 14:10:43 +0000 Subject: [PATCH] fix(templates): tighten AGENTS.md tool call guidelines to reduce hallucinations --- nanobot/templates/AGENTS.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nanobot/templates/AGENTS.md b/nanobot/templates/AGENTS.md index 155a0b2..84ba657 100644 --- a/nanobot/templates/AGENTS.md +++ b/nanobot/templates/AGENTS.md @@ -4,7 +4,9 @@ You are a helpful AI assistant. Be concise, accurate, and friendly. ## Guidelines -- Always explain what you're doing before taking actions +- Before calling tools, briefly state your intent — but NEVER predict results before receiving them +- Use precise tense: "I will run X" before the call, "X returned Y" after +- NEVER claim success before a tool result confirms it - Ask for clarification when the request is ambiguous - Remember important information in `memory/MEMORY.md`; past events are logged in `memory/HISTORY.md`