operator-oss
AGENTS.md210 starsChanged 4 months agoApache-2.0View on GitHub
Operator supports Claude Code and OpenAI Codex as first-class task agents. You can connect either one or both, choose a default, and override the agent for an individual task. Connecting either agent completes first-run setup and makes it the initial default. The app never requires Claude when only Codex is connected, or vice versa. Project recaps, context drafts, and other utility jobs prefer a connected agent automatically. The recommended path is the subscription login offered by the first-run wizard or…
- Reads credentials
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,337 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
We split this AGENTS.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
If you intentionally want API-key billing, connect a key in the app or set ORCH_ALLOW_API_KEY_ENV=1 for a deliberately configured headless …
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Supported agents
Operator supports Claude Code and OpenAI Codex as first-class task agents. You can connect either one or both, choose a default, and override the agent for an individual task.
Support matrix
| Agent | Authentication | Task support | Notes |
| Claude Code | Max/Pro login or optional API key | Full | Reference driver; supports interactive questions and reported cost data |
| OpenAI Codex | ChatGPT login or optional API key | Full | Supports interactive questions through Operator's bridge; estimated cost data |
Connecting either agent completes first-run setup and makes it the initial default. The app never requires Claude when only Codex is connected, or vice versa. Project recaps, context drafts, and other utility jobs prefer a connected agent automatically.
Authentication and billing
The recommended path is the subscription login offered by the first-run wizard or
Settings → Agents. Subscription turns consume plan quota and have no marginal API
charge. Operator removes stray ANTHROPIC_API_KEY and OPENAI_API_KEY values from its
launch environment by default so an inherited shell variable cannot silently switch a
session to API billing.
If you intentionally want API-key billing, connect a key in the app or set
ORCH_ALLOW_API_KEY_ENV=1 for a deliberately configured headless environment.
Claude Code
Claude Code is the reference driver and the first target for new agent-facing features.
It supports parallel tasks, resume and /clear lineage, interactive questions, project
context, diff workflows, and usage reporting.
Task sessions run unattended inside their isolated worktrees. Operator is a control layer, not an additional security sandbox; review the security model before exposing an instance.
Models and reasoning effort
Operator doesn't keep its own model names or reasoning levels. When an agent is
connected it asks the installed CLI for its model list (Claude Code's model list, Codex's
model/list) and shows each model and each reasoning effort exactly as the CLI names
it: low, medium, high, xhigh, max (plus ultra on Codex models that offer it).
The effort picker follows the task's model, so it only offers levels that model accepts
(Codex also shows the model's own default). Models without an effort setting, like Haiku,
hide the picker. If a task keeps a level its new model doesn't support, the turn uses the
CLI's default instead of failing. The list is cached for an hour and refreshes when the
CLI, its config or the login changes. A built-in list is used only until the first
successful discovery.
OpenAI only lists new Codex models to recent CLI versions, so Operator keeps its Codex CLI
current: unless CODEX_CLI_PATH pins a binary, it checks npm for the latest
@openai/codex at most every 6 hours, installs it under $ORCH_DB_DIR/codex-cli, and runs
whichever is newer, that copy or the bundled one, for turns, model discovery and login.
Set ORCH_CODEX_AUTO_UPDATE=0 to turn this off.
Amazon Bedrock
Claude can instead run entirely through Amazon Bedrock. Configure the normal AWS
credential chain (or AWS_BEARER_TOKEN_BEDROCK), set CLAUDE_CODE_USE_BEDROCK=1 plus an
AWS region, restart Operator, then choose Amazon Bedrock → Verify under
Settings → Agents. Docker Compose forwards the documented Bedrock/AWS variables and
persists ~/.aws; see .env.example. Operator uses one Claude provider
per instance, so Bedrock and a Claude subscription are not mixed within the same instance.
On Bedrock the model picker offers the aliases your AWS config maps
(ANTHROPIC_DEFAULT_OPUS_MODEL etc.) plus a custom-model field for Bedrock ids and
inference-profile ARNs, and when your setup uses AWS IAM Identity Center (SSO), an expired
session is refreshed from the UI with a click-to-approve device link — no shell needed.
Full walkthrough: Bedrock instructions.
OpenAI Codex
Codex supports parallel tasks, diff review and merge, /clear lineage, project context,
interactive questions, and usage tracking. Operator supplies interactive questions through
its MCP bridge because the upstream non-interactive CLI does not provide that hook itself.
The task model picker includes GPT-6 Astra; whether a selected model can run still depends
on its availability for the connected ChatGPT account, workspace, and Codex rollout.
Two upstream differences are visible:
- ChatGPT-plan authentication reports tokens but not dollar cost, so Operator estimates
the API-price equivalent and marks it with
~. - The non-interactive CLI cannot pause an active turn for a command-approval prompt.
Operator therefore offers Auto-run and read-only Plan modes for Codex rather than a
mid-turn approval mode, and asks Codex not to require approvals
(
approval_policy=never). If an enterprise-managed Codex configuration disallows that, Operator detects the CLI's downgrade warning on the first affected turn and switches itself to the compatibleon-requestpolicy automatically — the failed turn gets a one-click Retry.CODEX_APPROVAL_POLICYremains the manual override.
Adding another agent
The app is agent-agnostic behind a small driver interface. A new driver supplies normalized stream events and a capability descriptor; shared routing, transcripts, task state, and UI controls consume that contract.
See Architecture: the agent-driver seam for the implementation guide. Proposals for another agent are welcome in GitHub Discussions.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

