agentleFS
rivet-devrivet-dev/agents/docs/CLAUDE.md

agents

CLAUDE.md1.6k starsChanged 10 months agoApache-2.0View on GitHub

Rules for the Agents docs in this repo. These pages are not rendered here. They are published on rivet.dev by the website repo. .github/workflows/docs-sync.yml copies this directory and examples/ into the website's vendor/agents/ on every merge to main. Everything below exists so a page written here renders correctly there. Sandbox Agent's own docs (sandboxagent.dev) live in sandbox-agent/docs/ and follow different rules. Nothing in this file applies to them. The website links content/ into its content collection, so only real pages…

  • Installs packages

Trending

More talk lately.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 1 mentionNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the rivet-dev/agents repository that our weekly crawl found: only 1 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

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.

The file

We split this CLAUDE.md into the rules it gives an agent

7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every page needs title and description.

    line 30
  2. Very specific:

    Every TypeScript snippet must include its imports and define everything it references.

    line 65
  3. Distinctive:

    Website components: Do not import from the website by relative path or alias.

    line 77
  4. Distinctive:

    Never "engine", "server", or "orchestrator".

    line 83
  5. Very specific:

    Always rivet.dev, never rivet.gg.

    line 90
  6. Distinctive:

    Write comments and prose as complete sentences.

    line 94
  7. Distinctive:

    Do not document deltas. A reader who never saw the old version gains nothing from "this was renamed".

    line 96

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

Docs Bundle CLAUDE.md

Rules for the Agents docs in this repo. These pages are not rendered here. They are published on rivet.dev by the website repo. .github/workflows/docs-sync.yml copies this directory and examples/ into the website's vendor/agents/ on every merge to main. Everything below exists so a page written here renders correctly there.

Sandbox Agent's own docs (sandboxagent.dev) live in sandbox-agent/docs/ and follow different rules. Nothing in this file applies to them.

Layout

docs/
  sidebar.json
  content/
    docs/**.mdx         -> /agents/docs/...
examples/
  docs/<topic>/*.ts     snippets embedded with <CodeSnippet>

The website links content/ into its content collection, so only real pages belong under content/. Anything else (scripts, fixtures, notes) goes elsewhere in the repo or it will be published as a docs page.

Frontmatter

Every page needs title and description. Both are used for SEO and the sidebar falls back to title when a sidebar entry omits one.

---
title: "Pi"
description: "Run the Pi coding agent as a durable Rivet Actor."
---

sidebar.json

Navigation for the bundle. Icons travel as Font Awesome export names (for example "faSquareInfo") or { "src": "/images/..." } for website-hosted images, so this repo needs no dependency on the website's icon package.

  • href is the full site path the page renders at: /agents/docs/....
  • Adding a page to content/ does not add it to the nav. Add it here too.
  • Deploy and self-hosting guides are website-owned and generated there.

Code

  • Never inline a fenced TypeScript block. Real examples live in examples/docs/ and are embedded with <CodeSnippet>, so they are type-checked (pnpm check-types) and cannot rot.
  • Snippet paths are relative to this repo's root, so the same path works both here and on rivet.dev:
    <CodeSnippet file="examples/docs/pi/server.ts" />
  • Embed part of a file with region="name", delimited in the source by // docs:start name / // docs:end name.
  • Shell commands, YAML, Dockerfiles, and terminal output may be inline fenced blocks. The no-inline rule exists for type checking, which only applies to TypeScript.
  • Every TypeScript snippet must include its imports and define everything it references. Use @nocheck only for API that does not exist yet, and exclude such files in examples/docs/tsconfig.json with a comment saying why.
  • Snippets are not reformatted by Biome (biome.json excludes examples/docs from the formatter and import sorting), so the published layout is exactly what you write.

What does not belong here

  • Marketing pages. They live in the website repo.
  • Deploy and self-hosting guides. They are written once in the website repo and templated across every product.
  • Website components. Do not import from the website by relative path or alias; a page must render from the components the site already provides.

Terminology

  • The service that routes, schedules, and persists is the control plane. Never "engine", "server", or "orchestrator".
  • A process running user code with the Rivet SDK is a worker. Never "envoy", "runner", "node", "compute", or "data plane".
  • Spell the product agentOS, never AgentOS. Capitalize Rivet Actor as a proper noun, lowercase generic "actor".
  • Where prose must name the managed offering it is Rivet Cloud, and it links to https://dashboard.rivet.dev.
  • Always rivet.dev, never rivet.gg.

Writing

  • Write comments and prose as complete sentences. Never use em dashes; use periods instead.
  • Do not document deltas. A reader who never saw the old version gains nothing from "this was renamed".

Previewing locally

Clone the website next to this repo and run it. It detects the sibling checkout ../agents and serves this directory's pages live:

git clone https://github.com/rivet-dev/website
cd website && pnpm install && pnpm dev

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.