Running Claude Code and Codex under org policy
Coding agents are the most capable AI tools most companies run, and often the least governed. Here is how to keep them on the laptop while bringing them inside your rules.

Run Claude Code and Codex under org policy by keeping the engines on the developer's Mac while routing work through a governed platform: local replies only in private chats, shell commands that wait for an approve or deny on the Mac, MCP access through revocable per-person tokens, and org rules on every tool call.
Why coding agents slip through governance
Coding agents run where developers work: on their own machine, with their own credentials, against their own checkouts. That is what makes them good. It is also why they rarely show up in an AI policy. Nobody approved the install, and nobody sees what they ran.
Pulling them into the cloud is often the wrong fix. Developers lose their local context, and the company now hosts code execution it did not want. A better pattern keeps the engine local and governs the edges: who can start it, where its answers go, and what it may run.
Keep the engine local
The Mac app adds models that run on your Mac: Claude Haiku, Sonnet and Opus through Claude Code, Codex and Grok. Codex and Grok run sandboxed but can read files, and the picker says so. Local engines answer in private one-to-one chats only, never in shared rooms.
A reply on a local model is one job for the owner's Mac: only the owner's own reply in a private chat, with no Bello Bot tools and no usage billing. A Claude Code session chat is bound to a folder on your Mac. Claude Code keeps its own context, so each run sends only what was typed since the last one, and a run that takes over 30 minutes is reported.
Local engines (Claude Code, Codex, Grok on your Mac) work in private one-to-one chats, not shared rooms. That limit is deliberate: a local engine has the run of a person's files, so its output stays in that person's own chat.
Make shell commands ask first
A bot's shell command on your Mac parks the reply until your Mac posts the result or you deny it there. If the Mac does not answer within 10 minutes, the command does not run and the bot says so.
A denied command comes back to the bot with an instruction not to retry it or route around it, and to tell you what it wanted to run and why. That one line matters more than it looks. A denied command that the model quietly retries a different way is not really denied.
Let coding agents use Bello Bot, on your terms
The other direction matters too. Bots connect to any MCP server, and Bello Bot is itself an MCP server for Claude Code, Cursor and similar tools. The Bello Bot MCP server offers tools to list bots and chats, read messages, send a message and wait for the reply, search, and read or add memory.
Bello Bot serves MCP at /mcp. A token acts as the person who made it, under the same rules as the API, pinned to one workspace, valid for a year, and listed and revocable in Settings, Sessions. Because the token acts as the person under the same rules as the API, a coding agent connected this way can never see more than its owner could.
What the developer sees
For the developer, the day barely changes. They pick a local model in a private chat, type what they want, and the engine works in their own checkout as it always has. The difference is at the edges. A shell command that a bot wants to run shows up on their Mac with the exact command and an Allow or Deny choice, and the decision goes back to the bot either way.
For the team lead, the difference is visibility. Local work happens in the same product as shared work, under the same org, so the rules, grants and audit trail that cover every other bot also cover the ones that write code.
Rules that fit engineering work
An argument match takes a path such as $.repo and a glob. The value at that path must match the glob. Admins can test a tool call against the current rules, and replay a draft rule over the org's last 200 tool calls to see what it would block, unblock or send for approval before saving it.
- Deny force pushes and branch deletion on protected repositories outright.
- Ask before merging, releasing or changing infrastructure.
- Allow read-only lookups such as searching issues and reading files.
- Ask for any tool call made from a shared room.
A setup checklist
- Install the Mac app on each developer machine and sign in to the org.
- Pick the local engines your team allows, and say which ones can read files.
- Create MCP tokens per person for the coding agents that should reach Bello Bot, and review them in Settings, Sessions.
- Start from the engineering MCP approval rules template and replay it against recent calls.
- Revisit denied commands monthly to tune rules that asked too often.
- Local Mac dev engine governance template
- The local device engine bridge, with a diagram
- Engineering MCP approval rules
Questions
Do Claude Code and Codex run in the cloud with Bello Bot?
No. They run on your Mac through the Bello Bot app, and replies come back to your private chat.
Can a local engine answer in a team room?
No. Local engines answer in private one-to-one chats only.
What happens if my Mac is asleep?
A shell command expires after 10 minutes without an answer, does not run, and the bot tells you.
Can I revoke a coding agent's access to Bello Bot?
Yes. MCP tokens are listed and revocable in Settings, Sessions.
Keep reading


The local device engine bridge
How a hosted app hands work to the Mac on your desk, and gets it back, without opening anything to the internet.


Local Mac AI coding engine governance
A copyable team policy for Claude Code, Codex and Grok on engineers' Macs: where they run, what they touch and how shell commands are approved.


Local coding agents on the Mac, governed next to cloud bots
How to govern local coding agents like Claude Code, Codex and Grok running on a Mac next to cloud bots: private-only chats, folder-bound sessions, shell commands that wait for the Mac, and clear labels.
Try Bello Bot with your team
Public beta. Bring your own model keys, invite your team, and approve what your bots do.