HOSTED BY ASTRALBEAM
Cloud
We run the platform. You build your product.
- Platform fee
- $0.20 / million tokensSame rate for input and output.
- Conversation & file storage
- $0.50 / GB / month
Free till Jan 1, 2027. No card needed.
Get StartedOPEN SOURCE · SELF-HOSTED OR MANAGED
Give your users a Cursor-style assistant inside your app. It can answer questions, use your app's tools, and work with their files.
STEP 01
Install the SDK and mount the agent chat in your app. You get robust message streaming, file uploads, and style customization. SDK setup →
$ npm install @astralbeam/sdk+ added 1 package import { AstralBeamChat } from "@astralbeam/sdk/react" export function Sidebar() { return ( <AstralBeamChat title="Acme Assistant" theme={{ light: { "--primary": "#4f46e5", "--radius": "0.75rem" }, dark: { "--primary": "#818cf8" }, }} /> )}Streaming replies, visible tool calls, and follow-up questions. A React component, or a one-line mount anywhere else.
Your title, copy, color scheme, and design tokens, or swap the header and empty state for your own components.
Upload files, work with their contents, and download generated results.
Model calls, tool orchestration, and file handling run on AstralBeam Cloud. No agent backend for you to deploy or scale.
STEP 02
Your server already knows who is signed in. Mint a short-lived token that carries the user and their tenant, and the widget picks it up. API keys never reach the browser. Connect your login →
import { createAstralBeamToken } from "@astralbeam/sdk/server" export async function POST(request: Request) { const session = await getSession(request) const token = await createAstralBeamToken({ apiKey: process.env.ASTRALBEAM_API_KEY, user: { id: session.user.id, name: session.user.name, }, tenant: { id: session.org.id, name: session.org.name, }, }) return Response.json({ token })}Every user picks up their own threads, on any device, without you storing a message.
Set token or spend limits per tenant, user, or conversation, with allowances that reset on your schedule.
See token usage and model spend against each allowance, broken down by tenant, user, or conversation.
Keep each tenant's conversations and files separate, with access checked for every user.
STEP 03
Declare what the agent can do and what it can show. Tools run in your page against your own state. Widgets render your components inside the reply. Add your first tool →
<AstralBeamChat tools={{ refundOrder: defineTool({ description: "Refund an order and notify the customer", parameters: z.object({ orderId: z.string() }), execute: ({ orderId }) => api.refund(orderId), }), }} widgets={{ orderCard: defineWidget({ description: "Show an order's status and total", parameters: z.object({ orderId: z.string() }), render: ({ orderId }) => <OrderCard id={orderId} />, }), }}/>Tools use the user's session to read data and act inside your app, behind your permission checks.
Render your own components inside the reply, connected to your app's live state.
Validate inputs with your schemas and ask users a structured question before taking action.
Connect remote MCP servers and let users authorize the tools their agent can use.
AstralBeam sits between your app and the providers you already pay for. Swap any of them without touching the code.
Bring your own keys. Route through a gateway if you already have one.
Every run traced where your team already looks.
Pick a provider in the dashboard. The agent gets a workspace per conversation.
Your session is the source of truth. Set per-customer token and spend limits.
The AstralBeam platform is open source under AGPL-3.0, built on open standards, and modular by design. Read it, fork it, run it, extend it.
Run the whole platform on your own infrastructure. Choose where conversations and files are stored.
Let us run it for you: a managed backend for the agentic loop, conversation history, and files.
Start with the entire platform, or adopt it incrementally, piece by piece.
Built on open protocols: AG-UI and MCP.
PRICING
Start on our cloud, let us manage yours, or host it yourself. Bring your own LLM keys wherever you run.
HOSTED BY ASTRALBEAM
We run the platform. You build your product.
Free till Jan 1, 2027. No card needed.
Get StartedYOUR INFRASTRUCTURE, OUR TEAM
AstralBeam on your infrastructure, managed by us.
YOUR INFRASTRUCTURE, YOUR TEAM
Run AstralBeam on your own infrastructure.
Free
No AstralBeam platform or storage fees. You cover your own infrastructure and providers.
Self-hosting GuideBring your own LLM keys. Models, sandboxes, and observability are billed directly by providers. All prices in USD.
FAQ
AstralBeam gives you an agentic chat sidebar and a managed backend together. We handle the agent loop, conversation history, files, and per-customer usage limits. You hook up tools and UI widgets to connect it to your product.
| Tool / service | What it provides | Why choose AstralBeam |
|---|---|---|
| CopilotKit | Chat components and an agent runtime, plus optional cloud services. | We run the agent backend and store conversations and files, with usage limits for each customer. |
| assistant-ui | Customizable chat components, backend integrations, and hosted conversation history. | Get the chat UI and agent backend together, with file handling and per-customer usage limits included. |
| OpenAI ChatKit | Embeddable chat UI. Its recommended path for new apps connects to your own agent backend. | Use our managed backend or self-host the same open-source platform, with your choice of model providers. |
| Mastra | A TypeScript framework for building agents and workflows. | Start with a working chat sidebar and managed backend, then add your app's tools and UI widgets. |
| ElevenAgents | Agents for voice and multimodal conversations, with web widgets, phone integrations, and model choice. | We focus on agentic chat inside your web app, with tools, UI widgets, files, and per-customer usage limits. |
Try the quickstart, or self-host the same open-source platform.
Start with a working chat. Add your app's tools when you're ready.