Getting StartedWhat is Aerostack?

What is Aerostack?

Aerostack is a developer infrastructure platform for building AI-native backends on Cloudflare’s edge. It gives you fullstack edge functions, MCP server orchestration, and intelligent bots — all backed by built-in database, cache, queue, AI, vector search, and storage primitives.

Aerostack is currently in beta. You’re building on production infrastructure, but the API surface may evolve as we gather feedback.

The Problem

Building an AI backend today means stitching together 5-10 services: a database, a cache layer, a queue, an LLM provider, a vector database, file storage, auth — each with its own SDK, its own deployment, its own billing. Then you need to expose all of this as tools for AI agents to use.

What Aerostack Does

Aerostack collapses this into one platform:

1. Fullstack Edge Functions

Write a function. It has native access to everything — database, cache, queue, AI, vector search, storage. Not HTTP calls to external services. Direct bindings with zero network latency.

export default {
  async fetch(request, env) {
    // Native DB — no API call, direct binding
    const orders = await env.DB.prepare(
      'SELECT * FROM orders WHERE user_id = ?'
    ).bind(userId).all()
 
    // Native Cache — same datacenter, ~0ms
    await env.CACHE.put('recent-orders', JSON.stringify(orders), { expirationTtl: 3600 })
 
    // Native Queue — fire and forget
    await env.QUEUE.send({ type: 'order-notification', data: orders })
 
    // Native AI — multi-provider, built in
    const summary = await env.AI.run('@cf/meta/llama-3-8b-instruct', {
      messages: [{ role: 'user', content: `Summarize: ${JSON.stringify(orders)}` }]
    })
 
    return Response.json({ orders, summary })
  }
}

These functions power everything else in Aerostack — MCP tools, skills, bot logic, and (coming soon) AI Proxy and AI Endpoints.

2. MCP Server Orchestration

Bring your AI tools together. Three ways:

  • Host on Aerostack — Build an MCP server, deploy to edge
  • Proxy your existing MCP — Register your server’s URL, Aerostack becomes the gateway. Your API keys stay encrypted in Aerostack — team members never see them
  • Install from Hub — One-click install community MCP servers (GitHub, Slack, Stripe, etc.)

Compose multiple servers into a Workspace — a single gateway URL that any LLM client can connect to.

Claude Desktop / Cursor / Your App
        |
   Workspace Gateway (single URL)
    |         |         |
Stripe MCP  GitHub MCP  Your Custom
(proxy)     (hosted)    Function

For teams: Each member gets a workspace token. Secrets stay in your vault. You see per-user analytics — who called which tool, when, how many times. Revoke one person without rotating production keys.

3. Intelligent Bots

AI bots that don’t just chat — they do things. Connect a bot to a workspace and it can use every tool in it.

Two modes:

  • Agent Loop — LLM autonomously decides which tools to call. Best for open-ended conversations.
  • Visual Workflow — You design the exact flow. Built-in identity verification (auth_gate), conditional logic, code execution, human approval handoffs, scheduled messages, and bot-to-bot delegation.

Deploy to Telegram, Discord, WhatsApp, Slack, or any custom webhook — in minutes, not weeks.

4. One SDK

Install one package, get everything:

npm install @aerostack/sdk-react

Auth (email, OTP, magic links), Database (SQL + Postgres), Realtime (WebSocket pub/sub, presence, DB change events, message history), Storage (object storage with CDN), AI (multi-provider chat, embeddings), Cache (key-value with TTL), Queue (background jobs), Vector Search — all through React hooks or direct client calls.

Available for React, Node.js, Go, Python, and Flutter.

Who is Aerostack For?

  • Developers building AI-powered products — bots, agents, AI-augmented workflows
  • Teams using MCP — centralize tool access, manage secrets, monitor usage
  • Startups shipping fast — one platform instead of 10 services
  • Enterprise teams — zero-trust MCP gateway with per-user audit trails

What’s in Beta

Available NowComing Soon
Functions (fullstack edge)AI Proxy (smart API gateway)
MCP Servers (host/proxy/hub)Agent Endpoints (REST API agents)
Skills (single-purpose tools)Smart Webhooks (AI webhook processors)
Workspaces (gateway composition)
Bots (5 platforms + workflows)
SDK (React/Node/Go/Python/Flutter)
All platform primitives

Next Steps