Skip to content

Your lightweight open-source personal agent.

fix(templates): tighten AGENTS.md tool call guidelines to reduce hallucinations

Re-bin35e3f7ed26a0
diff --git a/nanobot/templates/AGENTS.md b/nanobot/templates/AGENTS.md
index 155a0b244..84ba657cd 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`