1. Start with a Clear, Specific Goal
The quality of your high-level objective directly impacts the agent’s performance.- Bad Goal: “Fix my project.”
- Good Goal: “In the
./srcdirectory, refactor all Python files to use theloggingmodule instead ofprintstatements. Ensure all changes pass the existing pytest suite.”
2. Operate in a Version-Controlled Environment
This is your safety net. Always run Agent Mode on a project that is under version control (e.g., Git).- Commit Before Starting: Ensure you have a clean working directory.
- Review Changes: Use
git diffto see exactly what the agent modified. - Revert if Needed: If the agent messes up, you can instantly revert to the previous state.
3. Supervise the First Run
Before letting the agent run fully autonomously on a large task, supervise its initial steps.- Ask for a Plan: Before giving the go-ahead, ask Chibi: “What is your plan to achieve this?”.
- Check the “Thoughts”: If
SHOW_LLM_THOUGHTSis enabled, read the agent’s internal reasoning to ensure it understands the context correctly. - Monitor: Keep an eye on the output to ensure it’s not going down a rabbit hole.
Return to: Agent Mode Introduction

