emmy: Instructions file for Codex

AGENTS.md

emmy AGENTS.md is an instructions file for Codex, OpenCode from cloudrift-ai/emmy. It costs 8,911 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for Emmy, a Python tool that deploys and benchmarks language-model inference on GPU servers using Docker Compose, vLLM, and SGLang.

In plain words
What is it for?
Use them when changing Emmy, answering questions about its command-line options, configuring deployments, or running benchmarks.
Why use it?
They direct coding agents to the right project documentation, setup steps, deployment requirements, and debugging information.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/cloudrift-ai/emmy/agents-md"><img src="https://agentmods.dev/badge/instructions/cloudrift-ai/emmy/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8,911 This file is loaded in full into every session.
When invoked 8,911 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.08911 $0.08911
Opus 5.5 $0.03564 $0.03564
Sonnet 5.5 $0.01782 $0.01782
Haiku 4.5 $0.00891 $0.00891

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

Security

Grade A, and why

emmy 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 6d 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 · 507 lines

How it starts

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

AGENTS.md

This file provides guidance to coding agents when working with code in this repository.

Communication

Write to the user the way you would speak to them.

  • Short sentences. One idea per sentence.
  • Say the few things that matter most. Leave out the rest unless the user asks.
  • No file paths, symbol names, or code unless the user asks for them.
  • Simple technical English. Common words over rare ones.
  • Only established vocabulary: GLOSSARY.md terms, other standard repo or field terms, or plain language. Never invent a label.
  • Answer first. Add background only when it changes what the user does next.
  • Disagree when you have reason to. Say what is wrong and what you would do instead. The goal is the right answer, not agreement.
  • Raise a concern or change the direction of the conversation only when the stake is real: a wrong approach, a risk, a much better option. Small things are not worth the interruption. Judge it the way one developer would judge it when talking to another.

Project Overview

Emmy is a Python tool for deploying and benchmarking LLM inference on GPU servers. It supports vLLM and SGLang engines, provides a CLI for local and remote (SSH) deployment of models via Docker Compose, plus automated benchmarking across multiple servers.

README.md is the canonical project overview and architecture index. Read it first, then use its links to locate the relevant subsystem documentation. Do not duplicate the architecture index in this file.

When the user asks about a CLI flag, recipe field, or matrix combinator, use the README index to find and read the relevant ARCHITECTURE.md before answering.

Prerequisites

  • Python 3.12+ with venv
  • A Rust toolchain (cargo): compiled programs execute through the Rust runtime, which make setup builds into the package as the emmy.emmy_runtime extension; use the README architecture index for the runtime's design.
  • make setup to create the virtual environment and install dependencies
  • Docker and Docker Compose for local deployments
  • HF_TOKEN environment variable for HuggingFace model downloads
  • EMMY_DUMP_DIR environment variable (optional) — when set, compiler stages dump intermediate debug artifacts (graphs, CUDA kernels, execution plans) to this directory. Frontend provenance slices used by run --bench stay in memory; stable Torch IR is persisted only inside golden files. Kernels are named after the operations they realize (k_rms_norm, k_sdpa_reduce).
  • EMMY_FREEZE_DIR environment variable (optional) — the directory a run --bench --tune N freezes its rows into as a file beside the card's: the repository freeze of an editable checkout when unset, none when set empty (the test suite), else that directory. README "Keep what a tune measured".
  • EMMY_TUNE_DB environment variable (optional) — overrides the default tuning SQLite cache path (~/.cache/emmy/autotune.db), the store of measured kernel rows. emmy run --bench writes to it, and a greedy compile / run / serve creates it on first use: the golden rows in scope (the live card's repository goldens, or the file --golden PATH names) are imported into it before the compile picks, once per golden digest. NOTE: those commands resolve forks through ONE measured-evidence pick — this DB's perf rows and the golden rows among them, ranked fastest-first; a kernel-set decision (a routing row, a golden's cut or split) is priced as the sum of its pieces' rows; and the priors (fit by emmy fit: the schedule prior weights/schedule.json for a kernel's schedule rows, the placement prior weights/placement.json for a kernel-set fork's arms) decide only where nothing was measured; --strict-evidence turns that fall-through into an error. run --golden PATH --bench writes what it measures back into this DB (--record / --record-greedy write the golden file too), which is how a golden row becomes what the next compile picks. Use the README architecture index for the prior and the evidence design.

Read the full file on GitHub · 507 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. 6d ago Changed · +5 lines · +133 tokens per session f71dcdc0007a
  2. 7d ago Changed · +1 lines · +25 tokens per session ff3a43545317
  3. 11d ago Changed · +3 lines · +60 tokens per session 43b69acfb2ef
  4. 14d ago Changed · +3 lines · +62 tokens per session 434c9fe392e2
  5. 15d ago Changed · +2 lines · +47 tokens per session 3c9a080e76d6
  6. 16d ago Changed · +45 tokens per session ce0b6805eacc
  7. 17d ago Changed · +1 tokens per session 091fec28f4dd
  8. 18d ago Changed · +21 lines · +430 tokens per session 96c0206d694b
  9. 19d ago Changed · -2 lines · -16 tokens per session 701164272030
  10. 20d ago First seen · 474 lines · 8,124 tokens per session scan A fcbfe190e2b9

Subscribe to this mod's changes

emmy AGENTS.md is an instructions file published in the GitHub repository cloudrift-ai/emmy (116 stars, last pushed today), licensed Apache-2.0. It adds 8,911 tokens to every session, about $0.0356 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

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,649 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,549 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens