# Official capabilities

A Capability gives an Agent one ability. Pick one below by task. Each page shows setup, what the Agent gets, and how to verify it.

Import factories from `vite-hub/agent/capabilities`, or `@vite-hub/agent/capabilities` in a standalone package. [Attach a Capability](https://vitehub.dev/docs/agents/capabilities#attach-a-capability) shows a full example. Server Primitive Capabilities are documented next to their server API.

## Catalog

### Invocation

| Ability | Capability | Use it when |
| --- | --- | --- |
| Invocation access | [`access()`](https://vitehub.dev/docs/agents/capabilities/access) | Limit chat admission or Workspace access by trusted caller identity. |
| Chat behavior | [`chat()`](https://vitehub.dev/docs/agents/capabilities/chat) | Start the Agent from chat messages and keep Chat History. |
| Input commands | [`inputCommands()`](https://vitehub.dev/docs/agents/capabilities/input-commands) | Transform command input, such as `/summary`, before the run. |

### Workspace

| Ability | Capability | Use it when |
| --- | --- | --- |
| Browser automation | [`browser()`](https://vitehub.dev/docs/browser/agent-capability) | Give a Provider Agent a managed headless browser, browser guidance, and screenshot delivery. |
| Workspace files | [`workspaceShell()`](https://vitehub.dev/docs/workspace/agent-capability) | Read or edit Workspace files, or run configured commands. |
| Git source history | [`git()`](https://vitehub.dev/docs/agents/capabilities/git) | Read bounded Git history, or select a local Workspace Session's Git state. |
| Skills file | [`skills()`](https://vitehub.dev/docs/agents/capabilities/skills) | Require a Workspace skill file at run time. |
| Durable memory | [`memory()`](https://vitehub.dev/docs/agents/capabilities/memory) | Keep scoped records between runs. |

### Runtime primitives

| Ability | Capability | Use it when |
| --- | --- | --- |
| KV storage | [`kv()`](https://vitehub.dev/docs/kv/agent-capability) | Read or edit scoped key-value data. |
| Blob storage | [`blob()`](https://vitehub.dev/docs/blob/agent-capability) | Read or edit scoped objects. |
| Database | [`db()`](https://vitehub.dev/docs/database/agent-capability) | Guarded SQL queries, schema, or writes. |
| Content | [`content()`](https://vitehub.dev/docs/content/agent-capability) | Read, draft, publish, and schedule Content documents, checked by the `authorize` policy. |
| i18n | [`i18n()`](https://vitehub.dev/docs/i18n/agent-capability) | Find missing translations, save drafts, and publish them with approval, without a deploy. |
| Email | [`email()`](https://vitehub.dev/docs/email/agent-capability) | Send authorized plain-text email through the Email primitive. |
| Channel delivery | [`channelDelivery()`](https://vitehub.dev/docs/channels/agent-capability) | Send the result through a Channel to a recipient your app picks. |
| Sandbox execution | [`sandbox()`](https://vitehub.dev/docs/sandbox/agent-capability) | Run an allowlisted program in isolation. |
| OTLP telemetry | [`otlp()`](https://vitehub.dev/docs/agents/capabilities/otlp) | Export live events and traces to an OpenTelemetry receiver. |
| Papercut reporting | [`papercuts()`](https://vitehub.dev/docs/agents/capabilities/papercuts) | Report small failures and wasted work to your app's sink. |
| Operational diagnostics | [`diagnostics()`](https://vitehub.dev/docs/agents/capabilities/diagnostics) | Send run outcomes and resource data to your app's reporter. |

### External context

| Ability | Capability | Use it when |
| --- | --- | --- |
| MCP servers | [`mcp()`](https://vitehub.dev/docs/agents/capabilities/mcp) | Add tools from MCP servers, such as an Executor catalog. |
| Web search | [`webSearch()`](https://vitehub.dev/docs/agents/capabilities/web-search) | Model web search, or normalized search and read tools. |
| Fetch tools | [`fetch()`](https://vitehub.dev/docs/agents/capabilities/fetch) | Named tools for HTTP endpoints you approve. |
| OpenAPI tools | [`openapi()`](https://vitehub.dev/docs/agents/capabilities/openapi) | Selected OpenAPI operations as bounded HTTP tools or a generated CLI. |
| Transcription | [`transcribe()`](https://vitehub.dev/docs/agents/capabilities/transcribe) | Turn audio into text before the model runs. |
| Forge | [`forge()`](https://vitehub.dev/docs/agents/capabilities/forge) | Read and change repositories on GitHub, GitLab and Forgejo. |
| Gmail | [`gmail()`](https://vitehub.dev/docs/agents/capabilities/gmail) | Search and read Gmail or create unsent drafts through a Google Connection. |

### Decisions and output

| Ability | Capability | Use it when |
| --- | --- | --- |
| LLM routing | [`llmRoute()`](https://vitehub.dev/docs/agents/capabilities/llm-route) | Choose one developer-defined route with any model, or Jev, before the invocation. |
| LLM gate | [`llmGate()`](https://vitehub.dev/docs/agents/capabilities/llm-gate) | Allow or reject a request with any model, or Jev, before the invocation. |
| Rate limit | [`rateLimit()`](https://vitehub.dev/docs/rate-limit/agent-capability) | Consume a trusted invocation budget before the Agent runs. |
| Invocation budget | [`budget()`](https://vitehub.dev/docs/agents/capabilities/budget) | Observe or enforce per-invocation token and USD limits. |
| Title | [`title()`](https://vitehub.dev/docs/agents/capabilities/title) | Generate a title for Agent output, finish extensions, or Channel threads. |
| Chat summary | [`chatSummary()`](https://vitehub.dev/docs/agents/capabilities/chat-summary) | Replace a summary command with a conversation summary. |
| Progress summary | [`progressSummary()`](https://vitehub.dev/docs/agents/capabilities/progress-summary) | Summarize reasoning and tool activity while streaming. |
| Usage | [`usage()`](https://vitehub.dev/docs/agents/capabilities/usage) | Normalized provider tokens and cost. |

## Next steps

- [Custom capabilities](https://vitehub.dev/docs/agents/capabilities/custom)
- [Capabilities API](https://vitehub.dev/docs/agents/capabilities)
- [Agent definitions](https://vitehub.dev/docs/agents/agent-definitions)

<!-- vitehub-docs:section-links -->
## In this section

- [Start](https://vitehub.dev/raw/docs/agents.md)
- [Define and run](https://vitehub.dev/raw/docs/agents/agent-definitions.md)
- Instructions and tools
  - [Instructions](https://vitehub.dev/raw/docs/agents/instructions.md)
  - [Capabilities](https://vitehub.dev/raw/docs/agents/capabilities.md)
  - [Official capabilities](https://vitehub.dev/raw/docs/agents/capabilities/official.md) (this page)
- [History and context](https://vitehub.dev/raw/docs/agents/chat-history-sessions.md)
- [Channels](https://vitehub.dev/raw/docs/agents/channels.md)
- [Inspect and evaluate](https://vitehub.dev/raw/docs/agents/observability.md)
- [Advanced](https://vitehub.dev/raw/docs/agents/agent-presets.md)
- [Recipes](https://vitehub.dev/raw/docs/agents/support-agent.md)
- [Presets](https://vitehub.dev/raw/docs/agents/presets.md)
- [Capabilities](https://vitehub.dev/raw/docs/agents/capabilities/access.md)

Next: [AGENT_R0022](https://vitehub.dev/raw/docs/agents/diagnostics/agent_r0022.md)

All pages: [llms.txt](https://vitehub.dev/llms.txt)
