agentic-harness: Instructions file for Codex

AGENTS.md

agentic-harness AGENTS.md is an instructions file for Codex, OpenCode from frangelbarrera/agentic-harness. It costs 1,211 tokens per session, scanned A, original, Apache-2.0.

A set of contribution instructions for Agentic Harness, an open-source Python tool for coordinating AI agents. It explains the project structure, rules, coding standards, and commit practices.

In plain words
What is it for?
Guiding development, testing, reviews, and maintenance work in the Agentic Harness codebase.
Why use it?
It gives coding agents the project-specific context and constraints they need before changing the repository.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md; built for cline.

This is frangelbarrera/agentic-harness's own configuration. It tells Codex and OpenCode how to work on agentic-harness 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 agentic-harness configures →

Reuse

Borrowing it

Nothing to install: this file belongs to frangelbarrera/agentic-harness. 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/frangelbarrera/agentic-harness/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/frangelbarrera/agentic-harness

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 agentic-harness AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/frangelbarrera/agentic-harness/agents-md/github.svg)](https://agentmods.dev/instructions/frangelbarrera/agentic-harness/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/frangelbarrera/agentic-harness/agents-md"><img src="https://agentmods.dev/badge/instructions/frangelbarrera/agentic-harness/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 agentic-harness AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/frangelbarrera/agentic-harness/agents-md"><img src="https://agentmods.dev/badge/instructions/frangelbarrera/agentic-harness/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,211 This file is loaded in full into every session.
When invoked 1,211 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.01211 $0.01211
Opus 5.5 $0.00484 $0.00484
Sonnet 5.5 $0.00242 $0.00242
Haiku 4.5 $0.00121 $0.00121

Measured 2mo ago against content hash 2857d932f649, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agentic-harness 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 2mo 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 · 94 lines

How it starts

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

AGENTS.md — System prompt for AI coding agents contributing to Agentic Harness

You are contributing to Agentic Harness, an open-source agent harness for Python.

Project Context

Agentic Harness is NOT a framework. It is a harness — the control layer that lets developers orchestrate AI agents without surrendering their prompts, context, model choice, or budget. Read MANIFESTO.md for the full philosophy.

Architecture in 30 seconds

  • Thread: append-only event log (mutates in place for O(1) performance). State = reduce(events).
  • Specialist: pre-built role-based agent (12 total: planner, coder, reviewer, tester, debugger, researcher, security-auditor, devops-engineer, data-scientist, product-manager, market-analyst, cost-estimator).
  • Playbook Library: 13 domain templates (mobile_app, osint, financial_analysis, ...) + a TaskRouter that classifies natural-language requests into a domain without an LLM call.
  • Playbook: YAML manual compiled to a DAG of steps. Each step invokes a specialist or tool. Steps can declare a review: config for actor-critic iterative refinement.
  • Executor: walks the DAG, applies middleware (cost guard + verification + token optimizer), runs review loops when configured.
  • MCP server: exposes playbooks as tools for Claude Desktop, Cursor, Cline, Zed.

Non-negotiable rules (from MANIFESTO.md)

  1. No vendor-only features as first-class APIs. If it only exists in OpenAI or only in Anthropic, it is a leak, not a feature.
  2. No classes named Runnable, Chain, Workflow, or Agent. Composition = functions.
  3. Token counter is on by default. If you don't know what you spent, you didn't ship.
  4. No hosted version. Ever. If you add code that requires Agentic Harness Cloud, you're breaking the manifesto.
  5. No hidden prompts. Every prompt sent to an LLM is a file on disk.
  6. No magic. If a line does something you can't explain, it's a bug.
  7. No API keys in code. Read from env. Never log. Never store.

Read the full file on GitHub · 94 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. 2mo ago First seen · 94 lines · 1,211 tokens per session scan A 2857d932f649

Subscribe to this mod's changes

agentic-harness AGENTS.md is an instructions file published in the GitHub repository frangelbarrera/agentic-harness (10 stars, last pushed 4d ago), licensed Apache-2.0. It adds 1,211 tokens to every session, about $0.0048 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-31.

Related

agentic-harness AGENTS.md compared with instructions from other repositories

agentic-harness AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agentic-harness AGENTS.mdfrangelbarrera/agentic-harnessInstructions file104d agoApache-2.0A1,211Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k2d agoMITA4,313Codex, OpenCode