Bops
A team of AI bots that runs your business ops: inbox, pipeline, invoices, reports. Each one has its own computer, email and phone number, and remembers everything.
翻訳待ち
Files-first operating system for internet businesses: research, decisions, bets, pushes, and outputs in markdown/git, with an mb CLI and agent workflows that hide the plumbing.
翻訳待ち
Loading the full README. The saved excerpt is shown below.
Give your AI the business brain it was missing.
One folder for your offers, proof, research, decisions, launches, ads, pages, bets, and lessons, readable by Claude Code, Codex, and you.
Your business context is probably scattered: a Notion page for the offer, Looms
for voice, Google Docs for research, a few chats with good ideas, a launch plan
somewhere, and decisions no one can find when the next AI session starts.Read the full README ↗Your business, written down where an AI agent can read it.
Main Branch keeps your offers, audience, research, decisions, and lessons as plain files in a folder you own. Claude Code or Codex reads those files before it advises you, proposes work, and saves what you approve. Next session, it starts from what you decided, not from a blank chat.
Set up your business folder · Follow a working day · Browse the docs · Check runtime support
/mb-grow log
entries the owner approved in autonomy.md.After setup, open your business folder and ask:
People keep asking what my service includes. Read my offer and audience files, show me what is unclear, and propose one change before writing.
The agent reads your files and Main Branch's health and status facts, shows the evidence and what it is unsure about, and proposes one change. You approve it. The accepted offer becomes a file the next session reads. The working-day walkthrough follows a fictional example from the first question to the next morning.
The same loop clarifies an offer, turns research into a decision, plans a bet, drafts content, reviews a page, or saves a lesson from finished work.
You need Python, git, and Claude Code or Codex CLI, signed in. The setup guide covers installing each. With those and pipx in place:
pipx install mainbranch
mb onboard --name "My Business" --path my-business
cd my-business
mb doctor
mb onboard asks you a few questions in the terminal. "My Business" and
my-business are example names; choose your own. A healthy folder ends
mb doctor with:
all good — you're set to run `claude`.
Then open the folder in Claude Code and run /mb-start. In Codex CLI, ask it
to use the global mb-start skill. Tell the agent what you want help with. If a
skill is missing, follow the setup repair steps.
Prefer to be guided? You can paste the setup prompt into your runtime. It asks about your business and proposes the first files for your review. Local-only setup is valid. GitHub backup is recommended and requires a signed-in account and your approval.
Keep this business folder separate from a clone of the Main Branch engine.
Claude Code supports the bundled production workflows within each workflow's
limits. Codex supports the daily start, status, setup, think, repair, update,
help, and close routes. Its bet, ads, organic, site, and books routes remain
read-only planning. Wiki and skill-authoring workflows are outside current
Codex support. The tailnet audit skills are drafts, and /mb-seo is experimental. Check
compatibility or run
mb workflow list --runtime codex --json for exact route status.
/mb-start in Claude Code or the global
mb-start skill in Codex to read current facts./mb-end, or the global mb-end skill in Codex, to review what changed,
what you learned, and what remains open.The four operating loops describe this method as Sense, Decide, Ship, and Reflect. You can use them within one short session. You do not need a separate agent or document for every step.
Your business memory stays in plain Markdown and git history. You can read it in a text editor without Main Branch. Credentials, caches, and raw sensitive data have separate storage boundaries.
The agent proposes and explains work within the authority you give it. Publishing, spending, customer contact, and account changes require explicit approval and a tested execution path. Installing Main Branch does not authorize those actions.
mb runs checks and commands when called. It does not host a model or keep an
agent running in the background. The local read-only dashboard is a view over
your files, not a hosted business database.
| Setup | Scope |
|---|---|
| macOS and Linux | Supported CLI paths. Install your agent runtime separately. |
| Claude Code | Bundled skills with plugin wiring and project-local command bridges. |
| Codex CLI | Global Main Branch skills and generated repo guidance for the daily loop, with the workflow limits above. |
| Native Windows | Experimental. WSL2 is the closest path to the supported Linux setup. |
| Other agent runtimes | Compatibility targets until an adapter and smoke evidence exist. |
See compatibility for the full contract. Updates, older layouts, and repairs are covered in setup and migration.
The agent normally runs mb for you. These commands let you inspect its facts
and proposals directly:
| Need | Command |
|---|---|
| Read the daily briefing | mb status |
| Read usage and weekly role caps | mb usage |
| Check folder and runtime health | mb doctor |
| Preview repairs | mb doctor repair --plan |
| Check business files and relationships | mb validate |
| Inspect the relationship graph | mb graph |
| Preview a saved checkpoint | mb checkpoint --plan --json |
| Inspect workflow support | mb workflow list |
| Inspect connected-tool readiness | mb connect status --json |
| View the local dashboard | mb dashboard build |
Run mb --help for the command list. See the docs index for
Google reads, books, provider connections, playbooks, and other references.
Main Branch also carries read-only mb-homelab-* skills for securing the
machines that run your agents; they do not touch business data. See
homelab skills.
New contributors should read CONTRIBUTING.md. Agents working on the engine follow AGENTS.md and the cold-start contract.
Ask for mb-help in your runtime, read support, or report a
public-safe problem through GitHub Issues.
Review an issue draft before submitting business context.
The optional Skool community follows businesses using Main Branch. Membership is not required to use the open-source tool.
MIT (c) 2026 Noontide