Browse the documentation
Documentation
Working with the agent
The REPL, Act and Plan modes, memory, and undoing what the agent did.
- Act and Plan modesPlan mode makes the agent read-only. Start there if you are letting an agent into a repository you care about.
- Undo with checkpointsIn a git repository, Snaga snapshots your working tree before every destructive action. /rewind puts it back — and the rewind is itself reversible.
- Slash commandsEverything you can type at the prompt that is not a request, grouped by what you are trying to do.
- MemoryWhat the agent remembers between turns and between sessions — SNAGA.md, stored facts, and the extraction pass that runs on its own.
- Context and compactionHow much the agent can hold at once, what happens when it fills up, and how to feed it the right things.