warren: Instructions file for Codex

AGENTS.md

warren AGENTS.md is an instructions file for Codex, OpenCode from jayminwest/warren. It costs 12,620 tokens per session, scanned A, original, MIT.

The main instruction guide for Warren, a system that runs AI coding agents as isolated workloads on infrastructure controlled by an operator. It explains the runtime, sandbox options, project settings, and Git delivery.

In plain words
What is it for?
Use it to understand agent adapters, run environments such as containers or Kubernetes pods, workspace branches, project configuration, and optional pull-request or tracker actions.
Why use it?
It gives agents the project's architecture and operating rules, including how runs are isolated, managed, recovered, and connected to Git workflows.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is jayminwest/warren's own configuration. It tells Codex and OpenCode how to work on warren itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything warren configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jayminwest/warren. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jayminwest/warren/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/jayminwest/warren

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for warren AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/jayminwest/warren/agents-md/github.svg)](https://agentmods.dev/instructions/jayminwest/warren/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/jayminwest/warren/agents-md"><img src="https://agentmods.dev/badge/instructions/jayminwest/warren/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for warren AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jayminwest/warren/agents-md"><img src="https://agentmods.dev/badge/instructions/jayminwest/warren/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12,620 This file is loaded in full into every session.
When invoked 12,620 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.12620 $0.12620
Opus 5.5 $0.05048 $0.05048
Sonnet 5.5 $0.02524 $0.02524
Haiku 4.5 $0.01262 $0.01262

Measured 28d ago against content hash e9b16346a84f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

warren AGENTS.md scanned grade A with 0 findings 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 28d ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 975 lines

How it starts

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

AGENTS.md

This file is the canonical instruction doc for AI coding agents working in this repo, following the agents.md convention. CLAUDE.md is a symlink to this file, so one document serves every harness and there is nothing to drift.

What this project is

Coding agents are tools. Warren turns them into infrastructure.

It runs agent harnesses as isolated workloads on infrastructure the operator controls. Warren owns the workspace, lifecycle, limits, events, intervention, recovery, and Git delivery.

AgentRuntimeAdapter keeps the kernel harness-neutral. A harness needs an adapter before the runtime can drive it. The current distribution ships Pi and Claude Code adapters.

Runtime providers place each run in a local bwrap sandbox on Linux or sandbox-exec sandbox on macOS, a sibling Docker container, or a Kubernetes pod.

The kernel guarantees a pushed workspace branch. Project settings can add PR creation and tracker reactions around that boundary.

The fresh-install path is standalone. A user with a GitHub URL and the model credential for a shipped harness can dispatch a run end-to-end with no other os-eco tooling. Around that kernel, two os-eco data-plane tools integrate as opt-in features, not required infrastructure.

  • mulch — persistent agent memory across runs. Activated by a .mulch/ directory in the project.
  • seeds — the integrated issue queue agents read from and write to. Activated by a .seeds/ directory. Seeds is implementation #1 of the IssueTracker seam (src/tracker/contract.ts), with external trackers reachable through the RemoteTracker bridge — see docs/design/issue-tracker.md.

The agent registry is entirely inline. BUILTIN_AGENTS (src/registry/builtins/) ships seven agents and boot seeds them into the agents table on every start: claude-code, pi, planner, nightwatch, bugwatch, pr-fixer, and healer. There is no external agent library. GET /agents still reports source: "builtin" | "library" provenance. The library arm survives only for legacy rows.

Read the full file on GitHub · 975 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. 28d ago Changed · +56 lines · +958 tokens per session e9b16346a84f
  2. 29d ago Changed · +85 lines · +1,267 tokens per session d4d9f940f3a4
  3. 1mo ago Changed · +5 lines · +99 tokens per session 1e616adc9b3a
  4. 2mo ago Changed · +5 lines · +88 tokens per session 5a6ec16ef3f6
  5. 2mo ago Changed · +2 lines · +34 tokens per session d63b6431f5db
  6. 2mo ago First seen · 822 lines · 10,174 tokens per session scan A c0cc40ae2db7

Subscribe to this mod's changes

warren AGENTS.md is an instructions file published in the GitHub repository jayminwest/warren (513 stars, last pushed 7d ago), licensed MIT. It adds 12,620 tokens to every session, about $0.0505 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

warren AGENTS.md compared with instructions from other repositories

warren AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
warren AGENTS.mdjayminwest/warrenInstructions file5137d agoMITA12,620Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode