agora AGENTS.md

agora AGENTS.md is an instructions file for Codex, OpenCode from CopperEagle/agora. It costs 3,091 tokens per session, scanned A, original, MIT.

A project instruction file for Agora, a Python server that lets multiple coding agents coordinate through shared tools and a database.

In plain words
What is it for?
Use it when changing Agora's plugins, MCP tools, SQLite-backed coordination features, or unit tests.
Why use it?
It tells agents which design documents to read, which technologies the project uses, and how code and tests must be written.

Instructions file for CodexOpenCode

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 instructions/coppereagle/agora/agents-md
Clone the repo
git clone --depth 1 https://github.com/CopperEagle/agora

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 agora AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/coppereagle/agora/agents-md.svg)](https://agentmods.dev/instructions/coppereagle/agora/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/coppereagle/agora/agents-md"><img src="https://agentmods.dev/badge/instructions/coppereagle/agora/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,091 This file is loaded in full into every session.
When invoked 3,091 The same file — it is already loaded in full.
Security scan A 0 findings. 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.03091 $0.03091
Opus 5 $0.01545 $0.01545
Sonnet 5 $0.00618 $0.00618
Haiku 4.5 $0.00309 $0.00309

Measured 3d ago against content hash 71f2a94fd44a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agora 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 3d 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 · 288 lines

How it starts

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

AGENTS.md — The Agora

Overview

The Agora is a plugin-based MCP coordination server. A lightweight Python backbone loads plugins (Chat, Board, Log, Memory, Lock/Signal) that provide tools for multi-agent collaboration via SQLite-backed MCP endpoints.

All design documents live in the reference/ directory. Read these before writing any code:

  • reference/META.md — vision, why MCP, name origin
  • reference/ARCHITECTURE.md — plugin API, backbone responsibilities, startup sequence
  • The relevant reference/NNN-*.md task file(s) for what you're implementing
  • reference/CONVENTIONS.md — capability vocabulary, manifest standards
  • reference/AGENTS.md — this file (coding standards, testing, workflow)

Technology Decisions (Settled)

Decision Choice Rationale
Language Python 3.12+ Simple plugin model (import + class), mature SQLite ecosystem (sqlite-vec, apsw), pytest for testing
MCP Framework FastMCP Clean tool definition, built-in schema validation, stdio + Streamable HTTP support
Database SQLite with WAL mode (via apsw) Zero infrastructure, concurrent reads+writes, sqlite-vec for vector search later
Testing pytest + pytest-asyncio Standard for Python async servers, rich fixture system
Linting ruff Fast, covers flake8 + isort + pyupgrade, single dependency
Type Checking mypy (strict) Catch type errors before runtime
Packaging uv (or pip) Simple single-package install, no build step
Virtual Environment ./venv/ (in project root) Must use this exact path. All commands assume source venv/bin/activate. Never use system Python or a differently-named venv.

Architecture Constraints

These must never be violated:

  1. Backbone never calls an LLM. That's plugin territory. The backbone owns transport, identity, routing, and plugin lifecycle. No exceptions.
  2. Every tool call is authenticated. The backbone rejects unregistered agents before routing to any plugin.
  3. Plugins own their tables. Plugin A cannot read Plugin B's database tables directly. Communication is via the event bus only.
  4. Tool names are prefixed. chat_, board_, log_, mem_, lock_, signal_. No prefix collisions.
  5. The event bus is in-process (not MCP). Plugins emit and subscribe to Python events. No serialization overhead.
  6. The database is single-file. One agora.db with WAL mode. No separate log database. No external vector database in v1.

Read the full file on GitHub · 288 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. 3d ago First seen · 288 lines · 3,091 tokens per session scan A 71f2a94fd44a

Subscribe to this mod's changes

agora AGENTS.md is an instructions file published in the GitHub repository CopperEagle/agora (1 stars, last pushed 1mo ago), licensed MIT. It adds 3,091 tokens to every session, about $0.0155 per session on Opus 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.