Skip to main content

Installation Guide

Standard Agents projects are created through the Standard Agents platform. One command signs you in, provisions your project repository, and starts a local dev server — building and running agents locally is free, and upgrading to Pro deploys the same project to the managed global edge.

Create a Project

Run the CLI from the directory where you want your project:
This command will:
  1. Open Standard Agents in your browser for login and project creation
  2. Create and seed a platform-owned repository with the Standard Agents project template
  3. Clone that repository back to the directory where you ran the command
  4. Write local-only project credentials to .dev.vars
  5. Configure Git credentials for future pushes to the platform repository
  6. Install dependencies with the detected package manager, start the local dev server, and open it in your browser
That’s it — there is nothing to configure by hand. The builder() Vite plugin in the generated project owns the Worker entry, Cloudflare bindings, Durable Object migrations, and TypeScript type generation.
Building and running agents locally is free on the Hobby plan. When you’re ready to ship, upgrade to Pro and every push to your platform repository deploys to the managed global edge.

Install the Coding Skill

Most Standard Agents projects are built with an AI coding agent. The agentbuilder skill teaches your coding agent when to reach for defineModel, definePrompt, defineTool, defineAgent, defineHook, defineThreadEndpoint, and dual_ai subagents — install it before you start building:
This opens an interactive picker so you can choose the install target:
  • Claude Code: installs a user subagent into ~/.claude/agents/agentbuilder.md
  • Codex: installs a skill folder into $CODEX_HOME/skills or ~/.codex/skills
You can also target an agent directly, overwrite an existing copy, or choose a different install root:
See @standardagents/skill for what the skill covers and how to customize it.

Adding to an Existing Project

If you already have a Vite project and want to add Standard Agents:
The scaffold command intelligently modifies your existing project:
  • Adds or updates @standardagents/builder in package.json
  • Adds the builder() plugin to your vite.config.ts
  • Lets builder() generate the Cloudflare Worker entry, assets config, Durable Object bindings, compatibility flags, and migrations at build time
  • Creates the agents/ directory structure
Use --force flag to overwrite existing configuration if needed.

Project Structure

After installation, your project will have this structure:
The dev server generates types for your agents, prompts, tools, and API routes automatically, and runs a local simulation of the Cloudflare Worker environment.

Next Steps

Architecture

Learn how Standard Agents works

API Reference

Explore the complete API