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
$20 in free credits every month
Get StartedOPEN SOURCE · SELF-HOSTED OR MANAGED
Embed a Cursor-style agent in your product. It answers questions, takes action in your app, renders your UI components, and works with users' files.
STEP 01
Install the SDK and mount the agentic chat component in your app. You get robust message streaming, file uploads, and style customization out of the box.
$ 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.
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.
<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 widget.
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. Usage rolls up into your billing.
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. Your data never leaves your orbit.
Let us run it for you: managed infrastructure, zero maintenance, always current.
Start with the entire platform, or adopt it incrementally, piece by piece.
Built on open protocols: AG-UI, MCP, A2A. Swap pieces in and out instead of adopting a proprietary runtime.
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.
$20 in free credits every month
Get StartedYOUR INFRASTRUCTURE, OUR TEAM
AstralBeam on your infrastructure, managed by us.
YOUR INFRASTRUCTURE, YOUR TEAM
Run AstralBeam on your own infrastructure.
Free
Completely free to self-host. 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. Cloud credits cover AstralBeam fees only. All prices in USD.
Get started with a few lines of code, or come talk to us on Discord.