Prerequisites
- Node.js 18.18 or later.
- The Veryfront CLI installed. See Installation.
Create the app
--template ai-agent so the command creates the exact app
shown below. Omit --template when you want the interactive template picker
instead.
The ai-agent template creates a runnable chat app:
AGENTS.md project guide for coding agents.
Authenticate
From the project directory, authenticate with Veryfront Cloud:VERYFRONT_API_TOKEN directly. Direct provider keys such as
OPENAI_API_KEY or ANTHROPIC_API_KEY also work; see
Providers.
Run it locally
veryfront dev also starts the development MCP server on the app port plus 2.
With the default app port, coding agents can connect to
http://localhost:3002/mcp and call vf_bootstrap once at session start.
Use Coding agents for setup details.
Verify it worked
Openhttp://localhost:3000 and ask:
data: lines.