Your own space to create, play, and build with people and agents.
Cohub is a living Space for people and agents. Start anywhere, make in any medium, share as Works.
It combines:
- a browser-first Space for conversation, files, sessions, tasks, and previews
- checkpoint-based saving, forking, and remixing
- multimodal generation for text, image, video, and music
- public Spaces and Works for discovery and sharing
- CLI and external channels for people and agents to act from anywhere
Open a Space and play with ideas, prompts, files, and agents.
People and agents in one context. Co-create, save, and share.
Web, mobile, CLI, Discord, WeChat. The Space follows you.
Games, apps, media, automations, custom homes — from playful to production.
Fork a checkpoint into a new Space, or reference any Space with @space as context.
A Space is the main creative surface in Cohub.
It is a live, isolated environment where people and agents work together. A Space holds conversations, files, drafts, outputs, and experiments in one place.
A Checkpoint is an immutable snapshot saved from a Space.
It preserves a meaningful moment, and can be shared, forked, restored, or used as a stable base for new work.
An Agent is the active collaborator operating inside a Space.
A Session is a conversation context inside a Space. Each Session keeps its own history and can evolve independently.
A Channel is an external entry point connected to a Space.
Examples include Web, Discord, Telegram, Feishu, and WeChat. People can talk from those channels, and agents can respond back through them.
A Sandbox is the execution environment behind a Space.
It provides runtime capabilities while staying behind the product surface.
Cohub is built around one idea: people create in Spaces, and useful context gets saved as Checkpoints.
The platform is for:
- creating with people and agents in live Spaces
- saving milestones as Checkpoints
- forking from Checkpoints into new Spaces
- publishing Works from files, directories, or ports
- using CLI and APIs to automate the same product surface
Cohub is a shared creative space for people and agents to create, save, share, and build from real context.
cohub/
├── apps/
│ ├── api/ # Hono API — orchestration, provisioning, session persistence
│ ├── agent/ # Agent control service — Pi coding agent, WS client connecting to sandbox
│ ├── sandbox/ # Sandbox executor — Go WS server for workspace / fs / process
│ ├── gateway/ # External channel gateway (Discord, Telegram, Feishu, WeChat, etc.)
│ ├── web/ # SvelteKit web app
│ └── worker/ # Task scheduler — cron jobs and async task processing
├── deploy/ # Deployment configs (per environment)
├── docs/ # Architecture, guides, and examples
├── packages/
│ ├── billing/ # Billing provider abstraction
│ ├── cli/ # @neta-art/cohub-cli
│ ├── core/ # Shared server-side domain logic
│ ├── db/ # Drizzle schema and DB helpers
│ ├── identity/ # Auth / identity helpers
│ ├── infra/ # Infra helpers (Redis, storage, telemetry)
│ ├── protocol/ # Shared types and protocols (private)
│ ├── sandbox-client/ # Agent-side sandbox WS client
│ ├── sandbox-controller/ # Sandbox provisioning controller
│ └── sdk/ # @neta-art/cohub client SDK
├── scripts/ # Utility scripts
└── README.md
- Language: TypeScript + Go
- Frontend: SvelteKit
- Backend: Hono
- Agent Runtime: pi-coding-agent (WS client, connects to sandbox)
- Sandbox Runtime: Go + WebSocket server
- Database: PostgreSQL + Drizzle ORM
- Infrastructure: Kubernetes (ACK)
- Package Manager: pnpm monorepo
pnpm install
pnpm devpnpm lint
pnpm typecheck
pnpm buildProduct docs (web):
- English: cohub.run/docs
- 中文: cohub.run/docs/zh
Source of truth for product docs content:
docs/product/en/docs/product/zh/
Engineering notes still in the repo:
docs/self-hosting.mddocs/agent-sandbox-runtime.mddocs/works-guide.mddocs/work-commerce-guide.mddocs/generations.mddocs/space-hooks.mddocs/examples/— generation declarations, Work capability lab, and other samples
- License: Apache License 2.0 (Viscept Limited)
- Billing is disabled by default; configure
TALESOFAI_BILLING_*to enable the hosted billing provider - OpenTelemetry remote export is opt-in via
OTEL_EXPORTER_OTLP_* - Copy
deploy/**/values.example.yamlto localvalues.yamlfor deploys - Self-hosting guide:
docs/self-hosting.md - Security reports:
SECURITY.mdordev@talesof.ai
Apache License 2.0 © Viscept Limited