eigent AGENTS.md

Repository instructions for working on the Eigent application, including its product terms, design system, and user-interface code.

In plain words
What is it for?
Use them when planning, reviewing, generating, or modifying Eigent UI, components, styles, tokens, or design documentation.
Why use it?
They keep interface changes consistent with the documented design rules and help agents inspect the right project context before editing.

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/eigent-ai/eigent/agents-md
Clone the repo
git clone --depth 1 https://github.com/eigent-ai/eigent

Made for: Codex, OpenCode.

Per session 608 This file is loaded in full into every session.
When invoked 608 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.00608 $0.00608
Opus 5 $0.00304 $0.00304
Sonnet 5 $0.00122 $0.00122
Haiku 4.5 $0.00061 $0.00061

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

Security

Grade A, and why

eigent 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 yesterday.

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 · 67 lines

How it starts

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

Eigent Agent Instructions

UI work

Before planning, generating, reviewing, or modifying any user-facing UI, read docs/design-system/design.md completely. Treat it as the active product design contract for all UI work in this repository.

Use docs/design-system/index.html as the visual reference. The Markdown guideline remains authoritative when the two formats differ.

For UI implementation:

  1. Inspect the nearest existing product surface for behavior and layout context.
  2. Reuse primitives from src/components/ui before creating a new component.
  3. Use the semantic tokens and supported component axes documented in the guideline.
  4. Treat src/style/tokens, src/style/generated, and shared UI primitives as the executable source of truth. Never edit generated token files by hand.
  5. Do not introduce raw colors, arbitrary standard-control geometry, stock shadows, new compatibility aliases, or local icon sizing when an approved semantic role or recipe exists.
  6. When the design guideline and implementation disagree, inspect both and report the discrepancy instead of silently inventing a new rule.

Before handing off UI work, report the reused primitives, selected semantic tokens or component axes, verified states and themes, any registered exception, and the validation commands that passed or were not run.

Product terminology

Before planning, generating, reviewing, or modifying user-facing terminology, presentation component names, or presentation-oriented file and folder names, read docs/product-terminology.md completely. Treat it as the authoritative match between UI wording and the backend terms and identifiers that must remain unchanged.

For terminology work:

  1. Use the document's UI wording for visible copy, accessibility labels, and presentation-oriented names.
  2. Preserve the matched backend/API/database terms, identifier values, routes, commands, event fields, translation keys, and persisted keys. Do not create new serialized aliases for a UI rename.
  3. Classify presentation files and components by the surface they own: Space, Session, or shared. A Space-owned container may contain Session-named child components.
  4. Inspect each occurrence at its presentation or compatibility boundary. Do not use an unrestricted search-and-replace across Product terms.
  5. When terminology documentation and implementation disagree, inspect both and report the discrepancy instead of silently changing a frozen contract.

Read the full file on GitHub · 67 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. yesterday First seen · 67 lines · 608 tokens per session scan A 3d28142d6774

Subscribe to this mod's changes

eigent AGENTS.md is an instructions file published in the GitHub repository eigent-ai/eigent (15,159 stars, last pushed 3d ago), licensed Apache-2.0. It adds 608 tokens to every session, about $0.0030 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-30.