Sense
What's true right now?
Read repo health, recent activity, context freshness, provider readiness, and open work.
Stop renting your business. Run it from a folder Claude and Codex already know how to read.
Runs from your computer. Memory in GitHub. Free and open source.
Why this exists
A Notion page for the offer. Looms for voice. Google Docs for research. A few chats with good ideas. A launch plan somewhere. Decisions no one can find when the next AI session starts.
Main Branch turns one folder on your computer into business memory your agent reads before it answers, then saves approved decisions, launches, bets, pages, ads, research, and lessons back into files you own.
Built for revenue-producing work. Not another SaaS dashboard. Not another rented memory.
Practical workflows for the next session, the next push, and the next checkpoint.
mb-start reads status, MoneyPath, recent work, drift, provider readiness, and ranked actions before the agent gives advice.
mb checkpoint previews and saves approved progress with plain-English subjects. Pause Friday. Scan Monday. Nothing lost.
mb-think, mb-ads, mb-organic, mb-site, mb-end. Multi-step skills, not prompt snippets. Approval-gated where it matters.
mb graph maps how decisions, research, bets, pushes, and provider refs connect. See what the agent reads from instead of trusting a black box.
mb doctor, mb validate, and repair plans check structure, links, runtime wiring, and provider state so the agent does not have to guess.
GitHub, Cloudflare, Meta Ads, hledger, optional Apify. Curated rails. Secrets stay outside tracked files. Publishing and spend stay your call.
A compact loop for one operator or a small team sharing the same business repo.
What's true right now?
Read repo health, recent activity, context freshness, provider readiness, and open work.
What should we wager?
Choose the next business move: bet, research, decision, push, repair, or playbook.
What goes into the world?
Produce pages, ads, content, reports, provider setup, saved checkpoints, and releases.
What changed because of it?
Record verdicts, lessons, updated core files, outcomes, and next-session memory.
| Just AI | Main Branch + agent |
|---|---|
| Context lives in chats, projects, docs, and memory you manage manually. | Business truth lives in a folder the agent reads every session. |
| Output drifts away from your offer, voice, proof, or latest decision. | The agent reads current files and Main Branch facts before acting. |
| Decisions disappear into conversation history. | Decisions become plain files future sessions can cite. |
| Long workflows are hard to pause and resume. | Checkpoints preserve approved progress in readable history. |
| Tool setup breaks silently. | Main Branch checks health and shows the repair path. |
| Provider access can leak secrets or blur authority. | Secrets stay outside tracked files. Provider changes stay approval-gated. |
Bundled skills
Multi-step workflows with approval gates where the work can touch spend, publishing, or customer contact.
Sense + Decide
Daily entry. Reads repo facts and routes the next move.
Sense + Decide
Research, decide, and codify durable business context.
Decide + Ship
Plan ad copy or scripts with review before spend.
Decide + Ship
Draft posts, newsletters, and queues from owned strategy.
Decide + Ship
Brief, build, check, and publish pages from context.
Sense
Inspect setup, runtime drift, and repair readiness.
Reflect
Close the session, crystallize lessons, and checkpoint.
Install
The first run creates the structure. After that, the agent reads before it answers.
No hosted account required.
pipx install mainbranch
mb onboard --name "My Business" \
--path my-business
cd my-business
mb status --json --peek FAQ
What it is, who it is for, and how private context stays under your control.
Main Branch is a free, open-source CLI and skill system that gives AI coding agents an owned business memory folder to read before they answer.
Main Branch is for solo founders, agency owners, productized-service operators, indie SaaS builders, course creators, and small teams that want AI help grounded in current business context.
No. Main Branch is local-first. Your offers, research, decisions, bets, launches, outcomes, and checkpoints live in files you own.
ChatGPT memory is an app feature. Main Branch is an inspectable folder and workflow layer that Claude Code, Codex, and humans can read, cite, edit, and version.
Yes. The Main Branch engine is MIT-licensed and published at github.com/noontide-co/mainbranch.