SmolVM: Instructions file for Codex

AGENTS.md

SmolVM AGENTS.md is an instructions file for Codex, OpenCode from CelestoAI/SmolVM. It costs 1,447 tokens per session, scanned A, original, Apache-2.0.

Development and release guidance for SmolVM, a system that gives AI agents disposable virtual computers for running code and commands safely.

In plain words
What is it for?
Use it when running tests or formatting, changing guest agents or images, updating release pins, and preparing a SmolVM package release.
Why use it?
It provides the checks needed to test changes and keep published virtual-machine images tied to the correct release versions and checksums.

Instructions file for CodexOpenCode

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

This is CelestoAI/SmolVM's own configuration. It tells Codex and OpenCode how to work on SmolVM 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 SmolVM configures β†’

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/aniket/conductor/workspaces/SmolVM/lome.

About the project

SmolVM provides AI agents with separate, persistent virtual computers where they can run code, browse the web, and use desktop applications. Developers use these computers locally or through Celesto Cloud for agent development and production work, while the catalogue skills and instructions support operating the agent runtime.

CelestoAI/SmolVM Β· 1,037 stars Β· on GitHub Β· docs.celesto.ai

Reuse

Borrowing it

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

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

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

Your own site Β· 80Γ—15
<a href="https://agentmods.dev/instructions/celestoai/smolvm/agents-md"><img src="https://agentmods.dev/badge/instructions/celestoai/smolvm/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,447 This file is loaded in full into every session.
When invoked 1,447 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.01447 $0.01447
Opus 5.5 $0.00579 $0.00579
Sonnet 5.5 $0.00289 $0.00289
Haiku 4.5 $0.00145 $0.00145

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

Security

Grade A, and why

SmolVM 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 1mo 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 Β· 133 lines

How it starts

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

SmolVM Context

SmolVM gives AI agents their own disposable computer. Each sandbox is a lightweight virtual machine that boots in seconds, runs any code or command you throw at it, and disappears when you're done β€” nothing touches the host.

πŸš€ Project Overview

SmolVM is specifically designed to provide a secure "sandbox" for AI agents to execute code, browse the web, or perform system-level tasks safely.

πŸ§ͺ Development

Key Commands

  • Testing: pytest (runs the suite in tests/)
  • Linting & Formatting: uv run ruff check . or uv run ruff format .

Release checklist

  • For guest-agent or published-image changes, build and smoke the new image release before tagging the SmolVM package release.
  • Update src/smolvm/images/published.py with the new IMAGES_RELEASE_TAG and rootfs SHA pins before the PyPI tag is pushed.
  • Also update src/smolvm/images/builder.py::_GUEST_AGENT_RELEASE_SHA256 from the smolvm-guest-agent-linux-<arch>.sha256 release assets. This is a separate pin from the rootfs manifest.
  • Verify both paths: uv run smolvm ... from a source checkout may build or use the local guest-agent binary, while smolvm ... from uv tool uses the installed wheel and downloads the standalone guest-agent release binary.
  • Only tag the SmolVM package release after the image manifest, guest-agent binary SHA pins, image smoke, and focused tests are complete.

CLI design

  • New CLI commands follow a NOUN-VERB structure: smolvm <noun> <verb>, e.g. smolvm codex start, not smolvm start codex.
  • The noun names the resource (a sandbox, a harness, a browser session); the verb names the action on it (start, stop, ssh).
  • This scales naturally as actions grow: smolvm codex start, then later smolvm codex logs, smolvm codex status, etc.
  • When adding a new harness or resource, register it as a top-level subcommand and put its actions underneath, instead of overloading a global verb.
  • Documented exceptions: the top-level smolvm prune and smolvm images aliases exist for muscle memory (images mirrors docker images); both delegate to their NOUN-VERB homes (image prune, image list). Do not add further top-level aliases without discussion.
  • smolvm completion <shell> is an accepted top-level meta-command (like git/gh completion): it acts on the CLI itself rather than a sandbox resource, so it sits outside the NOUN-VERB rule by design.

Read the full file on GitHub Β· 133 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. 1mo ago Changed Β· +19 lines Β· +187 tokens per session d06ef235e2c9
  2. 2mo ago First seen Β· 114 lines Β· 1,260 tokens per session scan A 94f684f422e8

Subscribe to this mod's changes

SmolVM AGENTS.md is an instructions file published in the GitHub repository CelestoAI/SmolVM (1,037 stars, last pushed 20d ago), licensed Apache-2.0. It adds 1,447 tokens to every session, about $0.0058 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

SmolVM AGENTS.md compared with instructions from other repositories

SmolVM AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
SmolVM AGENTS.mdCelestoAI/SmolVMInstructions file1.0k20d agoApache-2.0A1,447Codex, OpenCode
runtm copilot-instructions.mdruntm-ai/runtmInstructions file303yesterdaynoneA297GitHub Copilot
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