Enterprise-grade Open Source AI Agent Platform
Build, deploy, and scale AI Agents with Spring Boot & Spring AI
English ยท ไธญๆ ยท Quick Start ยท Documentation
Most AI Agent platforms target individual developers, relying on local filesystems and script execution. Enterprises need something different: multi-tenant isolation, stateless scalability, and a secure Agent runtime.
CloudClaw exists to:
- ๐ Make AI Agent platforms as easy to deploy as any regular app โ
java -jarto start, Docker Compose for production - ๐ฅ Multi-tenant by design โ Sessions, memories, and configs are isolated per user, not a single-user toy
- โก Stateless Agents โ All state lives in databases and caches, enabling horizontal scaling
- ๐ Security first โ Agent I/O through MCP, database, or isolated sandbox โ never raw host access
- ๐งฉ Pluggable architecture โ Memory engines, message queues, LLM providers, and MCP servers are all replaceable
- ๐ค Multi-Agent โ Create and manage multiple AI agents with independent configs
- ๐ง MCP Integration โ Built-in MCP gateway with connection pooling, tool routing, and permission control
- ๐ง Memory Service โ Pluggable memory engine (JDBC / Mem0) with vector search support
- ๐ฌ Session Management โ Session persistence, context caching, message history
- ๐ Auth & RBAC โ JWT authentication with admin/user role separation
- ๐ฏ Skill System โ Claude Agent Skill standard with progressive disclosure (metadata โ instructions โ files), auto-discovery via
@Tool - ๐ก Message Queue โ Redis Streams or in-memory MQ for async processing
- ๐ฅ๏ธ Dual UI โ Admin dashboard + Chat interface in one Vue.js app
- ๐ PostgreSQL โ Cluster mode with Redis cache
- ๐ชถ Standalone Mode โ SQLite, zero external dependencies
- ๐ Monitoring โ System logs, prompt logs, usage dashboards
- ๐ Sandbox Execution โ Isolated code execution (Python/JS/Shell/Java) with Local, Docker, and E2B backends, Stateless and Session modes
- ๐งฉ LLM Management โ Multi-provider credential management, model registry, usage tracking
CloudClaw supports 5 built-in orchestration modes for multi-agent collaboration:
| Mode | Description |
|---|---|
| Pipeline | Sequential steps โ output of one node feeds into the next |
| Parallel | Multiple agents run simultaneously, results merged (concat or LLM summarize) |
| Router | LLM-based intent classification routes to the best-matching sub-agent |
| Supervisor | A planner/reviewer agent delegates tasks to specialist sub-agents iteratively |
| Handoff | Conversation is transferred between agents, each maintaining its own context |
All modes are configured inline (no external agent references needed) and support per-node model, system prompt, MCP servers, and skills.
| OpenClaw | CloudClaw | |
|---|---|---|
| Target | Personal AI assistant | Enterprise AI Agent platform |
| Language | Node.js / TypeScript | Java (Spring Boot) |
| Users | Single user | Multi-tenant with data isolation |
| Storage | Local filesystem (MEMORY.md) | Database (PostgreSQL / SQLite) |
| Script Execution | Local Shell / PTY | Isolated Sandbox (Docker / E2B) |
| Agent State | Stateful (local process) | Stateless, horizontally scalable |
| Memory | Local Markdown files | Database-backed (JDBC / Mem0) |
| AI Framework | Custom | Spring AI |
| Frontend | None (third-party integrations) | Vue 3 + Element Plus (Admin + Chat) |
| Deployment | Personal devices | Server / Container / K8s |
| License | MIT | Apache 2.0 |
OpenClaw is your personal butler. CloudClaw is your enterprise Agent middleware.
cloudclaw
โโโ cloudclaw-app # Spring Boot entry point & configuration
โโโ cloudclaw-common # Shared models, DTOs, utilities
โโโ cloudclaw-auth # JWT authentication & authorization
โโโ cloudclaw-agent # Agent engine, prompt assembly, chat orchestration
โโโ cloudclaw-llm # LLM multi-provider routing, credential encryption, usage stats
โโโ cloudclaw-mcp # MCP gateway, connection pool, tool routing
โโโ cloudclaw-memory # Memory service (JDBC / Mem0 engines)
โโโ cloudclaw-session # Session & message persistence
โโโ cloudclaw-skill # Skill definition & management
โโโ cloudclaw-mq # Message queue abstraction (Redis Streams / in-memory)
โโโ cloudclaw-admin # Admin API controllers
โโโ cloudclaw-user # User-facing API controllers
โโโ cloudclaw-sandbox # Code sandbox (Local/Docker/E2B, Stateless/Session modes)
โโโ cloudclaw-standalone # Standalone mode (SQLite, in-memory MQ, Caffeine cache)
โโโ cloudclaw-ui # Vue.js frontend (Chat + Admin merged)
# Download from GitHub Releases
wget https://github.com/cloudclaw-dev/cloudclaw/releases/download/v1.0.1/cloudclaw-1.0.1-release.zip
unzip cloudclaw-1.0.1-release.zip
# Start
chmod +x start.sh
./start.sh
# Access http://localhost:8080
# Default login: admin / admin123git clone https://github.com/cloudclaw-dev/cloudclaw.git
cd cloudclaw
mvn clean package -DskipTests
java -jar cloudclaw-app/target/cloudclaw-app-1.0.1.jar# Standalone
docker compose -f docker-compose.standalone.yml up -d
# Cluster (PostgreSQL + Redis)
docker compose -f docker-compose.yml up -d# Prerequisites: PostgreSQL 16 + Redis 7
createdb cloudclaw
java -jar cloudclaw-app/target/cloudclaw-app-1.0.1.jar \
--spring.profiles.active=clusterConfigure application-cluster.yml:
spring:
datasource:
url: jdbc:postgresql://localhost:5432/cloudclaw
username: postgres
password: your-password
data:
redis:
host: localhost
port: 6379Go to LLM ็ฎก็ to configure your API key and model provider. Supports OpenAI, DeepSeek, Qwen, GLM, Ollama, and any OpenAI-compatible API.
| Property | Default | Description |
|---|---|---|
spring.profiles.active |
standalone |
standalone or cluster |
cloudclaw.jwt.secret |
(built-in) | JWT signing key (change in production!) |
cloudclaw.jwt.access-token-ttl |
2h |
Access token TTL |
cloudclaw.jwt.refresh-token-ttl |
7d |
Refresh token TTL |
cloudclaw.memory.engine |
jdbc |
Memory engine: jdbc or mem0 |
cloudclaw.mq.provider |
inmemory |
MQ provider: inmemory or redis |
cloudclaw.mcp.pool.max-connections-per-server |
5 |
Max connections per MCP server |
cloudclaw.cache.session-ttl |
30m |
Session cache TTL |
cloudclaw.sandbox.default-backend |
LOCAL |
Sandbox backend: LOCAL, DOCKER, E2B |
cloudclaw.sandbox.default-mode |
STATELESS |
Sandbox mode: STATELESS or SESSION |
cloudclaw.sandbox.default-timeout |
30s |
Default code execution timeout |
cloudclaw.sandbox.max-timeout |
5m |
Maximum allowed execution timeout |
See CONTRIBUTING.md for development setup.
| Mode | Database | MQ | Cache | Best For |
|---|---|---|---|---|
| Standalone | SQLite | In-Memory | Caffeine | Dev, testing, personal use |
| Cluster | PostgreSQL | Redis Streams | Redis | Production, horizontal scaling |
| Layer | Technology |
|---|---|
| Runtime | Java 17, Spring Boot 3.4.5 |
| AI Framework | Spring AI 1.1.5 |
| Database | PostgreSQL 16 / SQLite |
| Cache & MQ | Redis 7 / Caffeine / In-Memory |
| Auth | JWT + Spring Security |
| Migration | Flyway |
| Sandbox | agent-sandbox-core, Docker (Testcontainers), E2B |
| Frontend | Vue 3, Element Plus, Vite, TypeScript, ECharts |
Made with โค๏ธ by the CloudClaw Team