eliza: Instructions file for Codex

AGENTS.md

eliza AGENTS.md is an instructions file for Codex, OpenCode from elizaOS/eliza. It costs 982 tokens per session, scanned A, original, MIT.

Repository instructions for elizaOS/eliza, a monorepo containing the Eliza agent framework and related applications, services, plugins, and documentation. A monorepo stores multiple related projects in one repository.

In plain words
What is it for?
Use them when modifying the ElizaOS repository, its packages, plugins, tests, documentation, or services.
Why use it?
They explain which instructions and files to read before changing the repository and help keep paired AGENTS.md and CLAUDE.md guides consistent.

Instructions file for CodexOpenCode

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

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

About the project

elizaOS is an open-source TypeScript framework and product stack for building and running autonomous AI agents. Developers use its runtime, application, command-line tool, cloud services, native bridges, and plugins to create agent-based software. The catalogue entries provide skills, commands, instructions, and rules for working with this monorepo and its agent ecosystem.

elizaOS/eliza · 19,774 stars · on GitHub · elizaresearch.ai

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/elizaos/eliza/agents-md"><img src="https://agentmods.dev/badge/instructions/elizaos/eliza/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 982 This file is loaded in full into every session.
When invoked 982 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.00982 $0.00982
Opus 5.5 $0.00393 $0.00393
Sonnet 5.5 $0.00196 $0.00196
Haiku 4.5 $0.00098 $0.00098

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

Security

Grade A, and why

eliza 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 25d 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 · 70 lines

How it starts

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

elizaOS

Monorepo for the Eliza agent runtime, application, cloud services, native bridges, benchmarks, and first-party plugins. Read CONTRIBUTING.md and the owning package's README.md before editing; manifests and source are authoritative. This root file is the only repository agent guide. Do not add nested AGENTS.md files.

[!IMPORTANT] The contribution rules are required for all issues and PRs. Report real bugs or missing approved MVP requirements. Link the PRD and MVP plan. Do not add features outside that scope. Human maintainers must discuss and approve new features, then add them to the PRD and MVP plan before implementation issues or PRs are opened. Maintainers will close unnecessary work and apply contributor penalties.

  • Human-only issue creation: Outside contributors must personally write the issue title and body and submit the issue by hand on the GitHub website. Agents must not write or create issues for contributors. Do not use an API, CLI, browser automation, or another agent to submit an issue. Human approval of an agent-written issue does not meet this rule. An agent that finds a problem must report it privately to the human in the current work session; the human decides whether to write and submit an issue.

  • Prove a useful improvement with before-and-after behavior or relevant scores. Prefer cleanup, removal, and reuse. Combine duplicate types and functions. Add new types or code only when necessary. Explain the research, alternatives, and reason for the chosen implementation.

  • Do not create work for minor points with no useful effect, unnecessary tests, defensive code, validation, or truncation. Preserve required safety boundaries.

  • Validate real behavior end to end and attach results for the reviewed commit. Use existing tests. Avoid new unit tests, mock-only proof, and tests that repeat the implementation. For documentation-only work, check the text and links.

  • Every UI PR must include an uploaded MP4 explainer and walkthrough with video evidence of the complete user flow, plus detailed steps to test the change.

  • Write all issues and PRs in ASD-STE100 Simplified Technical English. Use short, direct sentences, explain technical terms, and write for a non-technical reader.

  • Slop bounty work: star and fork the repository first and work from the fork. Use real LLM calls for evidence. Make no UI changes except broken-flow fixes with before-and-after video. Test in more than one agent client and record each client, version, provider, and model. Rules, environment variables, and the evidence checklist: Slop bounty contributions.

  • Preserve unrelated changes in this shared working tree.

  • Use pinned Bun 1.4.2 and Node 24.15.0, ESM, and the repository's Biome config.

  • Keep core independent of hosts; hosts compose assistant behavior, storage, and model providers. Validate untrusted input at boundaries.

  • Preserve authorization, tenant isolation, cancellation, and effect receipts. Throw typed errors; never fabricate success or hide failures as empty data. Use the structured logger and runtime.reportError for runtime diagnostics.

  • Keep model-facing context and recorded training data complete. Preserve the existing authorized source-selection/restoration contract; do not add silent truncation, summaries, or recency limits. Reject hard size limits explicitly.

  • Use the existing scheduler, entity/relationship stores, and content-addressed media store. Do not introduce parallel ownership or bypass SSRF guards.

  • Keep READMEs and agent guides short. Retain other Markdown only when consumed by runtime, build, tests, publishing, or required attribution. Generated reports belong in ignored repository-root test-results/, with one leaf per producer. Use packages/scripts/lib/test-output.ts for stable output paths.

  • Verify changed behavior with the owning package's tests, typecheck, and lint, then bun run verify. Validate documentation links for docs-only changes. UI changes require the app visual audit and desktop/mobile inspection.

  • Submit changes through a PR against develop. Report vulnerabilities privately through GitHub Security Advisories. The community plugin registry is retired; first-party catalog data lives in packages/core/src/catalog/.

Read the full file on GitHub · 70 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. 25d ago Changed · +5 lines · +95 tokens per session 9e970b4c089a
  2. 1mo ago Changed · +9 lines · +142 tokens per session 65b392c74fb0
  3. 1mo ago Changed · +22 lines · +308 tokens per session f223753471f7
  4. 1mo ago Changed · -455 lines · -5,476 tokens per session ff8a260ea748
  5. 1mo ago Changed · +6 lines · +39 tokens per session df8fae7f26f1
  6. 1mo ago Changed · +17 lines · +261 tokens per session cabd14870e7c
  7. 1mo ago Changed · +72 tokens per session 06931d1f6255
  8. 1mo ago Changed · +30 lines · +545 tokens per session 33ded53db455
  9. 2mo ago Changed · -50 lines · -901 tokens per session 50e02504beec
  10. 2mo ago First seen · 486 lines · 5,897 tokens per session scan A 8c3886754efd

Subscribe to this mod's changes

eliza AGENTS.md is an instructions file published in the GitHub repository elizaOS/eliza (19,774 stars, last pushed yesterday), licensed MIT. It adds 982 tokens to every session, about $0.0039 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

eliza AGENTS.md compared with instructions from other repositories

eliza AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
eliza AGENTS.mdelizaOS/elizaInstructions file20kyesterdayMITA982Codex, 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