agents / sandbox-agent
CLAUDE.md1.6k starsChanged 10 months agoApache-2.0View on GitHub
- Installs packages
Trending
More talk lately.thin dataabout the whole repository
Who's talking about rivet-dev/agents
The biggest 1 of 1 mention linking to the repository that our crawl found. Each line is their own headline.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- sandbox-agent/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docs/CLAUDE.mdCLAUDE.md
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
14 rules. About 0 are common, 5 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 13
Never mention "ACP" in user-facing docs (docs/content/docs//*.mdx) except in docs that are specifically about ACP itself.
- Very specific: line 14
Never expose underlying protocol method names (e.g.
- Distinctive: line 15
Do not describe the underlying protocol implementation in docs.
- Very specific: line 16
Do not use em dashes (—) in docs.
- Very specific: line 23
Keep docs aligned to implemented endpoints/commands only (for example ACP under /v1/acp, not legacy session REST APIs).
- Very specific: line 28
Run node scripts/generate-api-docs.mjs when docs/openapi.json changes.
- Distinctive: line 33
If the user asks to "push" changes, treat that as permission to commit and push all current workspace changes, not a hand-picked subset, …
- Distinctive: line 34
Keep CLI subcommands and HTTP endpoints in sync.
- Very specific: line 35
Update docs/content/docs/cli.mdx when CLI behavior changes.
- Very specific: line 37
Keep docs/content/docs/inspector.mdx and docs/content/docs/sdks/typescript.mdx aligned with implementation.
- Distinctive: line 45
Do not add cross-process image-build scripts unless there is a concrete need for them.
- Very specific: line 53
When adding or removing software from docs/content/docs/common-software.mdx, also add/remove the corresponding apt-get install line in the …
- Very specific: line 54
Run cargo test -p sandbox-agent --test common_software to verify.
- Distinctive: line 62
Keep every install-version reference below in sync whenever versions/channels change:
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Instructions
Naming and Ownership
- This directory/product is Sandbox Agent. It lives in
sandbox-agent/of therivet-dev/agentsrepository, which releases everything on one version line from the repository root (../scripts/release,../.github/workflows/release.yaml). - Gigacode is a separate user-facing UI/client, not the server product name.
- Gigacode integrates with Sandbox Agent via the OpenCode-compatible surface (
/opencode/*) when that compatibility layer is enabled. - Canonical extension namespace/domain string is
sandboxagent.dev(no hyphen). - Canonical custom ACP extension method prefix is
_sandboxagent/...(no hyphen).
Docs Terminology
- Never mention "ACP" in user-facing docs (
docs/content/docs/**/*.mdx) except in docs that are specifically about ACP itself. - Never expose underlying protocol method names (e.g.
session/request_permission,session/create,_sandboxagent/session/detach) in non-ACP docs. Describe the behavior in user-facing terms instead. - Do not describe the underlying protocol implementation in docs. Only document the SDK surface (methods, types, options). ACP protocol details belong exclusively in ACP-specific pages.
- Do not use em dashes (
—) in docs. Use commas, periods, or parentheses instead.
Docs Source Of Truth (HTTP/CLI)
- For HTTP/CLI docs/examples, source of truth is:
server/packages/sandbox-agent/src/router.rsserver/packages/sandbox-agent/src/cli.rs
- Keep docs aligned to implemented endpoints/commands only (for example ACP under
/v1/acp, not legacy session REST APIs).
Website and Docs
- Author docs in
docs/content/docs/;docs/sidebar.jsonowns the navigation. The Rivet website owns layout and styling. - Run
node scripts/generate-api-docs.mjswhendocs/openapi.jsonchanges. .github/workflows/docs-sync.ymlpublishes the docs bundle torivet-dev/website. Never edit the vendored copy by hand.
Change Tracking
- If the user asks to "push" changes, treat that as permission to commit and push all current workspace changes, not a hand-picked subset, unless the user explicitly scopes the push.
- Keep CLI subcommands and HTTP endpoints in sync.
- Update
docs/content/docs/cli.mdxwhen CLI behavior changes. - Regenerate
docs/openapi.jsonwhen HTTP contracts change. - Keep
docs/content/docs/inspector.mdxanddocs/content/docs/sdks/typescript.mdxaligned with implementation. - Append blockers/decisions to
research/acp/friction.mdduring ACP work. docs/content/docs/agent-capabilities.mdxlists models/modes/thought levels per agent. Update it when adding a new agent or changingfallback_config_options. If its "Last updated" date is >2 weeks old, re-runcd scripts/agent-configs && npx tsx dump.tsand update the doc to match. Source data:scripts/agent-configs/resources/*.jsonand hardcoded entries inserver/packages/sandbox-agent/src/router/support.rs(fallback_config_options).- Some agent models are gated by subscription (e.g. Claude
opus). The live report only shows models available to the current credentials. The static doc and JSON resource files should list all known models regardless of subscription tier.
Docker Test Image
- Docker-backed Rust and TypeScript tests build
docker/test-agent/Dockerfiledirectly in-process and cache the image tag only in memory (OnceLockin Rust, module-level variable in TypeScript). - Do not add cross-process image-build scripts unless there is a concrete need for them.
Common Software Sync
- These three files must stay in sync:
docs/content/docs/common-software.mdx(user-facing documentation)docker/test-common-software/Dockerfile(packages installed in the test image)server/packages/sandbox-agent/tests/common_software.rs(test assertions)
- When adding or removing software from
docs/content/docs/common-software.mdx, also add/remove the correspondingapt-get installline in the Dockerfile and add/remove the test incommon_software.rs. - Run
cargo test -p sandbox-agent --test common_softwareto verify.
Install Version References
- Channel policy:
- Sandbox Agent install/version references use a pinned minor channel
0.N.x(for curl URLs andsandbox-agent/@sandbox-agent/clinpm/bun installs). - Gigacode install/version references use
latest(for@sandbox-agent/gigacodeinstall/run commands andgigacode-install.*release promotion). - Release promotion policy:
latestreleases must still updatelatest; when a release islatest, Sandbox Agent must also be promoted to the matching minor channel0.N.x.
- Sandbox Agent install/version references use a pinned minor channel
- Keep every install-version reference below in sync whenever versions/channels change:
README.mddocs/content/docs/cli.mdxdocs/content/docs/quickstart.mdxdocs/content/docs/sdk-overview.mdxdocs/content/docs/react-components.mdxdocs/content/docs/session-persistence.mdxdocs/content/docs/deploy/local.mdxdocs/content/docs/deploy/cloudflare.mdxdocs/content/docs/deploy/vercel.mdxdocs/content/docs/deploy/daytona.mdxdocs/content/docs/deploy/e2b.mdxdocs/content/docs/deploy/docker.mdxfrontend/packages/website/src/components/GetStarted.tsx.claude/commands/post-release-testing.mdexamples/cloudflare/Dockerfileexamples/daytona/src/index.tsexamples/shared/src/docker.tsexamples/docker/src/index.tsexamples/e2b/src/index.tsexamples/vercel/src/index.ts../scripts/release/main.ts../scripts/release/promote-artifacts.ts../scripts/release/sdk.ts
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

