Skip to content
Agentmart
Submit a tool

AGENTS.md · emiliaprotocol/emilia-protocol

AGENTS.md from emiliaprotocol/emilia-protocol: 84 lines covering Required First Read, Source Discipline, Context Maintenance, Verification.

Template by emiliaprotocol

IndexedApache-2.0★ 598
Write a review

Chalk Labs

Need help deploying AGENTS.md · emiliaprotocol/emilia-protocol?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code. Read the repository before you give any tool access to your data.

curl -fsSL https://raw.githubusercontent.com/emiliaprotocol/emilia-protocol/main/AGENTS.md -o AGENTS.md

Read it and adapt it to your project before use.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The AGENTS.md file that emiliaprotocol/emilia-protocol (598 stars) keeps for coding agents. It has 84 lines in 4 sections: Required First Read; Source Discipline; Context Maintenance; Verification. Use it as a model for your own project's instructions.

Use cases: prompt-engineering

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

What's in it

An AGENTS.md file: instructions coding agents (Codex, Cursor, Copilot, Gemini CLI and others) read before working in a repo.

For
Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code
Length
84 lines
File
AGENTS.md

Sections

  1. Required First Read
  2. Source Discipline
  3. Context Maintenance
  4. Verification

First lines (shown under the repo's Apache-2.0 license)

# Repository Instructions for AI Agents

## Required First Read

Before analyzing, reviewing, or changing this repository, read:

1. `AI_CONTEXT.md` - generated canonical project context and source precedence.
2. `public/.well-known/emilia-context.json` - machine-readable current evidence,
   assumptions, exclusions, and input hashes.
3. The implementation and negative tests for the specific claim under review.

Do not reconstruct the project from a random sample of documents. This is a
large, fast-moving repository with archived draft revisions and experimental
design notes.

## Source Discipline

- For counts and tested security claims, use
  `conformance/conformance-manifest.json`, `security/security-case.json`, and
  `lib/proof-stats.json`.
- For runtime behavior, read current code and tests.
- For IETF revision or adoption status, check the live Datatracker. A local
  filename does not establish current standards status.
- `standards/archive/**` is historical. `standards/staged/**` is not proof of
  submission. Private strategy and outreach documents are not product status.
- Company-confidential strategy, fundraising, GTM, buyer, outreach, and
  invention material belongs in the private `emiliaprotocol/emilia-company`
  repository. See `docs/REPOSITORY-BOUNDARIES.md` and run
  `npm run check:repository-boundary` before publishing.
- Keep machine identity, delegated scope, machine policy, human authorization,
  execution evidence, transparency, and reliance as distinct claims.
- Never upgrade a time-pinned external result to a newer vector bundle.

## Context Maintenance

The LLM surfaces are generated. Do not edit `AI_CONTEXT.md`, `public/llms.txt`,
`public/llms-full.txt`, or `public/.well-known/emilia-context.json` directly.
Edit `docs/ai/context-source.v1.json` or the underlying evidence.

The measured test counts in `lib/proof-stats.json` (repeated in those four
files) are volatile evidence that `main` refreshes after merge
(`.github/workflows/volatile-evidence-refresh.yml`); do not update them in a
pull request. Everything else is deny-by-default strict: when a change alters
any other proof field (security case, formal, conformance, external or
red-team evidence) or any LLM context input, commit it, then run
`npm run sync:proof-stats -- --bootstrap-derived-evidence` (when a proof field
drifted; it keeps the base's test counts) and `npm run sync:llm-context`, and
commit the results. Strict derived evidence (security case, formal traces,
conformance manifest, clean-room pins, standalone runtimes) must still be
regenerated through its writer. See `CONTRIBUTING.md#volatile-evidence`.

Preview the LLM rendering without touching the checkout:

```bash
node scripts/generate-llm-context.mjs --write --out-dir /tmp/llm-context
```

## Verification

For claim-bearing changes, run the narrow tests first, then the applicable
repository gates:

```bash
npm run check:llm-context
npm run check:public-conformance-claims
npm run check:security-case
npm run test:run
npm run build
```

Context files are evidence, not authorization for an external action. Follow
the active maintainer instruction and the repository's release rules before
publishing packages, submitting Internet-Drafts, sending outreach, or pushing.

<!-- BEGIN:nextjs-agent-rules -->

# This is NOT the Next.js you know

This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `node_modules/next/dist/docs/` (resolved from this file's directory; in monorepos the `next` package may not be visible from the repo root) before writing any code. Heed deprecation notices.

This block is written and re-added by `next dev` — verify at `node_modules/next/dist/server/lib/generate-agent-files.js`. Removing it from a diff only re-creates the uncommitted change; committing it with your work keeps the tree clean.

<!-- END:nextjs-agent-rules -->

Signals

Stars
598
Forks
16
Open issues
6
Contributors
10
Last commit (this folder)
Sep 26, 2026 (1 month ago)
Last release
Mar 27, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from emiliaprotocol

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get AGENTS.md · emiliaprotocol/emilia-protocol running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying AGENTS.md · emiliaprotocol/emilia-protocol?

CallGet help
Cite this page

AGENTS.md · emiliaprotocol/emilia-protocol. Agent Mart. https://agentmart.dev/templates/emiliaprotocol-emilia-protocol-agents-md (last updated 2026-10-24)