Chat Apps
Build assistants with persistent session history, streaming replies, uploads, integration prompts, and user identity.
Pages And UI
Add dashboards, tables, settings, task boards, workflow screens, or custom React pages to the same app.
State And Data
Store queryable records in collections, keep lightweight session state, and expose data handlers to pages.
Runtime And Deploy
Deploy one app definition into sandboxed per-user runtimes with packages, filesystems, tasks, schedules, and secrets.
prod setup
Capsule is a serverless runtime for agent apps. You do not provision containers yourself; Capsule creates the isolated runtime your app needs when users chat, open pages, start workflows, or run scheduled work. Create an agent app from a template:templates
Start with the product shape closest to what you want to ship.quickstartfor a chat app grounded in packaged context files with BAML.media-studiofor fal.ai image generation displayed directly in chat.browser-agentfor visible browser workflows and agent-assisted browsing.background-agentfor scheduled or on-demand agent loops with a results page.
learn by building
Start with the shortest path, then add one product surface at a time.- Quickstart gets a working app on screen.
- First Chat App teaches the message loop.
- Add Data And State introduces session data and collections.
- Add Pages turns the app into a product surface.
- Connect Services adds integrations, secrets, and filesystems.
- Background Work adds tasks and schedules.
- Deploy An App ships the app.
feature pages
Use these when you know the feature you need.- Chat And Sessions
- Pages
- Collections
- Integrations
- Tasks And Schedules
- Channels
- Workflows
- Pricing And Payments
- CLI Reference
examples
Capsule includes examples you can copy from in project templates and example apps:quickstartfor a BAML-backed assistant with packaged contextmedia-studiofor generated media in chatbrowser-agentfor browser workflowsbackground-agentfor scheduled agent loops