OpenSandbox: Instructions file for Codex

AGENTS.md

OpenSandbox AGENTS.md is an instructions file for Codex, OpenCode from opensandbox-group/OpenSandbox. It costs 1,945 tokens per session, scanned A, original, Apache-2.0.

Repository instructions that tell a coding agent how the OpenSandbox monorepo is organised and which guidance applies to each area. A monorepo is one repository containing several related projects.

In plain words
What is it for?
Finding the right code, documentation, tests, and instructions when working on OpenSandbox server code, SDKs, Kubernetes components, command-line tools, or other areas.
Why use it?
They reduce the risk of the agent working in the wrong part of the repository or missing rules for a specific directory.

Instructions file for CodexOpenCode

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

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

About the project

OpenSandbox is a sandbox platform that gives AI applications APIs, SDKs, and runtimes for creating isolated environments, running commands, and managing files. It is used for coding and GUI agents, browser automation, code execution, agent evaluation, and reinforcement-learning training across Docker and Kubernetes environments. The catalogue entries provide instructions and a skill for working with these sandboxes.

opensandbox-group/OpenSandbox · 16,463 stars · on GitHub · open-sandbox.ai

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/opensandbox-group/opensandbox/agents-md"><img src="https://agentmods.dev/badge/instructions/opensandbox-group/opensandbox/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,945 This file is loaded in full into every session.
When invoked 1,945 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.01945 $0.01945
Opus 5.5 $0.00778 $0.00778
Sonnet 5.5 $0.00389 $0.00389
Haiku 4.5 $0.00194 $0.00194

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

Security

Grade A, and why

OpenSandbox 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 9d 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 · 120 lines

How it starts

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

OpenSandbox AGENTS

Use this file as the root router for the monorepo. Prefer the nearest AGENTS.md in the directory tree for task-specific instructions.

Repository Map

  • server/: FastAPI lifecycle control plane, Docker/Kubernetes runtime integration, snapshot metadata, and server tests
  • components/execd/: in-sandbox execution daemon
  • components/egress/: per-sandbox network egress policy sidecar
  • components/ingress/: ingress gateway and endpoint routing
  • components/internal/: shared Go helpers used by runtime components
  • sdks/: sandbox, code-interpreter, and MCP SDKs plus generated clients
  • specs/: public OpenAPI contracts and examples
  • kubernetes/: Kubernetes operator, CRDs, task-executor, and Kind e2e tests
  • manifests/charts/: Helm charts (base, controller, server, ingress-gateway, node-agent, fast-sandbox, opensandbox umbrella)
  • cli/: osb command-line client and bundled CLI skills
  • console/: developer console (React SPA + FastAPI BFF), optional K8s examples; no server/spec changes
  • tests/: cross-language end-to-end SDK tests
  • docs/, examples/, oseps/: documentation, samples, and proposals

Routing

  • For server/**, or lifecycle server behavior, sandbox creation flow, or user-visible server config, read server/AGENTS.md.
  • For sdks/**, or SDK generation, handwritten adapters, or cross-language SDK alignment, read sdks/AGENTS.md.
  • For specs/**, or API contract, schema, or example changes, read specs/AGENTS.md.
  • For kubernetes/**, or CRDs, controller behavior, task execution, Helm/Kustomize deployment, pool scheduling, pause/resume snapshots, or Kind e2e tests, read kubernetes/AGENTS.md.
  • For cross-cutting changes spanning spec, server, and SDKs, start with specs/AGENTS.md and then read affected consumer guides.
  • For runtime component changes under components/**, read the nearest README.md or DEVELOPMENT.md; keep component APIs aligned with specs/ and SDK consumers.
  • For CLI changes under cli/**, read cli/README.md and verify command help/output behavior alongside unit tests.
  • For console changes under console/**, read console/README.md and console/docs/; run console/web build and keep BFF env docs aligned with console/k8s/*.example.yaml.
  • For cross-language e2e tests under tests/**, read the language-local README and keep test assumptions aligned with current server and SDK behavior.
  • For areas without a local AGENTS.md, use the nearest README.md, DEVELOPMENT.md, and CI workflow as the next source of truth.

Read the full file on GitHub · 120 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. 9d ago Changed · +2 lines · +72 tokens per session dec90f8d5ad2
  2. 19d ago Changed · +3 lines · +178 tokens per session 4b7761a47a95
  3. 24d ago Changed · -8 lines · -18 tokens per session 5380d7fb6b44
  4. 1mo ago Changed · -1 lines · -1 tokens per session bfcf49b90cb7
  5. 1mo ago Changed · +4 tokens per session 3d971c059c88
  6. 1mo ago Changed · +1 lines · +26 tokens per session daea4edea0f1
  7. 1mo ago Changed · -9 tokens per session ba41b8e8bccc
  8. 2mo ago First seen · 123 lines · 1,693 tokens per session scan A ef18bc5d12dc

Subscribe to this mod's changes

OpenSandbox AGENTS.md is an instructions file published in the GitHub repository opensandbox-group/OpenSandbox (16,463 stars, last pushed today), licensed Apache-2.0. It adds 1,945 tokens to every session, about $0.0078 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

OpenSandbox AGENTS.md compared with instructions from other repositories

OpenSandbox AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
OpenSandbox AGENTS.mdopensandbox-group/OpenSandboxInstructions file16ktodayApache-2.0A1,945Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode