ViteHub is still experimental. Expect bugs and breaking changes.

Concepts

Learn the ViteHub terms that help you choose an API and understand what runs where.

ViteHub adds server features to Vite applications and lets Agents use selected features through Capabilities. These pages explain the terms that connect those two paths.

For setup and API options, go to Server primitives, Agents, Capabilities, or Reference.

Start here

PageRead it when
Server primitivesYou need storage, background work, auth, isolated execution, or another server feature.
AgentsYou need a named actor that runs with a model, coding provider, or application code.

Core vocabulary

PageDefines
Definition discoveryHow ViteHub finds and names a definition file.
Agent InvocationsWhat ViteHub resolves and records for one Agent request.
CapabilitiesHow an Agent receives a selected ability.
Workspace and SourcesHow a writable file tree differs from the read-only content mounted into it.
Auth Users and Agent InvokersHow application identity becomes trusted invocation identity.
ChannelsHow messages, delivery facts, and host commands reach an Agent.
BashHow Capability-provided commands appear as one Agent tool.

Runtime execution

PageDefines
Runtime ContextThe host resources available to a server operation or Agent request.
Runtime Helpers and stable importsThe imports application code uses to call ViteHub.
Runtime policy, approvals, and tracesThe records that explain whether work ran, waited, or failed.

Host and build model

PageDefines
Vite Integrations and Provider OutputHow ViteHub prepares a package for development and deployment.

Next steps

Open Installation for a runnable project. If you already know what you need, go to Server primitives or Agents.