edgee: Instructions file for Codex

AGENTS.md

edgee AGENTS.md is an instructions file for Codex, OpenCode from edgee-ai/edgee. It costs 3,299 tokens per session, scanned A, original, Apache-2.0.

A set of instructions for working on Edgee, an agent gateway written in Rust that sits between coding agents and language-model providers. It describes Edgee’s product goals, audience, major features, and rules for user-facing writing.

In plain words
What is it for?
Use it when editing Edgee’s code or documentation, explaining its request-routing and usage-management role, or checking that product copy follows its positioning rules.
Why use it?
It prevents contributors from describing the product inaccurately or inconsistently. It also gives coding agents the technical and business context needed when changing this repository.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: reads $CODEX_HOME, but also the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/edgee-ai/edgee/agents-md"><img src="https://agentmods.dev/badge/instructions/edgee-ai/edgee/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,299 This file is loaded in full into every session.
When invoked 3,299 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.03299 $0.03299
Opus 5.5 $0.01320 $0.01320
Sonnet 5.5 $0.00660 $0.00660
Haiku 4.5 $0.00330 $0.00330

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

Security

Grade A, and why

edgee 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 24d 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 · 243 lines

How it starts

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

AGENTS.md

Context for coding agents working in this repository. CLAUDE.md is a symlink to this file.

What Edgee is

Edgee is an Agent Gateway, built in Rust by Edgee Cloud SAS (Paris) with a US subsidiary, Edgee Corporation (Delaware).

Edgee sits between AI agents and LLM providers as a transparent gateway. It intercepts, routes, compresses, meters, and secures every LLM request, with no code change on the agent side. It works with all major coding agents (Claude Code, Codex, Cursor, GitHub Copilot, OpenCode, CodeBuddy, Crush) and all provider plans, including consumer subscriptions — not just API credits.

Who it's for: engineering organisations (typically 150+ developers) whose coding-agent bills are growing fast and whose leadership lacks visibility and control over token spend. Buyers are VPs of Engineering, CTOs, and platform teams.

Core value: cut token costs by up to 70% while giving engineering leaders full control and visibility over agent usage.

Product pillars, in order of strategic importance

  1. Smart routing and budget management — the moat. The routing engine can redirect requests to open-weight models mid-task without quality loss. The upcoming Strategies system lets customers define routing policies scoped to a person, a squad, or the whole organisation (e.g. a $100 weekly Claude budget: at 75% consumption Opus requests reroute to Kimi K3, at 85% Sonnet goes to GLM 5.2, at 100% everything routes to DeepSeek).
  2. Team observability — cost and usage per developer, repo, PR, model, and environment.
  3. Token compression — input trimming and output brevity, semantically lossless for coding tasks. A strong acquisition hook, but expected to become a commodity.

Positioning guardrails (apply to all user-facing copy)

  • The category is Agent Gateway. Keep it. Lead with token cost reduction through routing and control — that's what converts and what wins POCs. Compression is a supporting feature, never the headline.
  • Never write "Agent Engineering Platform" (or equivalents) in product copy. It reads as a platform for building agents — LangChain/CrewAI territory — whereas Edgee governs agents. The category label only broadens once the desktop app, Strategies, and skills/MCP management have shipped and been adopted.
  • There is an expansion narrative — enter through cost reduction, become the control plane through which every AI agent in the company operates (routing, budgets, observability, skills, MCP, governance), the way Datadog expanded from infrastructure monitoring. It is reserved for the Series A deck, the vision page, and founder talks. It does not belong in the README, the CLI, the docs, or any copy you write here.
  • Roadmap items may be named as roadmap items (see README) without implying a category change.
  • Against OpenRouter and LiteLLM (the competitors seen in POCs): OpenRouter is a gateway for apps that consume LLMs; Edgee is specialised for agents, wrapping the agent itself with zero code change. Differentiators: agent-specialised, token compression, observability per developer/repo/PR rather than per API key, native 500-developer onboarding (seats, budgets, per-squad policies), and budget-driven Strategies with mid-task rerouting.
  • Compliance facts that may be stated: SOC 2 and GDPR compliant, on-premise deployment available, BYOK supported.

Read the full file on GitHub · 243 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. 24d ago Changed · +1 lines · +27 tokens per session 99fdfca28680
  2. 1mo ago Changed · +5 lines · +113 tokens per session 7840bb9977e3
  3. 1mo ago Changed · +3 tokens per session 8277a86bf4df
  4. 1mo ago Changed · -6 tokens per session 084e3dea16d9
  5. 1mo ago Changed · -1 lines · -44 tokens per session bd27c18c4c87
  6. 2mo ago First seen · 238 lines · 3,206 tokens per session scan A 647a6287e7ae

Subscribe to this mod's changes

edgee AGENTS.md is an instructions file published in the GitHub repository edgee-ai/edgee (143 stars, last pushed yesterday), licensed Apache-2.0. It adds 3,299 tokens to every session, about $0.0132 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

edgee AGENTS.md compared with instructions from other repositories

edgee AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
edgee AGENTS.mdedgee-ai/edgeeInstructions file143yesterdayApache-2.0A3,299Codex, 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