agent-ops-patterns / gallery
Who decides what inside open-source agents
Each map takes one open-source agent system and lists the recurring judgments it found there, each as a seat: the question the judgment answers and who holds it (code, a model, or a person). Seats are sorted rule vs ruling and human vs machine. The OpenHands map also records how each seat has failed and what checks it where the mapping found them, identifies the prompt pieces and assembly paths found in the mapped source for the seats a model holds, quotes prompt source text on 14 of its cards (each quote linked to the lines it came from), and has a report of the gaps the mapping exposed. The other eleven are shorter editions with no gap report, and each says what it leaves out.
The method is "Cognitive Operations Maps".
The maps
OpenHands/software-agent-sdk, the agent loop of the OpenHands coding agentIts goal judge reads "complete": "false" as complete, because in Python bool("false") is True. We reproduced it with a failing test and reported it as #5492, which the project has labelled ready-for-dev. Two outside contributors have since opened fix PRs, #5493 and #5563 (one a draft); neither is merged yet (checked 2026-11-08). All the gaps →
The short version: how OpenHands decides, nine of its judgments and three of its problems on one page.
aae9c437, 2026-10-06cline/cline, the Cline agent: its SDK, CLI, hub and VS Code extension116 of its recurring judgments, each with its question, how it is answered and where in the code it is held. There is no list of gaps. What this edition does not have →
The short version: how Cline decides, eight of its judgments and three problems on one page.
d19f176b, 2026-11-02anomalyco/opencode, the opencode coding agent: its core, CLI, server and terminal interfaceIts Plan agent is described in code as a "Read-only agent", but the one rule it adds blocks only file edits outside its plan folder; with the default rules, a shell command, helper agent or MCP tool that changes files is held back only by an instruction to the model. Its security page says the permission system "is not designed to provide security isolation". There is no list of gaps in this edition. What this edition does not have →
The short version: how opencode decides, twelve of its judgments and three problems on one page.
0093fe57, 2026-10-24earendil-works/pi, the pi coding agent: its command-line agent, agent loop, model layer, code mode and MCP clientpi ships no approval prompt for tool calls: out of the box, no one is asked before a tool runs. Its security page says the coding agent "intentionally does not have a sandbox". One decision is left out of this edition, and there is no list of gaps. What this edition does not have →
The short version: how pi decides, twelve of its judgments and three problems on one page.
1ce44bed, 2026-10-28agno-agi/agno, the agno framework's Agent: its run loop, tools, model layer, hooks and guardrails, memory, knowledge and learning, plus teams and workflowsBy default, an ordinary agno agent runs valid tool calls without asking anyone, unless the developer sets that tool to pause the run or adds agno's ask-the-person tools. When one call in a turn pauses, the model's other calls in that turn still run. Three decisions are left out of this edition, and there is no list of gaps. What this edition does not have →
The short version: how agno decides, twelve of its judgments and three problems on one page.
9153aacd, 2026-10-29Mintplex-Labs/anything-llm, the AnythingLLM server's agent and chat decisions: its agent loop and tools, chat and agent endpoints, retrieval and memory, agent flows, MCP bridge, scheduled jobs, Telegram bot and model providersIn the web chat, when an agent tool asks for approval, AnythingLLM first checks an operator's pre-approved list and the person's "always allow" list, and shows the person an approval card only if neither covers the skill. On the developer API, a tool that needs approval and is on neither list is denied. Seven decisions are left out of this edition, and there is no list of gaps. What this edition does not have →
The short version: how AnythingLLM decides, ten of its judgments and three problems on one page.
d7d68e75, 2026-10-15browser-use/browser-use, browser-use's Agent at its defaults: its step loop, what the model sees, the actions it can take, the browser session's watchdogs, limits and the final judgmentbrowser-use runs the actions the model picks as soon as they are parsed: nobody approves a form submit, a purchase or a page script unless the developer adds a check in their own code. Five decisions are left out of this edition, and there is no list of gaps. What this edition does not have →
The short version: how browser-use decides, twelve of its judgments and three problems on one page.
b49a68e4, 2026-10-29openai/codex, the Rust agent in codex-rs/: intake and routing, what the model sees, its next move, approvals, execution, limits and memory, judging results, delegation and feedbackOf the 158 judgments shown, 10 are held by a person, and six of those are approval questions: run this command, reach this network host, apply these file changes, grant extra permissions, run again without the sandbox, or install a skill's MCP servers. Eight decisions are left out of this edition, and there is no list of gaps. What this edition does not have →
The short version: how OpenAI Codex decides, ten of its judgments and three problems on one page.
a5c40924, 2026-11-02aaif-goose/goose, the goose agent: its core crates, CLI, built-in extensions and desktop appOf the 89 judgments shown, 7 are held by a person, and three of those are the person's answer to "may this tool call run?": in the desktop app, in the terminal and in a paired chat. 15 decisions are left out of this edition, and there is no list of gaps. What this edition does not have →
The short version: how goose decides, ten of its judgments and three problems on one page.
cfb67d72, 2026-11-02bytedance/deer-flow, the DeerFlow agent harness: its Python harness package and the gateway, channel and scheduler code that answers the harness's requestsOf the 118 judgments shown, 5 are held by a person: whether the sandbox may reach a host outside its allowlist, the answer to the agent's own questions, a thumbs up or down on a run, which saved memories are right, and whether a run in progress should stop. 17 decisions are left out of this edition, and there is no list of gaps. What this edition does not have →
The short version: how DeerFlow decides, nine of its judgments and three problems on one page.
14abd9a2, 2026-11-02langchain-ai/langchain with langchain-ai/langgraph, an agent built with create_agent at its defaults and the LangGraph runtime that runs it, with its opt-in middlewareBy default, nobody is asked before an agent built with LangChain's create_agent runs a tool the model called; review happens only if the developer adds a stop, such as the human-in-the-loop middleware. 3 decisions are left out of this edition, and there is no list of gaps. What this edition does not have →
The short version: how LangChain decides, ten of its judgments and three problems on one page.
efebcf50 (2026-11-02) and ee3c043b (2026-11-01)NousResearch/hermes-agent, the Hermes agent and the judgments it makes while running, with its messaging platform adapters read as one familyWith a run budget set, Hermes can warn near the end, but the setting does not itself stop the run when the time is up. All 279 cards are shown, and there is no list of gaps. What this edition does not have →
The short version: how Hermes Agent decides, eight of its judgments and three problems on one page.
b200f5bc, 2026-11-03Make a map of your own system
The skill that builds one is skills/cog-ops-map/. In Claude Code:
claude plugin marketplace add u00dxk2/agent-ops-patterns
claude plugin install agent-ops-skills@agent-ops-patterns
Or copy the folder; it is in the Agent Skills format.
How to read one
Each map is one self-contained HTML file with no external requests. The links above open it in your browser; the files are also in the repository's gallery/ folder if you would rather download one. The OpenHands map has a "Download .md" button that exports its seat cards and gap report as Markdown, if you'd rather hand it to your own assistant.
What a map is, and is not
- Not exhaustive. Each map names the parts of the system it covered and how its seats were found; a judgment outside those, or in a helper nobody opened, is not on it.
- A snapshot. It describes the code at the commit it names. The project keeps moving, so a cited line number can stop pointing at what it describes; each map says which parts were checked at which commit.
- A reading, mostly. Each gap says whether it was reproduced with a test or read from the source. Most are readings of code paths, not observed failures.
- Not a security audit, and not a verdict on the project. The maps describe behaviour. Where a project's own docstring states a choice, the map quotes or cites it.
- Shared with the project first. Where a map publishes a finding that was reproduced, it was reported to the project in public before or alongside the map, and the map names the report by issue number.
Corrections are welcome through the correction form. A wrong sentence about someone else's code is the worst bug a map can have.