Belay
Belay watches your local coding sessions, finds mistakes that keep repeating, and turns approved lessons into guidance your agent can use next time. Local, free, and private.





- Launched
- Clicks
- 30
- Categories
- Developer tools,Open source,AI
- Runs on
- macOS, Windows, Linux
- Pricing
- Free
About Belay
AI coding agents are getting remarkably good at writing code. But they still make the same mistakes over and over.
A build fails because the agent forgot to run a check. A workaround gets rediscovered three sessions later. You explain the same project constraint again. The agent says “done,” only for you to discover that the typecheck is still broken.
The problem isn't that your agent can't solve the problem.
It's that it doesn't remember what mattered from the problems it solved before.
Belay is the experience layer for coding agents.
It works locally with the coding sessions you already have from Claude Code and Codex. Belay builds a timeline of that work, identifies patterns across sessions (loops, stalls, failed commands, repeated interventions) and keeps the evidence attached.
When Belay finds a lesson that looks worth keeping, it doesn't silently change your agent. It proposes a rule, hook, project instruction, or other piece of guidance based on the actual evidence. You review it first.
Once approved, that lesson can travel into the next session.
So instead of your agent starting every task from zero, it can start with the things you've already learned.
For example:
Your agent repeatedly marks a task complete without running the project's typecheck.
Belay notices the pattern across multiple sessions. It shows you the sessions, the failed commands, and where you had to intervene. It proposes a concrete fix (eg. such as a completion hook that runs the typecheck before the agent can finish).
You approve it.
Next time, the agent has the lesson.
That's the core loop:
Observe -> Find the pattern -> Preserve the evidence -> Propose a fix -> Review -> Carry the lesson forward.
Belay is deliberately local-first. Your session history, evidence, and guidance stay on your machine. There is no account required, and Belay does not upload your coding sessions to Doplex Labs.
Belay also doesn't replace your coding agent. It has no model of its own. It works alongside the agents you already use, including Claude Code and Codex, and optional analysis uses the provider you've already configured.
The goal isn't to make your agent autonomous.
It's to make your agent learn from the work you've already done.
Our first evaluation found that, on the evaluated tasks where a prior lesson was useful, Belay-assisted agents completed 11 of 16 tasks, compared with 7 of 16 with a concise human-written instruction and 6 of 16 with no additional guidance. This is an initial evaluation, not a claim of general performance; broader evaluation is underway.
Belay is free, local, and open source.
Teach the important lesson once.
What Belay does that nothing else does
Belay turns mistakes from past coding-agent sessions into evidence-backed, human-approved guidance that your agent can carry into future sessions.
Who Belay is for
Developers who use AI coding agents and want them to learn from past mistakes, project history, and human feedback.
Written up on SpacerrApps
Apps like Belay
Aident Loadout12 clicks
Connect Codex, Claude Code, Cursor, ChatGPT and any MCP client to 1,000+ apps and 400+ Skills through one reusable setup.
AI, Developer tools, Automation
ShardStitch4 clicks
Local-first AI coding layer for memory, recovery, verification, tool routing, visual control, and cross-tool work across Claude, Cursor, Codex, Gemini, and Roo Code.
Developer tools, Productivity, AI
AURIX2 clicks
AURIX is a Mac app where your AI coding agents work side by side, with one shared memory and one set of tools. You run the show.
Developer tools, AI
BuiltToWinWeb0 clicks
WebAgentScan · AI agent readiness · MCP server security · Domain Rating · AI Indexing Pack
Developer tools, AI, SEO
Space UI9 clicks
An open-source design library built for humans and AI to create expressive, polished, and high-quality interfaces, helping you build better products, faster
Open source, Design, Developer tools
WapiSender2 clicks
Create powerful WhatsApp automations with AI agents, a visual Flow Builder, MCP tools, APIs and webhooks. Build intelligent conversations and workflows in one platform.
Developer tools, AI, No-code
6 comments
Nora Callahan
How does Belay decide that a repeated mistake is worth suggesting as a lesson?
DoplexLabsMaker
Belay's engine uses a number of different metrics to decide which mistakes a user or agent makes should be suggested as a lesson. You can check out our open source code here: https://github.com/DoplexLabs/belay-engine-os
Priya Nair
What does Belay do with your session data, and can it work fully offline?
DoplexLabsMaker
Belay is fully local, all improvements made with the mission packs/habits are using the user's own coding harness (this utilize local models or cloud models, whatever the user prefers). None of the user sessions are leaving the user's device.
Marta Vidal
How does Belay add an approved lesson to Claude Code or Codex without changing your project files?
DoplexLabsMaker
Belay writes one skill file in your home directory (~/.claude/skills/belay/ or ~/.codex/skills/belay/) (never in your project).
When you run /belay start, the agent calls Belay's local MCP tool and this returns approved lessons as untrusted data with no instruction authority. The agent shows the pack and asks "Use this Mission Pack for this session?". Only after you say yes does it apply, and only for that conversation. If a lesson would change a config file like CLAUDE.md, Belay stores a diff for you to apply yourself. It never writes it.