# ViteHub

> Portable Agents for Vite, built on Server Primitives.

## Overview

- [ViteHub](https://vitehub.dev/raw/index.md)

## Documentation Sets

- [ViteHub](https://vitehub.dev/llms-full.txt): Server primitives for Vite.

## When to use ViteHub

Use ViteHub when a Vite application needs portable server storage, queues, workflows, schedules, sandboxes, or other Server Primitives; when it needs inspectable Agent Definitions with explicit Capabilities and Workspaces; or when the same runtime behavior must deploy across supported hosts without leaking provider APIs into application code.

- [Choose a ViteHub layer](https://vitehub.dev/raw/docs/getting-started.md): Decide whether the job needs a Server Primitive, an Agent, or both.
- [Install ViteHub](https://vitehub.dev/raw/docs/getting-started/installation.md): Install the framework distribution or a focused owner package.

## ViteHub developer resources

Use these named machine interfaces to inspect ViteHub before reading the full documentation set. ViteHub is installed into your application and does not expose a shared hosted runtime API.

- [ViteHub OpenAPI document](https://vitehub.dev/openapi.json): Discover the public machine-readable resources served by vitehub.dev.
- [ViteHub Agent Skill](https://vitehub.dev/.well-known/skills/vitehub/SKILL.md): Install or inspect the coding-agent instructions and routed references.
- [ViteHub MCP server](https://vitehub.dev/mcp): Connect an MCP client to the Streamable HTTP documentation endpoint.
- [ViteHub CLI on npm](https://www.npmjs.com/package/vite-hub): Install the official CLI included with the vite-hub package.

## Project and trust information

- [About ViteHub](https://vitehub.dev/raw/about.md)
- [Contact ViteHub](https://vitehub.dev/raw/contact.md)
- [ViteHub privacy](https://vitehub.dev/raw/privacy.md)

## Docs

Every page below is available as raw markdown.

- [ViteHub documentation](https://vitehub.dev/raw/docs.md): Server Primitives and Agents for Vite applications, one product section each, deployed on the host you select.
- [Agents](https://vitehub.dev/raw/docs/agents.md): Define a server-side Agent, choose how it runs, and connect it to your application.
- [Agent Actors](https://vitehub.dev/raw/docs/agents/actors.md): Carry trusted caller identity into one Agent Invocation.
- [Agent Definitions](https://vitehub.dev/raw/docs/agents/agent-definitions.md): Declare how one Agent runs, what it can use, and how callers reach it.
- [Agent Drivers](https://vitehub.dev/raw/docs/agents/agent-drivers.md): Choose model-backed, provider-backed, question-backed, or application-owned Agent execution.
- [Babysitter](https://vitehub.dev/raw/docs/agents/babysitter.md): Deploy an Agent that repairs pull requests, waits for checks, and merges ready ones.
- [Run your first Box](https://vitehub.dev/raw/docs/agents/box-tutorial.md): Open a trusted-host Box, run one command, and inspect the result.
- [Boxes](https://vitehub.dev/raw/docs/agents/boxes.md): Run a built-in provider Driver inside a Box with a private Home, checkout, credentials, and process requirements.
- [Capabilities](https://vitehub.dev/raw/docs/agents/capabilities.md): Give an Agent tools and behavior without handing it unrestricted server access.
- [Access](https://vitehub.dev/raw/docs/agents/capabilities/access.md): Admit trusted chat traffic and narrow the Workspace before other Capabilities add tools.
- [Chat](https://vitehub.dev/raw/docs/agents/capabilities/chat.md): Add the chat.message Agent Trigger, Chat History state, and chat finish behavior to an Agent without Channels.
- [Chat summary](https://vitehub.dev/raw/docs/agents/capabilities/chat-summary.md): Add a summary command that replaces explicit input with a conversation summary.
- [Code Host](https://vitehub.dev/raw/docs/agents/capabilities/code-host.md): Read and change repositories on GitHub, GitLab and Forgejo.
- [Custom capabilities](https://vitehub.dev/raw/docs/agents/capabilities/custom.md): Build one product-specific Agent ability with requirements, tools, policy, and metadata.
- [Diagnostics](https://vitehub.dev/raw/docs/agents/capabilities/diagnostics.md): Report Agent Invocation outcomes and scoped runtime resource observations.
- [Fetch](https://vitehub.dev/raw/docs/agents/capabilities/fetch.md): Expose named HTTP request tools for developer-approved endpoints.
- [Git](https://vitehub.dev/raw/docs/agents/capabilities/git.md): Give an Agent bounded Git source-history access inside a Workspace Session.
- [Gmail](https://vitehub.dev/raw/docs/agents/capabilities/gmail.md): Let an Agent search and read Gmail and create unsent drafts through a Google Connection.
- [Input commands](https://vitehub.dev/raw/docs/agents/capabilities/input-commands.md): Transform explicit user commands such as /docs before the Agent Driver runs.
- [LLM gate](https://vitehub.dev/raw/docs/agents/capabilities/llm-gate.md): Allow or reject an Agent Invocation with a model decision before the Agent Driver runs.
- [LLM route](https://vitehub.dev/raw/docs/agents/capabilities/llm-route.md): Choose one developer-defined route with a model decision before the Agent Driver runs.
- [MCP](https://vitehub.dev/raw/docs/agents/capabilities/mcp.md): Connect an Agent to external MCP server tools.
- [Memory](https://vitehub.dev/raw/docs/agents/capabilities/memory.md): Add scoped durable memory records that an Agent can search, read, remember, and delete.
- [Official capabilities](https://vitehub.dev/raw/docs/agents/capabilities/official.md): Choose an official Capability by what the Agent needs to do.
- [OpenAPI](https://vitehub.dev/raw/docs/agents/capabilities/openapi.md): Expose selected OpenAPI operations as bounded Agent tools or a generated Capability CLI.
- [OTLP](https://vitehub.dev/raw/docs/agents/capabilities/otlp.md): Export live Agent Invocation events and completed traces to an OpenTelemetry receiver.
- [Papercuts](https://vitehub.dev/raw/docs/agents/capabilities/papercuts.md): Let an Agent report small failures and wasted work to an application-owned sink.
- [Progress summary](https://vitehub.dev/raw/docs/agents/capabilities/progress-summary.md): Stream a short user-facing summary of current Agent activity.
- [Skills](https://vitehub.dev/raw/docs/agents/capabilities/skills.md): Make a Workspace or external Source Skill available to an Agent.
- [Title](https://vitehub.dev/raw/docs/agents/capabilities/title.md): Generate a short title for an Agent Invocation and attach it to output, finish hooks, and Channel threads.
- [Transcribe](https://vitehub.dev/raw/docs/agents/capabilities/transcribe.md): Convert audio input parts into transcript text before an Agent runs.
- [Usage](https://vitehub.dev/raw/docs/agents/capabilities/usage.md): Request provider usage metadata and expose normalized tokens and cost at finish.
- [Web search](https://vitehub.dev/raw/docs/agents/capabilities/web-search.md): Add model web search or normalized web search and read tools.
- [Channels](https://vitehub.dev/raw/docs/agents/channels.md): Connect an Agent to web chat and messaging platforms without mixing transport with identity.
- [Chat History and sessions](https://vitehub.dev/raw/docs/agents/chat-history-sessions.md): Select prior conversation messages without confusing them with durable Agent Memory.
- [Code Host Channels](https://vitehub.dev/raw/docs/agents/code-host-channels.md): Run an Agent on GitLab, Forgejo, and Codeberg pull request events.
- [Child invocations](https://vitehub.dev/raw/docs/agents/controlled-child-invocations.md): Start, inspect, respond to, and cancel child Agent work from trusted code.
- [Evals](https://vitehub.dev/raw/docs/agents/evals.md): Run repeatable scenarios against an Agent Definition and score its behavior.
- [Define your first Agent](https://vitehub.dev/raw/docs/agents/get-started.md): Build an offline greeting Agent and call it from a server route.
- [Gmail Channel](https://vitehub.dev/raw/docs/agents/gmail.md): Run an Agent on each new Gmail message and let hooks label, archive, or trash it.
- [Instructions](https://vitehub.dev/raw/docs/agents/instructions.md): Write durable model-facing behavior and policy for an Agent.
- [Invocations](https://vitehub.dev/raw/docs/agents/invocations.md): Run, stream, and observe one request to an Agent.
- [Auth Users and Agent Invokers](https://vitehub.dev/raw/docs/agents/invokers.md): Understand how application identity becomes trusted invocation identity.
- [Observability](https://vitehub.dev/raw/docs/agents/observability.md): Export Agent lifecycle events, request failures and durable papercut reports through evlog.
- [Agent presets](https://vitehub.dev/raw/docs/agents/presets.md): Start from a reusable Agent Definition and configure it for your application.
- [Provider status](https://vitehub.dev/raw/docs/agents/provider-status.md): Inspect provider authentication and subscription quota without running an Agent.
- [Runtime policy, approvals, and traces](https://vitehub.dev/raw/docs/agents/runtime-policy.md): Choose when an Agent tool can run and inspect the decision afterward.
- [Build a support Agent](https://vitehub.dev/raw/docs/agents/support-agent.md): Compose a support Agent that answers in Teams from scoped Workspace evidence.
- [Triggers](https://vitehub.dev/raw/docs/agents/triggers.md): Translate product events into Agent Invocations while the Driver continues to own execution.
- [Workspace context](https://vitehub.dev/raw/docs/agents/workspace-context.md): Give an Agent scoped files and Sources with explicit read and write authority.
- [Workspace preset](https://vitehub.dev/raw/docs/agents/workspace-preset.md): Read mounted Sources and cite files at their resolved GitHub revision.
- [Auth](https://vitehub.dev/raw/docs/auth.md): Configure Better Auth server behavior, route exposure, runtime options, and session checks.
- [Auth configuration](https://vitehub.dev/raw/docs/auth/configure.md): Write the Auth Definition, supply runtime options, and record storage placement.
- [Create your first Auth session](https://vitehub.dev/raw/docs/auth/get-started.md): Create an email-and-password user and verify their session with a saved cookie.
- [Auth hosts](https://vitehub.dev/raw/docs/auth/hosts.md): See what Better Auth owns and what Auth generates for each host.
- [Auth limits and errors](https://vitehub.dev/raw/docs/auth/limits-and-errors.md): Check Auth before production and handle Auth error codes.
- [Auth server API](https://vitehub.dev/raw/docs/auth/server-api.md): Read sessions, call Better Auth, and guard routes from server and Vue code.
- [Blob](https://vitehub.dev/raw/docs/blob.md): Store uploads, generated files, binary objects, and metadata with one object-storage API.
- [Blob capability](https://vitehub.dev/raw/docs/blob/agent-capability.md): Give an Agent a Blob read tool and, in write mode, a tool that puts or deletes objects.
- [Blob configuration](https://vitehub.dev/raw/docs/blob/configure.md): Configure Blob Stores, the opt-in serve route, and provider options.
- [Store your first Blob object](https://vitehub.dev/raw/docs/blob/get-started.md): Write a local text file to Blob and inspect its stored metadata.
- [Blob hosts](https://vitehub.dev/raw/docs/blob/hosts.md): Set up provider output, development access, Cloudflare R2, S3-compatible storage, and MinIO.
- [Blob server API](https://vitehub.dev/raw/docs/blob/server-api.md): Read, write, list, upload, sign, and validate objects from server code, and check production rules.
- [Browser](https://vitehub.dev/raw/docs/browser.md): Define provider-backed browser operations without exposing provider setup to application code.
- [Browser capability](https://vitehub.dev/raw/docs/browser/agent-capability.md): Give a Provider Agent the agent-browser CLI, a headless Chromium, and the official browser Skill.
- [Browser configuration](https://vitehub.dev/raw/docs/browser/configure.md): Configure the Browser Run binding, the session engine, and remote local development.
- [Run your first Browser Definition](https://vitehub.dev/raw/docs/browser/get-started.md): Read a page with Cloudflare Browser Run and return its rendered HTML.
- [Browser hosts](https://vitehub.dev/raw/docs/browser/hosts.md): Browser providers, host support, and Cloudflare Provider Output.
- [Browser limits and errors](https://vitehub.dev/raw/docs/browser/limits-and-errors.md): Browser timeouts, handoff limits, and production checks.
- [Browser server API](https://vitehub.dev/raw/docs/browser/server-api.md): Define, run, and control browser operations from server code.
- [Channels](https://vitehub.dev/raw/docs/channels.md): Define named server delivery channels and send through a selected connector.
- [Channels capability](https://vitehub.dev/raw/docs/channels/agent-capability.md): Let an Agent send its result through a Channel to a recipient that the application selects.
- [Send through your first Channel](https://vitehub.dev/raw/docs/channels/get-started.md): Send a local build notification and inspect the connector receipt.
- [Channels server API](https://vitehub.dev/raw/docs/channels/server-api.md): Send messages through a named Channel and read the delivery receipt.
- [Connections](https://vitehub.dev/raw/docs/connections.md): Connect provider accounts with OAuth 2 or an API key, call their APIs with access rules, and record how routes and Agents use them.
- [Connections configuration](https://vitehub.dev/raw/docs/connections/configure.md): Configure provider origins, API key Connections, access rules, and Connections options.
- [Connect your first provider account](https://vitehub.dev/raw/docs/connections/get-started.md): Connect a Google account with OAuth and read its Gmail labels.
- [Connections limits and errors](https://vitehub.dev/raw/docs/connections/limits-and-errors.md): Connections storage, security guarantees, and error codes.
- [Connections server API](https://vitehub.dev/raw/docs/connections/server-api.md): Call a Connection from server code, read its activity, and manage Connections from the CLI.
- [Content](https://vitehub.dev/raw/docs/content.md): Parse, query, search, and serve Source content with Comark Content.
- [Content configuration](https://vitehub.dev/raw/docs/content/configure.md): Define Content Sources, plugins, and Comark options with defineContent(), select a database, and check definition limits.
- [Read your first Content document](https://vitehub.dev/raw/docs/content/get-started.md): Parse a local Markdown file and read its Content document from a route.
- [Content server API](https://vitehub.dev/raw/docs/content/server-api.md): Read documents, navigation, search results, and cache entries from the Content runtime.
- [Database](https://vitehub.dev/raw/docs/database.md): Define relational data with Drizzle and query it through generated ViteHub imports.
- [Database capability](https://vitehub.dev/raw/docs/database/agent-capability.md): Give an Agent guarded SQL query and schema tools and, in write modes, one mutation tool.
- [Database configuration](https://vitehub.dev/raw/docs/database/configure.md): Set Database integration options and define Default and Named Databases.
- [Query your first Database](https://vitehub.dev/raw/docs/database/get-started.md): Create a SQLite notes table with Drizzle and query it from a server route.
- [Database hosts](https://vitehub.dev/raw/docs/database/hosts.md): Select local SQLite, hosted libSQL, or Cloudflare D1, read what each host output contains, and check production rules.
- [Database server API](https://vitehub.dev/raw/docs/database/server-api.md): Query a discovered database from server code with a typed Drizzle client.
- [Local development](https://vitehub.dev/raw/docs/development.md): Run ViteHub locally, inspect generated files, and verify the behavior you changed.
- [CLI](https://vitehub.dev/raw/docs/development/cli.md): Run package-owned development workflows through the local Vite config.
- [Console](https://vitehub.dev/raw/docs/development/console.md): Enable the Console, inspect configured primitives, and protect its routes.
- [Definition discovery](https://vitehub.dev/raw/docs/development/definition-discovery.md): Understand how a ViteHub file becomes a named runtime entry.
- [Generated files](https://vitehub.dev/raw/docs/development/generated-files.md): Inspect ViteHub generated files without making them public authoring surfaces.
- [Vite integrations and Provider Output](https://vitehub.dev/raw/docs/development/integrations-and-output.md): Understand how ViteHub prepares a package for development and deployment.
- [Provisioning](https://vitehub.dev/raw/docs/development/provisioning.md): Create missing provider resources and write non-secret provider ids into local provision state.
- [Troubleshooting](https://vitehub.dev/raw/docs/development/troubleshooting.md): Diagnose common ViteHub development failures from symptoms to proof paths.
- [Verification](https://vitehub.dev/raw/docs/development/verification.md): Choose the right proof tier for ViteHub primitives and provider behavior.
- [Email](https://vitehub.dev/raw/docs/email.md): Send outbound transactional email through a provider-neutral driver contract, with dynamic Markdown composition and safe test capture.
- [Email capability](https://vitehub.dev/raw/docs/email/agent-capability.md): Let an Agent send plain-text email from an application-owned sender to allowed recipients.
- [Email configuration](https://vitehub.dev/raw/docs/email/configure.md): Configure the Email Vite Integration, select a driver, and connect another provider.
- [Send your first Email](https://vitehub.dev/raw/docs/email/get-started.md): Send a welcome email with Resend and check the delivery result.
- [Email hosts](https://vitehub.dev/raw/docs/email/hosts.md): Understand provider behavior, the development outbox, and Email runtime requirements.
- [Email limits and errors](https://vitehub.dev/raw/docs/email/limits-and-errors.md): Handle Email delivery errors and troubleshoot common failures.
- [Email server API](https://vitehub.dev/raw/docs/email/server-api.md): Send messages, compose dynamic Markdown, and capture email in tests from server code.
- [Env](https://vitehub.dev/raw/docs/env.md): Declare public, build-time, server runtime, and secret values behind typed ViteHub accessors.
- [Env Bridge](https://vitehub.dev/raw/docs/env/bridge.md): Replace application credentials at runtime with scoped access and persistent activity.
- [Env configuration](https://vitehub.dev/raw/docs/env/configure.md): Declare Public Env, Define Env, and Server Env values, their sources, and their types.
- [Read your first environment value](https://vitehub.dev/raw/docs/env/get-started.md): Declare a safe application name and read it from the generated Public Env module.
- [Env limits and errors](https://vitehub.dev/raw/docs/env/limits-and-errors.md): Handle structured Env errors and check Env before production.
- [Env server API](https://vitehub.dev/raw/docs/env/server-api.md): Read Public Env and Server Env, load provider-backed values, and inspect Env status.
- [Frameworks and hosts](https://vitehub.dev/raw/docs/frameworks-hosts.md): Choose a framework integration and a deployment preset, and see what ViteHub builds for each host.
- [Cloudflare](https://vitehub.dev/raw/docs/frameworks-hosts/cloudflare.md): Configure Cloudflare Provider Output while keeping ViteHub Definitions and Runtime Helpers host-neutral.
- [Deno](https://vitehub.dev/raw/docs/frameworks-hosts/deno.md): Generate Deno server output for Agent routes and Schedule wake output without making app code Deno-specific.
- [Netlify](https://vitehub.dev/raw/docs/frameworks-hosts/netlify.md): Use the ViteHub package contracts that have explicit Netlify runtime or function output.
- [Nitro and UnJS](https://vitehub.dev/raw/docs/frameworks-hosts/nitro-unjs.md): Understand the narrow boundary between ViteHub, Nitro, and UnJS server runtimes.
- [Node and self-hosted](https://vitehub.dev/raw/docs/frameworks-hosts/node-self-hosted.md): Build a Node.js server with the node preset and choose storage that survives restarts.
- [Nuxt](https://vitehub.dev/raw/docs/frameworks-hosts/nuxt.md): Register ViteHub in a Nuxt application and see what the Nuxt module does differently from the Vite integration.
- [Prepare a production deployment](https://vitehub.dev/raw/docs/frameworks-hosts/production.md): Choose durable providers, protect entry points, and verify recovery before serving application traffic.
- [Runtime and host support](https://vitehub.dev/raw/docs/frameworks-hosts/support-matrix.md): Check which ViteHub contracts exist for each host and how the repository proves them.
- [Vercel](https://vitehub.dev/raw/docs/frameworks-hosts/vercel.md): Generate Vercel Provider Output while preserving ViteHub package boundaries.
- [Introduction](https://vitehub.dev/raw/docs/getting-started.md): Choose the ViteHub layer that matches the first thing you need to build.
- [Give your coding agent ViteHub context](https://vitehub.dev/raw/docs/getting-started/ai-resources.md): Choose the skill, MCP server, page action, or index that gives a coding agent current ViteHub documentation.
- [Add the ViteHub skill](https://vitehub.dev/raw/docs/getting-started/ai-resources/agent-instructions-skills.md): Install the ViteHub coding-agent skill in Claude Code, Cursor, VS Code, Windsurf, or Codex.
- [Copy a page for an LLM](https://vitehub.dev/raw/docs/getting-started/ai-resources/markdown-pages.md): Copy, view, or open any ViteHub docs page as Markdown in ChatGPT, Claude, or another tool.
- [Connect the docs MCP server](https://vitehub.dev/raw/docs/getting-started/ai-resources/mcp-server.md): Let your coding agent list and read ViteHub documentation pages through MCP.
- [Build and deploy](https://vitehub.dev/raw/docs/getting-started/build-and-deploy.md): Find the setup, development tools, and API reference for your application.
- [How ViteHub works](https://vitehub.dev/raw/docs/getting-started/concepts.md): Understand the few parts that connect application code, server features, and Agents.
- [First Agent](https://vitehub.dev/raw/docs/getting-started/first-agent.md): Define a server-side Agent, call it from H3, and see the response.
- [First Server Primitive](https://vitehub.dev/raw/docs/getting-started/first-server-primitive.md): Add local KV to a small Vite server and return one stored value.
- [Installation](https://vitehub.dev/raw/docs/getting-started/installation.md): Install the ViteHub framework distribution, select a deployment preset, or choose a direct owner package for advanced composition.
- [Migrate from NuxtHub](https://vitehub.dev/raw/docs/getting-started/migrate-from-nuxthub.md): Move a Nuxt application from NuxtHub KV, Blob, and Database to ViteHub, and see which NuxtHub features have no ViteHub equivalent.
- [Server Primitives](https://vitehub.dev/raw/docs/getting-started/server-primitives.md): Add storage, queues, schedules, email, and other server APIs to a Vite app on any supported host.
- [KV](https://vitehub.dev/raw/docs/kv.md): Store and retrieve small values by key through one key-value API.
- [KV capability](https://vitehub.dev/raw/docs/kv/agent-capability.md): Give an Agent a KV read tool and, in write mode, a tool that puts or deletes one key.
- [KV configuration](https://vitehub.dev/raw/docs/kv/configure.md): Configure the Default KV Store, named KV Stores, and KV drivers.
- [Store your first KV value](https://vitehub.dev/raw/docs/kv/get-started.md): Write a theme setting to local KV and read the same key back.
- [KV hosts](https://vitehub.dev/raw/docs/kv/hosts.md): Keep KV code portable across providers, read keys during development, and know production limits.
- [KV server API](https://vitehub.dev/raw/docs/kv/server-api.md): Read, write, and delete KV keys from server code.
- [Queue](https://vitehub.dev/raw/docs/queue.md): Define Queue Definitions, enqueue Queue Jobs, and choose Cloudflare or Vercel Queue Providers.
- [Queue concepts](https://vitehub.dev/raw/docs/queue/concepts.md): Understand what queue acceptance, delivery, retries, and provider output mean for a Queue Definition.
- [Queue configuration](https://vitehub.dev/raw/docs/queue/configure.md): Configure the Queue Vite Integration, Queue Providers, generated names, and Queue Definitions.
- [Process a welcome job with Queue](https://vitehub.dev/raw/docs/queue/get-started.md): Submit a welcome job to Cloudflare Queues and verify its delivery.
- [Queue hosts](https://vitehub.dev/raw/docs/queue/hosts.md): Check Queue discovery locally and inspect the Provider Output for Cloudflare and Vercel.
- [Queue limits and errors](https://vitehub.dev/raw/docs/queue/limits-and-errors.md): Handle Queue error codes and check delivery guarantees before production.
- [Queue server API](https://vitehub.dev/raw/docs/queue/server-api.md): Enqueue Queue Jobs, handle delivery failures, and use the Queue Runtime Helpers from server code.
- [Rate Limit](https://vitehub.dev/raw/docs/rate-limit.md): Require request budgets through an event-first H3 guard and atomic drivers.
- [Rate Limit capability](https://vitehub.dev/raw/docs/rate-limit/agent-capability.md): Consume a Rate Limiter before an Agent Invocation starts.
- [Guard your first request](https://vitehub.dev/raw/docs/rate-limit/get-started.md): Allow two requests per minute and check that the third returns HTTP 429.
- [Rate Limit hosts](https://vitehub.dev/raw/docs/rate-limit/hosts.md): Inspect the generated Rate Limit manifest and deploy managed Rate Limits to Cloudflare.
- [Rate Limit limits and errors](https://vitehub.dev/raw/docs/rate-limit/limits-and-errors.md): Know the enforcement, identity, and provider limits of Rate Limit.
- [Rate Limit server API](https://vitehub.dev/raw/docs/rate-limit/server-api.md): Require managed Rate Limits, read limiter decisions, and build direct limiters around drivers.
- [Realtime collaboration](https://vitehub.dev/raw/docs/realtime.md): Sync collaborative Markdown through Workspace, choose a room authority, and create durable checkpoints.
- [Realtime configuration](https://vitehub.dev/raw/docs/realtime/configure.md): Choose the room authority that keeps Realtime collaborative state and check Realtime limits.
- [Create your first collaborative room](https://vitehub.dev/raw/docs/realtime/get-started.md): Connect two TipTap editors to the same document and verify synchronization.
- [Realtime server API](https://vitehub.dev/raw/docs/realtime/server-api.md): Realtime imports, generated output, and durable checkpoints into Workspace.
- [Package reference](https://vitehub.dev/raw/docs/reference.md): Find the ViteHub package and public import for each feature.
- [Config options](https://vitehub.dev/raw/docs/reference/config-options.md): Reference the main ViteHub Integration Options and where provider choices belong.
- [Doctor rules](https://vitehub.dev/raw/docs/reference/doctor-rules.md): Find ViteHub mistakes in application code with Vite Doctor.
- [Errors and diagnostics](https://vitehub.dev/raw/docs/reference/errors-diagnostics.md): Reference ViteHub error codes and the local proof path for each primitive.
- [File conventions](https://vitehub.dev/raw/docs/reference/file-conventions.md): Reference the discovery paths that produce ViteHub Discovered Definitions and Discovery Identity.
- [Durable pull request waits](https://vitehub.dev/raw/docs/reference/github-inbox-waits.md): Park a pull request until structured host evidence changes.
- [Import paths](https://vitehub.dev/raw/docs/reference/import-paths.md): Distinguish stable ViteHub imports from generated files, provider modules, and internal package paths.
- [Render your first Markdown template](https://vitehub.dev/raw/docs/reference/markdown-template-tutorial.md): Install the Markdown Template package, bind data, and return rendered Markdown.
- [Markdown templates](https://vitehub.dev/raw/docs/reference/markdown-templates.md): Render deterministic Markdown from explicit data, bounded conditions, and fragments.
- [Provider output](https://vitehub.dev/raw/docs/reference/provider-output.md): Reference generated deployment and runtime artifacts owned by ViteHub package integrations.
- [Runtime Context](https://vitehub.dev/raw/docs/reference/runtime-context.md): Understand the host resources passed into a server operation or Agent request.
- [Runtime events](https://vitehub.dev/raw/docs/reference/runtime-events.md): Reference runtime event, policy, approval, stream, and usage records across ViteHub packages.
- [Runtime Helpers and stable imports](https://vitehub.dev/raw/docs/reference/runtime-helpers.md): Understand which imports application code uses to call ViteHub.
- [Sandbox](https://vitehub.dev/raw/docs/sandbox.md): Run named package projects in an isolated Cloudflare or Vercel Sandbox.
- [Sandbox capability](https://vitehub.dev/raw/docs/sandbox/agent-capability.md): Let an Agent run allowlisted executables in an isolated sandbox through one sandbox_exec tool.
- [Sandbox concepts](https://vitehub.dev/raw/docs/sandbox/concepts.md): Understand the boundary between a Sandbox definition, its provider runtime, and the application that starts it.
- [Sandbox configuration](https://vitehub.dev/raw/docs/sandbox/configure.md): Lay out Sandbox package projects, free-form Definitions, entrypoints, and Definition options.
- [Run a package in a Sandbox](https://vitehub.dev/raw/docs/sandbox/get-started.md): Run a package that counts image pixels in Vercel Sandbox and return its JSON result.
- [Sandbox hosts](https://vitehub.dev/raw/docs/sandbox/hosts.md): Sandbox providers, host support, provider options, and Provider Output.
- [Sandbox limits and errors](https://vitehub.dev/raw/docs/sandbox/limits-and-errors.md): Sandbox timeouts, Box reuse, and production checks.
- [Sandbox server API](https://vitehub.dev/raw/docs/sandbox/server-api.md): Run Sandbox Definitions from server code and read their results.
- [Schedule](https://vitehub.dev/raw/docs/schedule.md): Declare static cron schedules and manage recurring Runtime Schedules for eligible targets.
- [Schedule capability](https://vitehub.dev/raw/docs/schedule/agent-capability.md): Declare Agent Schedules or let an Agent manage Runtime Schedules through one cronjob tool.
- [Schedule configuration](https://vitehub.dev/raw/docs/schedule/configure.md): Configure the Schedule Vite Integration, the Process Runtime, Schedule Definitions, and storage.
- [Run a daily report once with Schedule](https://vitehub.dev/raw/docs/schedule/get-started.md): Declare a UTC schedule and execute one occurrence with the direct runtime API.
- [Schedule hosts](https://vitehub.dev/raw/docs/schedule/hosts.md): Understand Schedule Provider Output, development inspection, Runtime Schedule wake drivers, and production checks.
- [Schedule server API](https://vitehub.dev/raw/docs/schedule/server-api.md): Create, update, run, and inspect Runtime Schedules from server code.
- [Shell](https://vitehub.dev/raw/docs/shell.md): Run Unix-like commands with configured filesystem, process, network, timeout, and policy access.
- [Shell configuration](https://vitehub.dev/raw/docs/shell/configure.md): Select a Shell provider and set runtime, session, and exec options.
- [Run your first Shell command](https://vitehub.dev/raw/docs/shell/get-started.md): Search a read-only Workspace with Just Bash and inspect the command output.
- [Shell limits and errors](https://vitehub.dev/raw/docs/shell/limits-and-errors.md): Shell policy limits and production checks.
- [Shell server API](https://vitehub.dev/raw/docs/shell/server-api.md): Import Shell APIs, use Shell sessions, analyze commands, and read Shell Observations.
- [Source](https://vitehub.dev/raw/docs/source.md): Retrieve read-only files, records, and external resources through typed source loaders.
- [Source configuration](https://vitehub.dev/raw/docs/source/configure.md): Configure built-in Source loaders, cache policy, and custom loader definitions.
- [Read your first Source](https://vitehub.dev/raw/docs/source/get-started.md): Read a known Markdown file through a local glob Source.
- [Source hosts](https://vitehub.dev/raw/docs/source/hosts.md): Runtime requirements for each Source loader and the routes that need the Vite integration.
- [Source limits and errors](https://vitehub.dev/raw/docs/source/limits-and-errors.md): Path, symlink, secret, cache, and Collection checks for Sources in production.
- [Source server API](https://vitehub.dev/raw/docs/source/server-api.md): Open Source readers, register and combine Sources, cache readers, and expose typed Collections.
- [ViteHub UI](https://vitehub.dev/raw/docs/ui.md): Console-ready Vue components for chat, sessions, Agent runs, and code views.
- [Attachments](https://vitehub.dev/raw/docs/ui/attachments.md): Validate browser files, preview them, and convert them to AI SDK file parts.
- [Chat App](https://vitehub.dev/raw/docs/ui/blocks/chat-app.md): A complete chat layout with a session list, streamed replies, and a prompt with attachments.
- [Code Review](https://vitehub.dev/raw/docs/ui/blocks/code-review.md): Review an Agent's changes with a file tree, a patch diff for the selected file, and the verification trace.
- [Invocation Dashboard](https://vitehub.dev/raw/docs/ui/blocks/invocation-dashboard.md): A three-pane view with the session list, the selected Invocation thread, and its inspector.
- [UI for Vue and Nuxt](https://vitehub.dev/raw/docs/ui/built-for-vue.md): Use Vue components for chat, sessions, files, and Agent inspection.
- [Capability Inspector](https://vitehub.dev/raw/docs/ui/capability-inspector.md): Show what each Capability recorded for one Invocation, including MCP servers, tool contracts, and custom read-only views.
- [Chat](https://vitehub.dev/raw/docs/ui/chat.md): Render an AI SDK message list that follows streaming output and keeps the reader's scroll position.
- [Chat Message](https://vitehub.dev/raw/docs/ui/chat-message.md): Render one AI SDK UI message with Nuxt UI chrome and customizable part slots.
- [Chat Prompt](https://vitehub.dev/raw/docs/ui/chat-prompt.md): Collect prompt text and file attachments with a submit control that follows the AI SDK chat status.
- [Code View](https://vitehub.dev/raw/docs/ui/code-view.md): Render syntax-highlighted files, and virtualized lists that mix files and diffs.
- [Diff](https://vitehub.dev/raw/docs/ui/diff.md): Render unified patches, file comparisons, parsed diffs, and merge conflicts with Pierre.
- [File Tree](https://vitehub.dev/raw/docs/ui/file-tree.md): Render and control Pierre's path-first file tree from Vue.
- [Build your first UI view](https://vitehub.dev/raw/docs/ui/get-started.md): Render a local question and reply with AgentChat in a Nuxt application.
- [Installation](https://vitehub.dev/raw/docs/ui/installation.md): Add ViteHub UI to a Nuxt or Vue application.
- [Invocation](https://vitehub.dev/raw/docs/ui/invocation.md): Present one persisted Agent Invocation as a readable session thread.
- [Invocation Inspector](https://vitehub.dev/raw/docs/ui/invocation-inspector.md): Inspect the outcome, run summary, Agent setup, Capabilities, tools, and identifiers of one Invocation.
- [Invocation List](https://vitehub.dev/raw/docs/ui/invocation-list.md): Browse Agent Invocation summaries in an accessible, paginated session list.
- [Markdown](https://vitehub.dev/raw/docs/ui/markdown.md): Render streaming assistant Markdown with chat typography, math, and image previews.
- [Message Parts](https://vitehub.dev/raw/docs/ui/message-parts.md): Render every AI SDK UIMessage part type, with a slot for each type.
- [Message Scroller](https://vitehub.dev/raw/docs/ui/message-scroller.md): Compose headless message scrolling with live-edge following, prepend preservation, and message jumps.
- [Session](https://vitehub.dev/raw/docs/ui/session.md): Present an application-owned chat session with a title and the same AI SDK message contract.
- [Timeline](https://vitehub.dev/raw/docs/ui/timeline.md): List the timed steps of one Agent Invocation with their owner, offset, and duration.
- [Tool List](https://vitehub.dev/raw/docs/ui/tool-list.md): Render Agent tool contracts with labels, schemas, MCP origin, and call counts.
- [Trace](https://vitehub.dev/raw/docs/ui/trace.md): Render a derived runtime trace run and its timed steps in a compact disclosure.
- [Workflows](https://vitehub.dev/raw/docs/workflows.md): Start provider-tracked long-running work with run ids, durable state, and optional steps.
- [Workflow concepts](https://vitehub.dev/raw/docs/workflows/concepts.md): Understand workflow runs, durable steps, retries, and provider state before you design a long-running job.
- [Workflows configuration](https://vitehub.dev/raw/docs/workflows/configure.md): Set Workflow integration options, define Workflows, and add a durable Vercel entry.
- [Start your first Workflow](https://vitehub.dev/raw/docs/workflows/get-started.md): Start a two-step onboarding Workflow and inspect its run id.
- [Workflows hosts](https://vitehub.dev/raw/docs/workflows/hosts.md): Select a Workflow Provider and its storage for each host.
- [Workflows limits and errors](https://vitehub.dev/raw/docs/workflows/limits-and-errors.md): Throw stable Workflow errors and check Workflows before production.
- [Workflows server API](https://vitehub.dev/raw/docs/workflows/server-api.md): Start, defer, inspect, cancel, and resume Workflow Runs from server code.
- [Workspace](https://vitehub.dev/raw/docs/workspace.md): Build persistent file-tree state with rules, Source Bindings, snapshots, diffs, and sessions.
- [Workspace capability](https://vitehub.dev/raw/docs/workspace/agent-capability.md): Give an Agent Workspace inspection and file mutation tools, plus an optional allowlist of executables for Provider Drivers.
- [Workspaces and Sources](https://vitehub.dev/raw/docs/workspace/concepts.md): Choose a writable file tree, read-only content, or a combination of both.
- [Workspace configuration](https://vitehub.dev/raw/docs/workspace/configure.md): Configure the Workspace Vite integration, Store providers, Workspace Definitions, and Source Bindings.
- [Build your first Workspace](https://vitehub.dev/raw/docs/workspace/get-started.md): Read a mounted Markdown file and write a draft with explicit Workspace access.
- [Workspace hosts](https://vitehub.dev/raw/docs/workspace/hosts.md): Generated Workspace output, types, and Cloudflare Artifacts Store behavior on deployed hosts.
- [Workspace limits and errors](https://vitehub.dev/raw/docs/workspace/limits-and-errors.md): Local Store filesystem checks and recovery after a crashed process leaves lock markers.
- [Workspace server API](https://vitehub.dev/raw/docs/workspace/server-api.md): Read, write, diff, snapshot, sync, and run sessions on a Workspace from server code.

## Trust

Every page below is available as raw markdown.

- [About ViteHub](https://vitehub.dev/raw/about.md): Learn what ViteHub builds, how the project works, and where its public source and documentation live.
- [Contact ViteHub](https://vitehub.dev/raw/contact.md): Choose the right public or private channel for ViteHub support, bugs, security reports, and documentation changes.
- [ViteHub privacy](https://vitehub.dev/raw/privacy.md): Understand what the ViteHub documentation site handles and how that differs from applications built with ViteHub.