> ## Documentation Index
> Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Guides

> Goal-based guides for building and running Veryfront Code projects.

Guides are recipes for specific goals. Use them when you know what you want to
build, change, run, or verify.

For concepts and boundaries, see [Concepts](/code/concepts). For full API
details, see [API reference](/code/api-reference).

## Start a project

| Goal                          | Guide                                                 |
| ----------------------------- | ----------------------------------------------------- |
| Understand where files belong | [Project structure](/code/guides/project-structure)   |
| Configure project behavior    | [Configuration](/code/guides/configuration)           |
| Choose the right primitive    | [Choose a primitive](/code/guides/choose-a-primitive) |

## Build routes

| Goal                                        | Guide                                               |
| ------------------------------------------- | --------------------------------------------------- |
| Add pages, layouts, and dynamic routes      | [Pages and routing](/code/guides/pages-and-routing) |
| Load data for pages                         | [Data fetching](/code/guides/data-fetching)         |
| Add HTTP endpoints                          | [API routes](/code/guides/api-routes)               |
| Add CORS, auth checks, logging, or timeouts | [Middleware](/code/guides/middleware)               |
| Set page metadata and social previews       | [Head and SEO](/code/guides/head-and-seo)           |

## Add AI behavior

| Goal                                        | Guide                                                     |
| ------------------------------------------- | --------------------------------------------------------- |
| Add an agent                                | [Agents](/code/guides/agents)                             |
| Choose model providers and runtime defaults | [Providers](/code/guides/providers)                       |
| Give an agent a typed capability            | [Tools](/code/guides/tools)                               |
| Add memory or streamed responses            | [Memory and streaming](/code/guides/memory-and-streaming) |
| Build document Q\&A with RAG                | [Build a RAG app](/code/guides/build-a-rag-app)           |
| Coordinate more than one agent              | [Multi-agent](/code/guides/multi-agent)                   |
| Package reusable agent instructions         | [Skills](/code/guides/skills)                             |

## Build chat

| Goal                                  | Guide                                   |
| ------------------------------------- | --------------------------------------- |
| Add a preset or custom chat interface | [Build a chat UI](/code/guides/chat-ui) |
| Use headless chat state               | [Chat hooks](/code/guides/chat-hooks)   |

## Run background work

| Goal                                       | Guide                                                           |
| ------------------------------------------ | --------------------------------------------------------------- |
| Define reusable background work            | [Tasks](/code/guides/tasks)                                     |
| Coordinate multi-step work                 | [Workflows](/code/guides/workflows)                             |
| Add loops, large artifacts, or progress UI | [Workflows: advanced](/code/guides/workflows-advanced)          |
| Run durable work                           | [Runs](/code/guides/runs)                                       |
| Ingest documents into project knowledge    | [CLI knowledge ingestion](/code/guides/cli-knowledge-ingestion) |

## Connect external systems

| Goal                                               | Guide                                       |
| -------------------------------------------------- | ------------------------------------------- |
| Sign users in with OAuth                           | [OAuth](/code/guides/oauth)                 |
| Add connector-backed service tools                 | [Integrations](/code/guides/integrations)   |
| Expose tools, prompts, and resources to assistants | [MCP server](/code/guides/mcp-server)       |
| Connect coding agents to the dev server            | [Coding agents](/code/guides/coding-agents) |
| Run isolated commands or file operations           | [Sandbox](/code/guides/sandbox)             |

## Deploy and extend

| Goal                                   | Guide                                                       |
| -------------------------------------- | ----------------------------------------------------------- |
| Build and deploy a project             | [Build and deploy](/code/guides/deploying)                  |
| Run agents as separate services        | [Agent service runtime](/code/guides/agent-service-runtime) |
| Enable reusable runtime infrastructure | [Extensions](/code/guides/extensions)                       |
| Write, test, and package an extension  | [Author extensions](/code/guides/extension-authoring)       |
