agentleFS
VercelKnown publishervercel-labs/dev3000/AGENTS.md

dev3000

AGENTS.md1.6k starsChanged 8 months agoMITView on GitHub

This file is the source of truth for agent guidance in this repo. CLAUDE.md is symlinked here. The session's CDP port is auto-connected. To target a different session, run d3k agent-browser connect <port> first. After any code changes, always run: Fix errors before finishing. Do not bypass hooks with --no-verify. When changes are pushed to main:

Trending

Less talk lately.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 1 mentionFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 2 mentionsJun 2026: 2 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 vercel-labs/dev3000 repository that our weekly crawl found: only 7 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about vercel-labs/dev3000

The biggest 5 of 7 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 7

Talked about on GitHub and Bluesky (7 times).

On GitHub · 5

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository7 other files it gives its agents.

The file

Show its rules and text

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

27 rules. About 0 are common, 14 are distinctive, and 13 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈14

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 13

    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
  1. Very specific:

    Use d3k as the default local runtime.

    line 7
  2. Distinctive:

    When the user asks to use, test, debug, or develop with d3k, start it in a retained background tool session.

    line 9
  3. Very specific:

    Do not run bun run dev or bun run build for www/.

    line 10
  4. Distinctive:

    Start d3k with:

    line 11
  5. Very specific:

    When testing locally, treat localhost as a production-backed shell:

    line 35
  6. Distinctive:

    start runs from the local UI

    line 36
  7. Distinctive:

    Do not add new local-only workflow shortcuts, localhost-only workflow execution paths, or tmp-cache fallbacks unless the user explicitly …

    line 40
  8. Distinctive:

    Do not make localhost the source of truth for workflow state.

    line 41
  9. Distinctive:

    If local workflow storage is ever needed for debugging, gate it behind an explicit env var and keep it off by default.

    line 42
  10. Distinctive:

    If a workflow feature behaves differently locally than in production, prefer removing the local special case rather than extending it.

    line 43
  11. Very specific:

    Use agent-browser by default.

    line 47
  12. Very specific:

    Use agent-browser when you need to drive the exact headed browser session d3k is already monitoring via CDP.

    line 48
  13. Distinctive:

    Never disable Turbopack in favor of webpack.

    line 53
  14. Very specific:

    When the user asks to release, you may run ./scripts/release.sh.

    line 54
  15. Distinctive:

    After any code changes, always run:

    line 59
  16. Distinctive:

    When changes are pushed to main:

    line 70
  17. Very specific:

    Wait for the deployment to become Ready.

    line 76
  18. Very specific:

    Do not stop at the first deployment status check.

    line 81
  19. Very specific:

    After the deployment is Ready, continue the task autonomously:

    line 82
  20. Distinctive:

    keep going until the requested end-to-end behavior is confirmed working or a concrete blocker is identified

    line 85
  21. Distinctive:

    If the user asked to "commit/push", "deploy", "keep going", "monitor it", or gave similar autonomy instructions, treat deployment polling …

    line 86
  22. Very specific:

    if Error or Canceled, inspect build/runtime logs and continue debugging

    line 90
  23. Very specific:

    Follow Geist patterns already used in www/.

    line 109
  24. Distinctive:

    Use the existing neutral dark palette.

    line 110
  25. Distinctive:

    Do not introduce semantic success/error colors for new UI status treatments unless the existing surface already uses them.

    line 111
  26. Very specific:

    Prefer existing shadcn/ui primitives and patterns from components/dev-agents/.

    line 112
  27. Very specific:

    Use sandbox-aware checks such as isInSandbox() instead.

    line 117

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.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
AGENTS.md

AGENTS.md

This file is the source of truth for agent guidance in this repo. CLAUDE.md is symlinked here.

Runtime

  • Use d3k as the default local runtime.
  • Canonical Portless HTTPS URLs are required by default and must be genuinely port-free (for example, https://my-app.localhost). Before starting d3k, run d3k portless status --json; if setup is required, run d3k portless setup, wait for the one-time administrator authorization, and verify Portless again. Do not start the app or browser until canonical Portless is ready unless the user explicitly requests --no-portless.
  • When the user asks to use, test, debug, or develop with d3k, start it in a retained background tool session. Do not make the user launch it or switch to the TUI.
  • Do not run bun run dev or bun run build for www/.
  • Start d3k with:
    d3k -t
  • Primary debugging commands:
    d3k status --json
    d3k errors --context
    d3k logs -n 200
    d3k logs --type browser
    d3k logs --type server
  • Drive the monitored browser with:
    d3k agent-browser snapshot -i
    d3k agent-browser click @e2
    The session's CDP port is auto-connected. To target a different session, run d3k agent-browser connect <port> first.

Local UI, Production Workflows

  • Local www/ is for the UI only.
  • Workflow execution, workflow orchestration, and sandbox activity must run in production, not in the local Next server.
  • On localhost, workflow API routes must proxy to production instead of starting workflows or managing sandboxes in-process.
  • When testing locally, treat localhost as a production-backed shell:
    • start runs from the local UI
    • let production own workflow startup, execution, retries, and completion
    • let production own sandbox creation, sandbox control, and sandbox logs
    • let report pages and runs pages read workflow state from production APIs or shared remote storage
  • Do not add new local-only workflow shortcuts, localhost-only workflow execution paths, or tmp-cache fallbacks unless the user explicitly asks for them.
  • Do not make localhost the source of truth for workflow state.
  • If local workflow storage is ever needed for debugging, gate it behind an explicit env var and keep it off by default.
  • If a workflow feature behaves differently locally than in production, prefer removing the local special case rather than extending it.

Browser Tools

  • Use agent-browser by default.
  • Use agent-browser when you need to drive the exact headed browser session d3k is already monitoring via CDP.

Development Rules

  • Package manager: bun only.
  • Never disable Turbopack in favor of webpack.
  • When the user asks to release, you may run ./scripts/release.sh.
  • ./scripts/release.sh prepares and pushes the stable release commit/tag; the GitHub release workflow publishes to npm via Trusted Publishing and then bumps main back to the next canary version.

Validation

After any code changes, always run:

bun run lint
bun run typecheck

Fix errors before finishing. Do not bypass hooks with --no-verify.

After Pushing Main

When changes are pushed to main:

  1. Get the latest deployment URL:
    vercel ls --scope team_nO2mCG4W8IxPIeKoSsqwAxxB | head -10
  2. Wait for the deployment to become Ready.
  3. Monitor runtime logs with the specific deployment URL:
    vercel logs <deployment-url>.vercel.sh --scope team_nO2mCG4W8IxPIeKoSsqwAxxB
  4. Do not stop at the first deployment status check. Keep polling until the specific new deployment for the pushed commit is Ready or has clearly failed.
  5. After the deployment is Ready, continue the task autonomously:
    • rerun the relevant browser flow, workflow, or validation against that exact deployment
    • inspect the result instead of assuming success
    • keep going until the requested end-to-end behavior is confirmed working or a concrete blocker is identified
  6. If the user asked to "commit/push", "deploy", "keep going", "monitor it", or gave similar autonomy instructions, treat deployment polling and post-deploy verification as part of the same task rather than waiting for another prompt.
  7. While waiting on deployment readiness, keep polling rather than reporting stale status. The default behavior should be:
    • poll vercel ls or vercel inspect again after a short delay
    • once Ready, move immediately into the next validation step
    • if Error or Canceled, inspect build/runtime logs and continue debugging

Recommended user prompt when autonomous deployment follow-through is desired:

Commit and push, then keep polling the new Vercel deployment until it is Ready, monitor logs, rerun the relevant test flow against that exact deployment, and continue autonomously until it is actually working or you have a concrete blocker.

d3k CLI/TUI Changes

  • For changes under src/, run:
    bun run canary
  • This is required for d3k CLI/TUI changes.
  • It is not required for www/-only changes.

UI Guidance

  • Follow Geist patterns already used in www/.
  • Use the existing neutral dark palette.
  • Do not introduce semantic success/error colors for new UI status treatments unless the existing surface already uses them.
  • Prefer existing shadcn/ui primitives and patterns from components/dev-agents/.

Sandbox Constraints

  • Code running in Vercel Sandbox, Docker, or similar constrained environments must not use lsof.
  • Use sandbox-aware checks such as isInSandbox() instead.
  • Other commands like netstat and ss may also be unavailable.

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.