agentleFS
VercelKnown publishervercel/examples/rust/wait-until/AGENTS.md

examples / wait-until

AGENTS.md5.2k starsChanged 10 months agoMITView on GitHub

These defaults are optimized for AI coding agents (and humans) working on apps that deploy to Vercel. - Treat Vercel Functions as stateless + ephemeral (no durable RAM/FS, no background daemons), use Blob or marketplace integrations for preserving state - Edge Functions (standalone) are deprecated; prefer Vercel Functions - Don't start new projects on Vercel KV/Postgres (both discontinued); use Marketplace Redis/Postgres instead - Store secrets in Vercel Env Variables; not in git or NEXT_PUBLIC_* - Provision Marketplace native integrations with…

  • Reads credentials

Trending

Quiet this year.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: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the vercel/examples repository that our weekly crawl found: only 6 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about vercel/examples

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

See all 6

The file

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

9 rules. About 1 is common, 5 are distinctive, and 3 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    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. Distinctive:

    Treat Vercel Functions as stateless + ephemeral (no durable RAM/FS, no background daemons), use Blob or marketplace integrations for …

    line 7
  2. Distinctive:

    Don't start new projects on Vercel KV/Postgres (both discontinued).

    line 9
  3. Very specific:

    Use waitUntil for post-response work.

    line 13
  4. Distinctive:

    Use Runtime Cache for fast regional caching + tag invalidation (don't treat it as global KV)

    line 16
  5. Distinctive:

    Use Cron Jobs for schedules.

    line 17
  6. Distinctive:

    Use Vercel Blob for uploads/media.

    line 18
  7. Common:

    If Enable Deployment Protection is enabled, use a bypass secret to directly access them

    line 19
  8. Very specific:

    Add OpenTelemetry via @vercel/otel on Node.

    line 20
  9. Very specific:

    Use AI Gateway for model routing, set AI_GATEWAY_API_KEY, using a model string (e.g.

    line 22

≈ “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
<!-- VERCEL BEST PRACTICES START -->

Best practices for developing on Vercel

These defaults are optimized for AI coding agents (and humans) working on apps that deploy to Vercel.

  • Treat Vercel Functions as stateless + ephemeral (no durable RAM/FS, no background daemons), use Blob or marketplace integrations for preserving state
  • Edge Functions (standalone) are deprecated; prefer Vercel Functions
  • Don't start new projects on Vercel KV/Postgres (both discontinued); use Marketplace Redis/Postgres instead
  • Store secrets in Vercel Env Variables; not in git or NEXT_PUBLIC_*
  • Provision Marketplace native integrations with vercel integration add (CI/agent-friendly)
  • Sync env + project settings with vercel env pull / vercel pull when you need local/offline parity
  • Use waitUntil for post-response work; avoid the deprecated Function context parameter
  • Set Function regions near your primary data source; avoid cross-region DB/service roundtrips
  • Tune Fluid Compute knobs (e.g., maxDuration, memory/CPU) for long I/O-heavy calls (LLMs, APIs)
  • Use Runtime Cache for fast regional caching + tag invalidation (don't treat it as global KV)
  • Use Cron Jobs for schedules; cron runs in UTC and triggers your production URL via HTTP GET
  • Use Vercel Blob for uploads/media; Use Global Config for small, globally-read config
  • If Enable Deployment Protection is enabled, use a bypass secret to directly access them
  • Add OpenTelemetry via @vercel/otel on Node; don't expect OTEL support on the Edge runtime
  • Enable Web Analytics + Speed Insights early
  • Use AI Gateway for model routing, set AI_GATEWAY_API_KEY, using a model string (e.g. 'anthropic/claude-sonnet-4.6'), Gateway is already default in AI SDK needed. Always curl https://ai-gateway.vercel.sh/v1/models first; never trust model IDs from memory
  • For durable agent loops or untrusted code: use Workflow (pause/resume/state) + Sandbox; use Vercel MCP for secure infra access
<!-- VERCEL BEST PRACTICES END -->

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.