openworker

openworker is an agent for coding agents from openagents-org/openagents. It costs 0 tokens per session (2,657 once invoked), scanned A, original, Apache-2.0.

OpenWorker (source) run as an OpenAgents agent.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/openagents-org/openagents/openworker
Clone the repo
git clone --depth 1 https://github.com/openagents-org/openagents

Wrote this? Show the measurements

A badge for your README with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them.

agentmods badge for openworker

README.md
[![agentmods](https://agentmods.dev/badge/agents/openagents-org/openagents/openworker.svg)](https://agentmods.dev/agents/openagents-org/openagents/openworker)
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,657 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.02657
Opus 5 $0.00000 $0.01328
Sonnet 5 $0.00000 $0.00531
Haiku 4.5 $0.00000 $0.00266

Measured yesterday against content hash 16ebd6b543b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

openworker scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

tool the agent does not have is how a model ends up printing curl commands as
docs/agents/openworker.md · 198 lines

How it starts

The opening of the file, as written. The whole thing — 198 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenWorker

OpenWorker (source) run as an OpenAgents agent.

OpenWorker is the odd one out in this catalog. Every other agent here is a terminal program with a headless mode — claude -p, dsh --profile headless, command-code -p --output-format json. OpenWorker has no such mode. Its openworker command is a Textual TUI that exits with the terminal, and its GUI is a Tauri shell. The only programmable surface is openworker-server: a FastAPI process that speaks REST for state and one WebSocket per session for turns.

So OpenAgents runs the server itself. Nothing about that is visible in the workspace — you add the agent, give it a model key, and it answers messages — but it is the fact that explains every design decision below.


What the adapter does

openworker-server --host 127.0.0.1 --port <free> --cwd <working dir> --model <provider:model> --mode bypass-approvals
  1. preflight() runs before the daemon joins the workspace and resolves openworker-server. No server, no join — with the install command instead of a poll loop that cannot succeed.
  2. On the first message the adapter provisions a private state directory, mints a launch token, picks a free loopback port, and starts one server. Every channel of that agent shares it; booting the server imports FastAPI, uvicorn and three model SDKs, which is not a cost worth paying per message.
  3. For each message it opens ws://127.0.0.1:<port>/ws/session/<id>, sends one user_message frame, and reads events until turn_done.
  4. The socket closes after the turn. Session state lives on the server, keyed by an id derived from the channel, so a channel keeps its history across daemon restarts without idle sockets being held open.

Authentication of the local socket

The server gates both surfaces on a launch token. OpenAgents supplies its own through COWORKER_API_TOKEN rather than letting the server write a sidecar-<port>.token file, so there is no file to race with, leak or clean up.

Read the full file on GitHub · 198 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 198 lines · 0 tokens per session scan A 16ebd6b543b9

Subscribe to this mod's changes

openworker is an agent published in the GitHub repository openagents-org/openagents (4,029 stars, last pushed 2d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,657 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-02.