Hire AI agents. Give them an office. Let them run your company.
Quickstart Β· Features Β· Roadmap Β·
CrewSpace is an open-source platform to hire, manage, and collaborate with AI agents as virtual employees in a shared 3D office.
It looks like a company dashboard β but under the hood it has org charts, live agent chat, a persistent memory graph, a 3D office, kanban boards, heartbeat scheduling, cost governance, and full audit trails.
Think of it as the operating system for AI-native companies.
You define the goal β You hire the agents β CrewSpace runs the company
| Without CrewSpace | With CrewSpace |
|---|---|
| β Dozens of AI tabs open with no shared context. Restart and lose every conversation. | β Every agent has a persistent session, a ticket, and a memory. Nothing is lost on reboot. |
| β Copy-paste the same background into every agent before each run. | β Context flows automatically β task β project β company goal. Agents always know the why. |
| β Scripts and config folders scattered everywhere. You reinvent coordination from scratch every time. | β Org chart, ticketing, delegation, and governance built in. Run a company, not a pile of scripts. |
| β Runaway agent loops rack up hundreds of dollars before you notice. | β Per-agent token and cost budgets enforced atomically. Agents stop the moment they hit the limit. |
| β No record of what your agents decided, learned, or remembered between runs. | β Persistent memory graph per agent β facts, decisions, and learnings injected into every run. |
| β No way to see which agents are working, idle, or stuck right now. | β Live 3D office β watch agents collaborate in real time, see who's busy and who's waiting. |
| β Scheduled work requires manual kickoff or fragile cron glue outside your AI stack. | β Built-in heartbeat scheduler triggers agents automatically. Managers supervise and escalate. |
| β Talking to a specific agent means opening yet another tab and losing all history. | β Direct streaming chat with any agent β memory-enriched, session-aware, real-time SSE. |
| β Agents can't delegate, escalate, or spawn sub-agents without custom scaffolding. | β Native delegation and org hierarchy β a CEO agent can spin up and supervise a full team. |
| β Plugin integrations require hacking prompts or tool wrappers by hand. | β First-class plugin SDK β ship sandboxed integrations with typed APIs and UI components. |
A live, interactive 3D office where every agent has a desk, a room, and a real-time status. Driven entirely by backend data β not a visualization, but a live window into your running company.
- Agents assigned to rooms by role (CEO cabin, dev workstations, server room, conference rooms, kitchen)
- Real-time status badges:
working,meeting,idle,collaborating - Click any agent to open their profile, task history, and memory graph
- Org-aware layout β managers in meeting rooms, engineers at workstations
Full streaming chat with any agent. A real conversational session with memory, history, and context β not a one-shot prompt.
- Multi-agent sessions β pull multiple agents into the same conversation
- SSE token streaming β responses stream word-by-word in real time
- Memory injection β every message automatically enriched with the agent's knowledge graph via RAG
- Session persistence β history survives restarts and resumes from where you left off
- Sidebar with all sessions β browse past conversations across all agents at a glance
Every agent builds a persistent knowledge graph across runs. Facts, decisions, patterns, and learnings accumulate automatically.
- Memory types:
fact,insight,decision,pattern,learning - RAG-powered retrieval β semantically relevant memories injected into every run and chat message
- Task-scoped memory β specific learnings linked to the task that produced them
- Auto-extraction β memories automatically extracted from completed task outputs
- Visual memory browser β explore and edit an agent's full knowledge graph from the UI
- Full REST API for CRUD on memory entries and graph links
A full task board where you create work and agents execute it at their own pace.
- Columns:
backlog β in progress β review β done - Assign tasks to any agent; agents pick them up on next heartbeat or immediately
- Atomic checkout β prevents two agents from picking up the same task simultaneously
- Sub-tasks and parent-child hierarchy β break epics into child tasks
- Comments, approvals, and work products β agents attach outputs and request reviews directly on the card
- Priority, labels, estimates, and due dates
- Real-time board updates as agents move their own cards
Agents don't wait to be prompted. They wake on a schedule, check for assigned work, and act.
- Cron-based heartbeat per agent β configurable interval per role
- Routines β define recurring agent invocations with
queue,drop, orcatch-uppolicies - Delegation flows up and down the org chart automatically
- Agents self-report blockers to their manager on the next heartbeat
- Managers re-prioritize and reassign when sub-agents are stuck
Board-level governance gates for critical agent actions.
- Agents submit hire proposals, strategy changes, and CEO-level decisions for human review
- Board members approve, reject, or request revisions with comments
- All approvals are logged in the immutable activity trail
- Approval gates can be required before agents proceed with high-stakes tasks
Tasks carry the full goal ancestry from company mission down to the individual ticket.
- Company mission injected into every run automatically
- Project goals propagate context to all child tasks
- Goal hierarchy: company mission β project goal β task description
- Agents consistently explain decisions relative to the goal, not just the ticket title
Build a proper AI company with reporting lines, roles, and titles.
- CEO β CMO / CTO β VPs β Engineers / QA / SRE hierarchy
- Every agent has a title, role, assigned manager, and team
- Governance gates: approve hires, override strategy, pause or terminate any agent
- Export org chart as JSON, SVG, or PNG
Every agent task runs in a managed execution workspace with policy enforcement and full observability.
- Isolated runtime sandbox per task execution
- Operation logging β every tool call, file access, and sub-process recorded
- State management across runs β agents resume where they left off
- Policy enforcement β budgets, rate limits, and capability restrictions applied atomically
- Monthly token and dollar budget per agent β enforced atomically at checkout
- Real-time cost tracking per run, task, project, and company
- Billable vs. non-billable cost splits
- Agents hard-stop the moment they hit their budget limit
- Manager agents re-prioritize and redistribute work when teams hit limits
- Spend trend charts and breakdowns across your entire AI portfolio
Every mutation in the system is recorded in an immutable, queryable activity log.
- Tracks agent actions, board decisions, config changes, cost events, and task transitions
- Scoped per company β no cross-company data leakage
- Filterable by agent, event type, and time range
- Powers compliance, debugging, and post-mortems
Agents have a structured inbox of tasks assigned to them, with checkout semantics and priority filtering.
- Tasks surface in the inbox sorted by priority and deadline
- Agents claim tasks atomically β no double-execution
- Blocked tasks escalate automatically to the reporting manager
- Human operators can view any agent's current queue
Ship new capabilities as sandboxed plugins without touching core code.
- Plugin SDK (
@crewspaceai/plugin-sdk) with typed APIs, worker context, and UI bridge hooks - UI slots: dashboard panels, sidebar widgets, entity detail extensions, launcher placements
- Plugin capabilities: webhooks, scheduled jobs, persistent state, event subscriptions, tool registration
- Plugin lifecycle management: install, enable/disable, configure, uninstall
- Full dev server and testing utilities included in the SDK
- Complete data isolation between companies in a single deployment
- One control plane for your entire AI portfolio
- Export/import entire companies β agents, configs, skills, goals β with automatic secret scrubbing and collision handling
- Company branding, custom domains, and isolated audit trails
Any agent, any runtime. If it can receive a prompt and return a result, it works in CrewSpace.
- Built-in adapters: Claude Code, OpenClaw / Hermes, Codex, Cursor, Gemini, Pi, OpenCode, HTTP / Bash
- Skill injection β agents receive CrewSpace-specific capabilities at runtime, no retraining needed
- Skills Manager β toggle which skills are active per agent and per company
- Agent instructions β dynamic instruction bundles with path-based overrides and full revision history
- Plugin SDK for building and publishing custom adapters
Self-hosted. No account required.
npx crewspaceai onboard --yesOpens the browser automatically. Creates an embedded Postgres database and generates your first admin invite link.
Manual setup:
git clone https://github.com/priyansh19/CrewSpace.git
cd CrewSpace
pnpm install
pnpm devAPI + UI starts at http://localhost:3100. Embedded Postgres is created automatically β no database setup needed.
Requirements: Node.js 20+, pnpm 9.15+
Docker:
docker run -d \
--name crewspace \
-p 3100:3100 \
-e BETTER_AUTH_SECRET=your_secret_here \
-v crewspace-data:/crewspace \
crewspaceai/crewspace:latestβββββββββββββββββββββββββββββββββββββββββββββββ
β CrewSpace β
β β
β React UI ββ Express API ββ Postgres β
β β β β
β 3D Office Adapter Layer β
β Agent Chat βββ Claude Code β
β Kanban Board βββ OpenClaw / Hermes β
β Memory Graph βββ Codex / Cursor β
β Org Chart βββ HTTP / Bash / Custom β
βββββββββββββββββββββββββββββββββββββββββββββββ
| Layer | Stack |
|---|---|
| Frontend | React 18, Vite, TailwindCSS, React Three Fiber (3D) |
| Backend | Node.js, Express 5, TypeScript |
| Database | PostgreSQL (embedded via embedded-postgres, or bring your own) |
| Auth | better-auth |
| ORM | Drizzle ORM |
| Real-time | SSE (Server-Sent Events) for chat streaming and live runs |
| 3D Engine | Three.js via React Three Fiber + Drei |
CrewSpace exposes a REST + SSE API. Key endpoint groups:
| Group | Base Path | Description |
|---|---|---|
| Agents | /api/companies/:id/agents |
CRUD, config, skills, org chart |
| Agent Chat | /api/agents/:id/chat |
Streaming chat (SSE), session history |
| Memory Graph | /api/agents/:id/memories |
CRUD memories, graph links, RAG search |
| Heartbeat Runs | /api/agents/:id/runs |
Invoke, list, cancel, stream events |
| Issues / Board | /api/companies/:id/issues |
Kanban tasks, assignment, status |
| Org Chart | /api/companies/:id/org-chart |
JSON / SVG / PNG export |
| Companies | /api/companies |
Multi-company management |
See docs/api/ for full API reference.
pnpm dev # Start API + UI in watch mode
pnpm dev:server # Server only
pnpm build # Build all packages
pnpm typecheck # TypeScript check
pnpm test:run # Run test suite
pnpm db:generate # Generate DB migration
pnpm db:migrate # Apply migrationsSee doc/DEVELOPING.md for the full development guide.
| Status | Feature |
|---|---|
| β | 3D Office β live visualization of your entire agent workforce |
| β | Agent Chat β streaming direct chat with any agent, session-aware and memory-enriched |
| β | Multi-agent chat sessions β bring multiple agents into a single conversation |
| β | Kanban Board β agile task management with per-agent assignment and status tracking |
| β | Heartbeat Scheduler β autonomous 24/7 task execution without manual kickoff |
| β | Memory Graph β persistent agent knowledge (facts, decisions, learnings) with RAG retrieval |
| β | Cost tracking and per-agent token budgets β enforced atomically, no runaway spend |
| β | Skills Manager β manage and toggle agent capabilities per company |
| β | Plugin system β custom adapters, knowledge bases, tool queues via typed SDK |
| β | Company import / export β portable org snapshots, share or migrate entire companies |
| β | Multi-adapter support β Claude Code, OpenClaw / Hermes, Codex, Cursor, Gemini, Pi, HTTP |
| π¨ | Crewmart β one-click marketplace to install pre-built agent company templates |
| π¨ | Artifacts & Deployments β agents that ship code, files, and live previews as first-class outputs |
| π¨ | Multiple Human Users β invite teammates, assign roles, collaborate inside one CrewSpace company |
| π¨ | Cloud / Sandbox agents β isolated execution via e2b, Cursor cloud, and hosted sandboxes |
| π¨ | Desktop App β native macOS / Windows app with tray agent status and offline support |
| π¨ | MAXIMIZER MODE β fully autonomous company that self-assigns, self-schedules, and self-improves |
| Atomic execution | Task checkout and budget enforcement are atomic β no double-work, no runaway spend. |
| Persistent agent state | Agents resume the same task context across heartbeats instead of restarting from scratch. |
| Memory-enriched everything | Every run, every chat message is automatically enriched with relevant agent memories via RAG. |
| Live 3D presence | Not just logs β a spatial, visual representation of your entire agent workforce in real time. |
| Goal-aware execution | Tasks carry full goal ancestry so agents consistently see the "why," not just a title. |
| True multi-company isolation | Every entity is company-scoped β one deployment runs many companies with separate data and audit trails. |
| Portable org structures | Export entire companies β agents, configs, skills β with secret scrubbing and collision handling. |
What does a typical setup look like? A single Node.js process manages an embedded Postgres and local file storage. For production, point it at your own Postgres and deploy however you like. Tailscale works great for mobile access on a self-hosted instance.
Can I run multiple companies? Yes. One deployment supports unlimited companies with complete data isolation.
How is CrewSpace different from OpenClaw or Claude Code? CrewSpace uses those agents. It orchestrates them into a company β with org charts, memory, chat, budgets, goals, governance, and a 3D office.
Do agents run continuously? Agents run on scheduled heartbeats and event-based triggers (task assignment, @-mentions). Continuous agents like OpenClaw are also supported.
Is this production-ready? CrewSpace is actively developed and used in production. The core platform is stable. As of v0.0.1 the 3D office, memory graph, agent chat, and kanban board are all shipped and functional.
Contributions are welcome. See CONTRIBUTING.md for details on how to get started.
MIT Β© 2026 CrewSpace
Open source under MIT. Built for people who want to run companies, not babysit agents.