02 / FEATURES
Less switching. More context.
Prompts, sessions, approvals and terminal workers share one workspace. Use it for code and servers, and for the rest of life: family finance, paperwork, study, travel, a small business. Each section below has prompts to start from.
Read the user guide01 / ANY NUMBER OF TABS
Fast with every tab open.
Workspace tabs hold sessions, worker agents and terminals. A fast reply is drawn at most about sixty times a second and the keys you type are handled in between, so typing never waits for the reply. Scroll up and the lines you read hold still; new output ↓ says more arrived below.
Each tab's mark says whether it is working, waiting on you (!), holding queued prompts (+N) or has gone quiet (◌). /activity, or ctrl+alt+o, lists every tab and its background jobs; enter opens a job's output.
02 / ONE ENGINE
Upgrade without stopping.
Every mbm2 window on a machine shares one Go engine, so they see the same sessions. Run mbm2 upgrade in another terminal, or /upgrade inside mbm2: each step shows a check mark as it finishes, and an upgrade that cannot be done in place says why and names the install command. Each open window offers /restart, which brings it back on the new version with its tabs, sessions and unsent prompts, while running turns finish first.
A window you open meanwhile starts at once on the running sessions, with a band at the top: Wait, the default, switches to the new engine by itself when the running turns end, and Switch now names the turn it stops. That turn then offers Continue, and the agent carries on where it was.
/connect adds as many OpenAI, OpenAI-compatible and Ollama accounts as you need, each its own provider in /model. A provider's brief outage is retried with backoff instead of ending the turn, and if the interface ever stalls, a watchdog writes what it was doing to the debug log.
03 / PERMISSIONS
Set a permission once.
Reject refuses one call and the agent carries on without it; Reject & stop also ends the turn. Allow always keeps a rule for this session, or writes it into the project's .mbm/mbm.json for every later session, widened to a parent folder when you choose. One decision is asked once: identical requests merge into one prompt, and a rejected one is not asked again in that turn. With ask_timeout set, an unanswered request is rejected when its countdown ends, never approved.
The closest folder's .mbm/ configuration wins over its parents', and a changed permission rule takes effect without a restart. /config edits client and workspace preferences.
04 / PARALLEL
Work split, merged on your word.
Ask for independent parts in parallel and each runs as a background task, in its own git worktree when you ask for isolation, and reports when it is done. /delegate <task> starts one yourself without waiting for a turn. Before a merge you see its branch, commits and diff stat; nothing merges until you approve it.
Come back to a session that worked while you were away and a short recap says what was done, what still runs and what waits on you; /recap asks for one any time. During a turn its steps show above the prompt (ctrl+t folds them), and /todo and mbm2 todo keep the project's work log.
05 / TEAM
Agents that work as a team.
Give a goal to a lead agent and it splits the work: each part goes to a worker agent in its own git worktree and tab, the workers message each other, and your mbm2s in other projects and on other computers join through the relay. /team shows every message waiting for you and who the peers are, or why there are none; /team share off keeps this mbm2 out of the others' lists.
Each agent is a session you can open, read and take over: its tab shows what it does, and you can type to it at any point.
/team lead <worker>names the lead. It splits your goal into tasks and hands each to a worker agent in its own git worktree and tab; you see the branch and checks, and nothing merges until you confirm.mbm2 sendlets any agent, script or shell message a session by its id, directory or label. Each message waits for your approval in /team unless you let the team's messages through.mbm2 peerslists who can be reached: the sessions on this computer and your account's mbm2s on other computers, linked through the relay with no token to set up.mbm2 answerreplies to a question an agent sent back. A question goes to whoever sent the message; a permission only ever goes to you./mode autolets a worker run while nobody watches: your rules decide first, a small-model judge takes what they leave open, hard guardrails always ask a person, and an ask nobody answers becomes a hand-off while the worker carries on.mbm2 teamjoins a project's roles across machines through the project's own team store (.mbm2/team, its history in the project's git remote): setup makes a role's folder and agent, and a hand-off arriving in a role's inbox wakes its session.
In pipelines, mbm2 github and mbm2 gitlab answer /mbm comments, and mbm2 run answers one prompt; with --strict-exit its exit status says whether the run failed or a permission was refused.
06 / YOUR MACHINES
Your licence, every machine.
/rc puts the open session on your phone; «mbm code», at tui.mbm.mn/code, lists your machines and their sessions and starts new ones. A paid licence or a trial applied on a machine links it to your account, with no separate sign-in. mbm2 web opens the same engine in a browser.
In your account, New key adds a key for another computer or a CI job without touching the others, and Rotate replaces one that may have leaked while the old key keeps working for 24 hours. Coming from v1, mbm2 migrate-v1 brings its API keys, licence and every project's sessions in one step.
07 / IN PROGRESS
Being built now.
Not in a release yet. Each item keeps its In progress mark until it ships.
- In progress Automatic skills: after a long task, a drafted skill that is saved only when you say yes.
08 / DEVELOPMENT
Write, fix and refactor code.
Write production code, fix bugs in any language, refactor legacy code, review changes and add tests. The agent reads the project before it edits.
Write a REST endpoint in Go with input validation and error handlingFind and fix the memory leak in src/worker.tsAdd unit tests for the payment processing moduleReview this change and suggest improvements to its error handling
09 / INFRASTRUCTURE
Operate servers and services.
Configure nginx, manage systemd services, tune PostgreSQL, set up Redis and automate routine operations by describing them. Shell commands run on the runtime host, with the tools installed there, after your approval in Safe, the default mode.
Check why nginx on this host is returning 502 errorsConfigure automatic certificate renewal with certbotAudit the running services and their resource use, and suggest optimisationsSet up log rotation and retention for the systemd services
10 / SERVER FLEETS
Many servers, several data centres, one place.
Keep an inventory of hosts across data centres, compare their configuration, roll out updates in stages and collect the same health checks from every machine, over the SSH access the runtime host already has, each command after your approval in Safe, the default mode.
Read hosts.yaml and report disk, memory and load for every server, by data centreWhich servers differ from the standard nginx and sysctl configuration?Patch the staging hosts first, check them, then roll out to production one data centre at a timeFind every certificate that expires in the next 30 days across all hostsCompare the backup status of the databases in both data centres
11 / DEPLOYMENT
Ship repeatably.
Build container images, write Kubernetes manifests and Terraform, and set up CI pipelines with GitHub Actions or GitLab CI.
Create a multi-stage Dockerfile for this Node.js applicationWrite a CI workflow that builds, tests and deploys the serviceMigrate this docker-compose setup to Kubernetes manifests
12 / TROUBLESHOOTING
Find the root cause.
Read logs, profile slow endpoints, interpret stack traces and correlate what the system reports. Shell commands run on the runtime host, with the tools installed there, after your approval in Safe, the default mode.
Analyse these nginx error logs and find the cause of the 5xx spikeProfile the slow endpoint and find the query that blocks itCheck disk usage, inode count and open file handles on this server
13 / SECURITY
Review and harden.
Review firewall rules and SSH configuration, look for common web vulnerabilities in code and draft hardening checklists, on systems you are authorised to test.
Audit the SSH configuration: key-only authentication, no root loginCheck this codebase for XSS, CSRF and SQL injectionWrite a hardening checklist for a new Ubuntu 24.04 server
14 / COMPREHENSION
Understand unfamiliar code.
Trace data flow, explain design decisions and find where to start in a codebase you have never seen. Plan mode answers without editing.
Explain the authentication and authorisation flow in this codebaseTrace a request from the HTTP handler to the database and backI need to add a new notification type; where should I start?
15 / DATABASES
Schemas, migrations, queries.
Design schemas, write migrations, optimise slow queries and plan backups for PostgreSQL, MySQL, SQLite and others.
Design a schema for a multi-tenant application with the right indexesWrite a migration that adds a soft-delete column to the user-facing tablesOptimise this query that takes four seconds in production
16 / TESTING
Catch regressions.
Write unit, integration and end-to-end tests, set up runners and coverage thresholds, and run them in CI.
Write unit tests for this authentication middlewareAdd end-to-end tests for the checkout flow, happy path and edge cases
17 / DOCUMENTATION
Docs that match the code.
Write API references, runbooks, onboarding guides and decision records from the code itself.
Write a runbook for the payment service: common incidents and recoveryDocument the database schema with entity relationships
18 / FAMILY FINANCE
Know where the money goes.
Turn bank and card exports into a monthly budget, categorise spending, track debts and savings goals, and compare months. It works from the files you give it, such as exported statements, spreadsheets and scanned documents, and keeps the results as files you own.
Read the CSV exports in ~/finance/2026 and build a monthly budget by categoryWhich subscriptions am I paying for, and how much do they cost a year?Make a savings plan to put aside ₮3,000,000 for school fees by AugustCompare our household spending this quarter with last quarter and explain the differenceKeep a shared family expenses sheet and tell me who owes whom
19 / PAPERWORK
Forms, contracts and records.
Summarise contracts and letters, list deadlines, draft replies and keep household records in order. For legal or tax decisions it prepares the questions; a professional gives the answer.
Summarise this rental agreement and list every date and fee in itCollect this year's receipts from ~/scans into a table for the tax returnDraft a polite letter asking the insurer why my claim was refusedMake a checklist of the documents needed to renew a passport
20 / HOME
Run the household.
Plan maintenance, keep an inventory, estimate renovation costs and organise a move, as checklists and schedules you can keep.
Make a yearly maintenance schedule for the house: heating, filters, roof, carEstimate the materials and cost to repaint a 4 x 5 m roomPlan our move on 1 March: a week-by-week checklist and a box inventoryMake a weekly chores rota for four people that is fair
21 / FOOD AND HEALTH
Meals, training and habits.
Plan meals and shopping lists, build training plans and keep logs of sleep, weight or workouts. It is not a doctor; take medical questions to one.
Plan a week of dinners for a family of five under ₮150,000, with a shopping listMake a 12-week plan to run 10 km, three runs a weekRead my workout log and chart my progress for the last three monthsScale this recipe from 4 to 10 servings and convert it to grams
22 / LEARNING
Study anything.
Explain a topic at the right level, make quizzes and flashcards, plan a course of study and help children with homework by explaining, not just answering.
Explain compound interest to a 12-year-old with an example in tugrikMake 30 flashcards from these lecture notes and quiz mePlan three months of English study for the IELTS, an hour a dayCheck my child's maths homework and explain each mistake step by step
23 / WRITING
Say it clearly, in any language.
Draft emails, letters, CVs and speeches, translate between Mongolian, English and other languages, and edit for tone and length.
Translate this letter into English and keep it formalRewrite my CV for a project manager role and keep it to one pageWrite a short speech for my parents' 40th anniversaryMake this email shorter and friendlier
24 / TRAVEL AND EVENTS
Plan trips and occasions.
Build itineraries, budgets and packing lists, and plan weddings, birthdays and family gatherings with guest lists and timelines.
Plan five days in Seoul for two adults and two children, with a budgetMake a packing list for a winter trip to the countrysidePlan a birthday party for 30 guests: timeline, menu, shopping and tasksTrack RSVPs from this guest list and draft the reminder message
25 / SMALL BUSINESS
The office work of a small business.
Make invoices and price lists, track stock and customers, reconcile payments, write product descriptions and build a simple website. It works from the files you give it, such as exported statements, spreadsheets and scanned documents, and keeps the results as files you own.
Make invoices from this month's orders in orders.xlsxWhich products are running low? Read inventory.csv and list what to reorderReconcile these bank payments against the unpaid invoicesBuild a one-page website for my bakery with prices and opening hours
26 / DATA AND SPREADSHEETS
From a messy table to an answer.
Clean and merge spreadsheets, find duplicates, compute totals and trends, and draw charts and short reports.
Merge these three customer lists and remove the duplicatesChart monthly sales from sales.csv and describe the trendFind the rows in this sheet where the totals do not add up
27 / FILES AND PHOTOS
Put things where they belong.
Sort, rename and de-duplicate files and photos, find what fills the disk and set up backups. It asks before it moves or deletes anything in Safe mode.
Sort the photos in ~/Pictures into folders by year and month from their datesFind duplicate files over 100 MB in my home directorySet up a nightly backup of ~/Documents to the external disk and check it works
28 / HOME LAB
The server under the desk.
Set up a home server or NAS, media and file sharing, a VPN, Home Assistant and network monitoring, and keep them updated.
Install Jellyfin on this server with Docker and keep its data on /srv/mediaSet up WireGuard so I can reach my home network from my phoneWhy is the Wi-Fi slow in the bedroom? Check the router's logs and channelsBack up Home Assistant's configuration every week
29 / AUTOMATION
Let the computer do the routine.
Write scripts and scheduled jobs for chores you repeat: downloads, reports, reminders, file clean-ups and checks.
Every Monday at 9, email me a summary of last week's expensesWatch this folder and convert new scans to searchable PDFsCheck every hour that my website answers, and tell me when it does not
30 / RESEARCH AND DECISIONS
Think it through.
Summarise long documents, compare options against what matters to you and lay out pros, cons and costs before you decide.
Compare these three laptops for programming and battery life in a tableSummarise this 60-page report in one page with its key numbersShould we rent or buy? Model both over ten years with these numbers
COMPARED WITH CLAUDE CODE
mBm TUI (mbm2) and Claude Code.
Both are agents for your terminal. Where mbm2 goes further, it is in the models you can use, the team of agents around you and the way you pay.
| Topic | mbm2 | Claude Code | Who has it |
|---|---|---|---|
| Models | Any connected provider: the mBm gateway, OpenAI, Anthropic, Google, DeepSeek, Qwen, Kimi, GLM, MiniMax, xAI, Mistral, OpenRouter or a custom endpoint, with several accounts per provider | Claude models, through Anthropic, Amazon Bedrock or Google Vertex AI | mbm2 |
| Local models | A local Ollama is found at start with no setup; several Ollama machines are several accounts | Claude models only | mbm2 |
| Project knowledge base | /rag indexes the project into PostgreSQL with pgvector and adds the best matches, with their sources, to each prompt | Searches the files as it works and keeps CLAUDE.md memory; a vector index comes through an MCP server | mbm2 |
| Subagents and background work | Subagent tasks and background commands with notifications; a task can run in its own git worktree and merges on your approval | Subagents and background tasks | Both |
| Several agents as one team | Worker tabs on one team bus; a lead hands tasks to workers, each in its own git worktree, and you approve every merge; mbm2 send reaches your account's other mbm2s, on this computer or another, through the relay. Claude Code itself can be one of the tabs | Subagents that report to the main session | Both |
| Extensions | MCP servers, skills, plugins and slash commands | MCP servers, hooks, skills, plugins and slash commands | Both |
| Continue from a phone | /rc links the open session to your phone; «mbm code» at tui.mbm.mn/code lists every session of your machines and starts new ones; included with a paid licence, with no separate sign-in | Web and remote sessions | Both |
| Permission prompts | Reject lets the agent carry on, Reject & stop ends the turn; allow a rule for the session or keep it for the project; one prompt per decision; ask_timeout rejects an unanswered ask, never approving | Permission prompts with allow and deny rules | Both |
| Session steps and recap | The turn's steps above the prompt, the project work log in /todo and mbm2 todo, and a recap when you come back to a session that worked meanwhile | A todo list and a recap | Both |
| Upgrades | mbm2 upgrade in another terminal or /upgrade inside it; /restart keeps the tabs, sessions and unsent prompts while running turns finish | Automatic updates | Both |
| CI agents | mbm2 github and mbm2 gitlab answer /mbm comments in pipelines | GitHub Actions and GitLab integrations | Both |
| Paying | Yearly licences in US dollars, or in tugrik by QPay; team licences that pool tokens across their seats; an offline licence file | An Anthropic subscription or pay-as-you-go API usage | mbm2 |
Claude Code is a trademark of Anthropic. mbm2 is not affiliated with or endorsed by Anthropic. This comparison reflects public information as of 25 November 2026; mbm2's column links to its documentation.
NEXT STEP
Put it to work.
Start with the guide, keep permission decisions explicit, and inspect the result.
Your first session Need help?