FastClaw
Use case · SaaS builders

AI agent backend for SaaS builders

Give every customer their own AI agent without building a runtime. FastClaw handles agents, end-user isolation, sandboxed tools and usage metering over an API.

01

OpenAI-compatible API

Call /v1/chat/completions with streaming, tool-call progress and per-turn token usage. Existing OpenAI clients work unchanged.

02

End-users without sign-up

Pass X-Fastclaw-End-User and FastClaw mints an isolated namespace per user — sessions, memory and files never leak between your customers.

03

Agents as an API resource

Create, update, list and delete agents on /v1/agents, upload SOUL.md and other system files, and filter by your own metadata.

04

Sandboxed by default when hosted

With FASTCLAW_DEPLOY=hosted every exec and file call is locked inside an E2B or Docker sandbox, so untrusted users never touch the host.

05

Billing hooks, not a billing system

Export usage events per account, put an account on billing hold, and mint one-time login links — then charge with the payment stack you already have.

06

Files come back with the reply

Files an agent writes during a turn are returned with download URLs scoped to the caller’s namespace, or inline as data URLs for small files.

Skip the runtime, ship the feature

Adding "an AI agent that can actually do things" to a product usually means building an agent loop, tool execution, a sandbox, session storage, memory and per-user isolation before you write a single line of product code. FastClaw is that layer, packaged as one Go binary you run next to your app.

Your app keeps its own users, auth and billing. It talks to FastClaw over the runtime API: one account per customer, a user-scope API key, and an end-user ID per person. FastClaw does the rest — the agent loop, model routing, sandboxed tools and persistent sessions.

A typical integration

  1. Create an account and a user API key for your product.
  2. Create one or more agents with POST /v1/agents and upload their SOUL.md.
  3. From your backend, call /v1/chat/completions with X-Fastclaw-End-User set to your user's ID. Stream the reply to your UI.
  4. Pull GET /api/admin/usage/events on a cursor and bill however you like.

Every FastClaw instance serves an integration guide at /skills/agent-integration/SKILL.md, written so a coding agent can wire your app up for you.

Grows from SQLite to a cluster

Start on a laptop with SQLite. When traffic grows, point storage at Postgres, add an S3-compatible object store and Redis, and run several replicas behind a load balancer. Isolate tool execution in E2B or Docker. Compare this approach with an app builder in FastClaw vs Dify, or check the licensing options on pricing.

Frequently asked questions

Try it on your own agents

Start free in FastClaw Cloud, or self-host the single binary in a minute.