Context gets skipped
The agent solves the prompt but misses the architecture, vocabulary, and decisions your team already made.
Sage makes AI read your team’s decisions, inspect what already exists, name the risk, and validate the result before calling the work done.
Agents can produce plausible changes in seconds. The expensive failures happen before typing: missing context, invented patterns, and risks nobody named.
The agent solves the prompt but misses the architecture, vocabulary, and decisions your team already made.
A new helper looks reasonable in isolation while duplicating a tested boundary that was already in the repository.
Authorization, money, destructive operations, and public contracts need explicit controls—not confident prose.
Agents report confidence where they should report validation output.
The protocol turns good engineering judgment into a sequence any compatible coding agent can follow.
Use the role, rules, and decisions relevant to this change.
Read the actual exports and patterns before proposing another.
Restate the task and its done-criteria, then separate routine work from changes that need a human decision.
Preserve contracts and keep the work inside the agreed scope.
Run real checks, report evidence, and capture durable knowledge.
Sage does not replace your coding agent. It gives that agent a visible, reviewable operating discipline.
One command installs the protocol. It adds the Sage protocol, command adapters, and knowledge structure for the coding tools you select.
bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/qorstack/sage@latest/install.sh)"
/sage-learning
Run once to learn the project’s real patterns.
/sage your task
Then start each code change in plain language.
You mostly run /sage. The protocol decides whether to begin, clarify
a decision, or map a larger uncertain effort.
Clear request
Read context, assess risk, implement, and validate.
One-session fog
Ask only the questions whose answers change the build.
Large uncertainty
Use Wayfinder to coordinate research and decisions across sessions.
Decisions, system design, implementation tickets, and focused evidence stay together under one durable flow workspace.
agents/sage/flows/checkout/ ├── index.md # start here ├── spec.md # clarified requirements ├── flow.md # end-to-end design ├── tickets.md # buildable outcomes └── evidence/ ├── index.md # searchable catalog ├── screenshots/ # smallest useful visual proof ├── traces/ # focused runtime evidence └── logs/ # relevant extracts
Every command reuses the same stable workspace slug.
Capture the smallest useful screenshot, trace, or log first.
It is all Markdown, ordinary files, and normal Git history.