emmy AGENTS.md

emmy AGENTS.md is an instructions file for Codex, OpenCode from cloudrift-ai/emmy. It costs 5,284 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

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/cloudrift-ai/emmy/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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 5,284 This file is loaded in full into every session.
When invoked 5,284 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.05284 $0.05284
Opus 5 $0.02642 $0.02642
Sonnet 5 $0.01057 $0.01057
Haiku 4.5 $0.00528 $0.00528

Measured 4d ago against content hash 0b13ce20c8fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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 · 331 lines

How it starts

The opening of the file, as written. The whole thing — 331 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.

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
  • 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 tune --bench stay in memory; stable Torch IR is persisted only inside golden YAML. Kernels are named after the operations they realize (k_rms_norm, k_sdpa_reduce).
  • EMMY_FREEZE_DIR environment variable (optional) — overrides the measurement freeze the prior is evaluated against (emmy eval prior --dataset nodes, and emmy fit's measured cells). Defaults to the repo-checked emmy/compiler/pipeline/search/freezes/ — a digest-pinned, version-stamped snapshot that is identical on every machine, which is what makes a reported prior number reproducible. The tune DB and the online reservoir are machine-local and mutable; reach them with --db when you want one machine's data, not as the default. The freeze's payload YAML is tracked in git LFS; its manifest is plain git so provenance stays diffable. Re-freeze with scripts/freeze_node_store.py.
  • EMMY_TUNE_DB environment variable (optional) — overrides the default tuning SQLite cache path (~/.cache/emmy/autotune.db). emmy tune reads from / writes to this path. NOTE: greedy compile / run resolve forks through the deploy evidence hierarchy — the live card's recorded goldens first (the repo-shipped verified tier; consulted, never trained on), then measured reservoir/DB evidence, then the global Prior (the online prior with its offline cold-start fallback; the old _best_fork DB→fork replay was removed). The online prior is a separate JSON checkpoint (EMMY_ONLINE_FILE~/.cache/emmy/online.json; legacy EMMY_PRIOR_FILE still accepted) that tune writes and compile / run read. Use the README architecture index for the prior and two-level autotune design.

Read the full file on GitHub · 331 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. 4d ago First seen · 331 lines · 5,284 tokens per session scan A 0b13ce20c8fa

Subscribe to this mod's changes

emmy AGENTS.md is an instructions file published in the GitHub repository cloudrift-ai/emmy (80 stars, last pushed 4d ago), licensed Apache-2.0. It adds 5,284 tokens to every session, about $0.0264 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.