ViteHub is still experimental. Expect bugs and breaking changes.

Official capabilities

Choose an official Capability by what the Agent needs to do.

ViteHub exports its built-in Capabilities from @vite-hub/agent/capabilities. Choose a Capability by what the Agent needs to do. Each linked page shows how to configure it, what the Agent receives, and how to verify it.

server/agents/support.ts
import {
  access,
  blob,
  browser,
  chat,
  chatSummary,
  title,
  db,
  email,
  fetch,
  git,
  gmail,
  inputCommands,
  kv,
  llmGate,
  llmRoute,
  mcp,
  memory,
  openapi,
  otlp,
  papercuts,
  progressSummary,
  rateLimit,
  repositoryHost,
  repositoryHostContext,
  sandbox,
  schedule,
  skills,
  subagents,
  transcribe,
  usage,
  cost,
  diagnostics,
  webSearch,
  workspaceShell,
} from 'vite-hub/agent/capabilities'

Catalog

Invocation

AbilityCapabilityUse it when
Invocation accessaccess()Narrow chat admission or Workspace access from trusted invocation identity.
Chat behaviorchat()Start Agent Invocations from chat messages and manage Chat History.
Input commandsinputCommands()Transform command-shaped user input before the Agent runs.
Subagentssubagents()Delegate bounded work to named Agent Definitions through tools.

Workspace

AbilityCapabilityUse it when
Browser automationbrowser()A Provider Agent needs headless browser guidance and the agent-browser CLI is installed.
Workspace filesworkspaceShell()Inspect or edit Workspace files, or run configured Workspace commands.
Git source historygit()The Agent needs bounded Git source-history inspection or local Workspace Session git state selection.
Skills fileskills()The Agent requires a Workspace skill file at invocation time.
Durable memorymemory()The Agent needs scoped durable records across invocations.

Runtime primitives

AbilityCapabilityUse it when
KV storagekv()The Agent needs scoped key-value read or edit tools.
Blob storageblob()The Agent needs scoped object read or edit tools.
Databasedb()The Agent needs guarded SQL query, schema, or mutation tools.
Emailemail()Send authorized plain-text messages through the configured Email primitive.
Sandbox executionsandbox()The Agent may run an allowlisted executable in an isolated runtime.
Schedulesschedule()The Agent declares scheduled invocations or manages Runtime Schedules through tools.
OTLP telemetryotlp()Live Agent Invocation events and completed traces should be exported to an OpenTelemetry receiver.
Operational diagnosticsdiagnostics()Invocation outcomes and scoped runtime resource observations should go to an application-owned reporter.

External context

AbilityCapabilityUse it when
Repository hostrepositoryHost()The Agent needs provider-hosted repository, Change Request, issue, comment, check, or status data through a configured Repository Host client.
Repository host contextrepositoryHostContext()Read issue or Change Request data identified by a trigger or host.
MCP serversmcp()Add tools from external MCP servers to the Agent.
Web searchwebSearch()The Agent needs model web search or normalized web search/read tools.
Fetch toolsfetch()The Agent needs named HTTP tools for developer-approved endpoints.
OpenAPI toolsopenapi()The Agent needs a selected OpenAPI operation catalog exposed as bounded HTTP tools or a generated Capability CLI.
Transcriptiontranscribe()Turn audio input into text before model execution.
Gmailgmail()Search Gmail or create unsent drafts through structured tools.

Decisions and output

AbilityCapabilityUse it when
LLM routingllmRoute()Choose one developer-defined route with a model before the invocation.
LLM gatellmGate()Allow or reject a request with a model before the invocation.
Rate limitrateLimit()Consume a trusted invocation budget before the Agent runs.
Titletitle()Generate a title for Agent output, finish extensions, or Channel threads.
Chat summarychatSummary()Replace a summary command with a conversation summary.
Progress summaryprogressSummary()Summarize current reasoning and tool activity while an Agent streams.
Papercut reportspapercuts()Report small runtime or developer-experience problems to application code.
Usageusage()Request provider usage metadata and expose a normalized Agent Usage Record.
Costcost()Add exact and display-ready USD cost to Agent Usage Records.

Next steps