Skip to main content

Install

Terminal
npm install -g veryfront

Create a project

Terminal
veryfront init my-app
cd my-app
The CLI walks you through template selection:
  • minimal. Single page, no extras.
  • app. Dashboard with auth and API routes.
  • blog. MDX content with file-based posts.
  • ai. Agent with tools, prompts, and a chat UI.
You can also add features interactively: AI, auth, MDX, Redis, workflows.

Start the dev server

Terminal
veryfront dev
Open http://localhost:3000. Changes to any file reload instantly.

Project overview

After init, your project looks like this:
my-app/
  app/
    layout.tsx      # Root layout wrapping all pages
    page.tsx        # Home page (/)
  package.json
If you picked the ai template, you also get:
my-app/
  agents/
    assistant.ts    # AI agent definition
  tools/
    calculator.ts   # Tool the agent can call
  prompts/
    assistant.ts    # System prompt
  app/
    layout.tsx
    page.tsx        # Chat UI
    api/
      chat/
        route.ts    # Streaming chat endpoint
Pages live in app/. Agents, tools, prompts, and workflows live at the project root and are auto-discovered by the framework.

Build for production

Terminal
veryfront build
veryfront start

Deploy

Terminal
veryfront deploy
Deploys to Veryfront Cloud. Your site is live at https://<slug>.veryfront.com.

Next