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
OpenHands/software-agent-sdk, the agent loop of the OpenHands coding agent

Its 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.

171 seats (95 rule, 76 ruling; 4 held by a person) · 56 gaps found in this edition (12 flagged as stated design) plus 14 carried from the first edition · read at commit aae9c437, 2026-10-06
Cline
cline/cline, the Cline agent: its SDK, CLI, hub and VS Code extension

116 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.

116 seats (52 rule, 64 ruling; 13 held by a person) · no gap report in this edition · read at commit d19f176b, 2026-11-02
opencode
anomalyco/opencode, the opencode coding agent: its core, CLI, server and terminal interface

Its 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.

125 seats (65 rule, 60 ruling; 12 held by a person) · no gap report in this edition · read at commit 0093fe57, 2026-10-24
pi
earendil-works/pi, the pi coding agent: its command-line agent, agent loop, model layer, code mode and MCP client

pi 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.

111 seats shown (45 rule, 66 ruling; 9 held by a person) · no gap report in this edition · read at commit 1ce44bed, 2026-10-28
agno
agno-agi/agno, the agno framework's Agent: its run loop, tools, model layer, hooks and guardrails, memory, knowledge and learning, plus teams and workflows

By 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.

115 seats shown (33 rule, 82 ruling; 4 held by a person) · no gap report in this edition · read at commit 9153aacd, 2026-10-29
AnythingLLM
Mintplex-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 providers

In 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.

110 seats shown (57 rule, 53 ruling; 14 held by a person) · no gap report in this edition · read at commit d7d68e75, 2026-10-15
browser-use
browser-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 judgment

browser-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.

85 seats shown (24 rule, 61 ruling; 1 held by a person) · no gap report in this edition · read at commit b49a68e4, 2026-10-29
OpenAI Codex
openai/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 feedback

Of 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.

158 seats shown (73 rule, 85 ruling; 10 held by a person) · no gap report in this edition · read at commit a5c40924, 2026-11-02
goose
aaif-goose/goose, the goose agent: its core crates, CLI, built-in extensions and desktop app

Of 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.

89 seats shown (44 rule, 45 ruling; 7 held by a person) · no gap report in this edition · read at commit cfb67d72, 2026-11-02
DeerFlow
bytedance/deer-flow, the DeerFlow agent harness: its Python harness package and the gateway, channel and scheduler code that answers the harness's requests

Of 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.

118 seats shown (62 rule, 56 ruling; 5 held by a person) · no gap report in this edition · read at commit 14abd9a2, 2026-11-02
LangChain
langchain-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 middleware

By 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.

89 seats shown (45 rule, 44 ruling; 3 held by a person) · no gap report in this edition · read at commits efebcf50 (2026-11-02) and ee3c043b (2026-11-01)
Hermes Agent
NousResearch/hermes-agent, the Hermes agent and the judgments it makes while running, with its messaging platform adapters read as one family

With 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.

279 seats shown (107 rule, 172 ruling; 26 held by a person) · no gap report in this edition · read at commit b200f5bc, 2026-11-03

Make 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

Corrections are welcome through the correction form. A wrong sentence about someone else's code is the worst bug a map can have.

Quotations from code in each map belong to the mapped project and keep its licence, which each map names. Source for this page: github.com/u00dxk2/agent-ops-patterns.