Overview
UClaw is a complete, globally-distributed runtime and infrastructure layer for deploying AI agents. It handles all the invisible, complex backend work required to make AI functional in production—managing connections, saving conversation memory, streaming tokens in real-time, and running tool workflows.
The Vercel for AI Agents
Building AI applications today is relatively easy in local scripts, but hard in production. You need to manage WebSockets/SSE connections, persist chat history, handle LLM rate limits, retry failed tool calls, secure API keys, and orchestrate serverless scaling.
UClaw acts as an AI Sidecar for your application. It abstracts all infrastructure complexities, giving you a deployment runtime that is:
- Durable states: Conversation state, variables, and history are preserved automatically.
- Developer-First: Drop-in React hooks (like
useApp/useAgent) let you connect your front-end to a back-end agent in minutes. - Pay-as-you-go: Servers, memory, and storage are included. You only pay for the LLM tokens your agents consume.
- Model-Agnostic: A unified gateway that lets you swap models (Claude, GPT, Gemini) without rewriting your code.
What UClaw IS vs. IS NOT
To better understand UClaw's place in the AI stack, here is a comparison of what it does and does not do.
What UClaw IS
- The Infrastructure Layer: A distributed runtime designed specifically for LLM-based agents.
- Production Plumbing: Managing streaming, agent state, rate limits, and client communication.
- A Developer Integration Tool: Offering client-side SDKs and React integration to speed up front-end development.
- Transparent Billing: Zero server management costs. You add funds as needed and pay strictly for LLM token usage.
What UClaw IS NOT
- Not a Foundation Model: UClaw does not train or host LLMs like Claude or GPT-4. It connects your application securely to these models.
- Not a Prompt Engineering Framework: It doesn't compete with LangChain or LlamaIndex. Instead, it is the platform where you deploy and run your agent workflows.
- Not a No-Code Builder: It is built by developers for developers. There are no drag-and-drop workflow builders; everything is code-first.
- Not a Backend Replacement: It doesn't replace your user authentication, primary database, or core business logic. It sits alongside them.
Key Architecture Components
To dive deeper into the UClaw ecosystem, proceed to the Getting started guide.