Sage
Make your AI code like your most senior dev — four questions before every change.
A plain-Markdown protocol coding agents read before they act: is it needed, will it last, is it safe, did we already agree? One-command install, works across agents.

- AGENTS.md
- Claude · Codex · Cursor
- v1.9
- questions before every change
- 4
- agents supported
- 6+
- install command
- 1
- runtimes to run
- 0
AI writes code fast but skips the team’s context, reinvents what exists and claims “done” without evidence. Sage makes the agent think like a senior before it types.
Results
May → Oct 2026 · 231 commits · v1.1 → v1.9- One-command installers for Bash and PowerShell
- Works with Claude Code, Codex, Cursor, Copilot, Gemini and Windsurf
- Used daily, including on client and day-job repos
What it does
Reads the team’s context first
The agent reads existing decisions and patterns before proposing anything new.
Names the risk before acting
Work touching money, permissions, data or public APIs stops for a decision first.
“Done” needs evidence
It has to run real builds, tests or checks and report the risk that’s left.
Screens
6 screens · click to enlargeWhat went wrong — and how I fixed it
Real problems from the commit history, not a highlight reel.
- 01Problem
The first version was too heavy: a CLI, an MCP server, stores, Docker and CI.
How I fixed itCollapsed it to one AGENTS.md protocol plus conflict-free Markdown knowledge files, and removed the Python code.
- 02Problem
The interactive installer failed in some shells (when piped, and in PowerShell).
How I fixed itRead answers from /dev/tty and Read-Host, and fetch the latest version via a CDN.
- 03Problem
Agents asked too many unnecessary questions.
How I fixed itAdded a pre-action clarification pass and made test writing opt-in.
One Markdown file. No runtime.
- 01Install with one command and pick your agents
- 02The agent reads AGENTS.md before every task
- 03It asks the four questions and picks the smallest path
- 04It validates for real and records what it learned
- Role
- Solo
- Stack
- Markdown · Bash · PowerShell · jsDelivr
- Links
- Website ↗