Learn

Overview

Starting point for Cohub product documentation — core workflow, UI-to-CLI terminology, and the seven guide sections.

These docs explain how to operate Cohub across the web app, the cohub CLI, and the TypeScript SDK: from creating a Space and working with Agents to saving snapshots, publishing Apps, and automating workflows.

Core workflow

Cohub organizes people, Agents, files, and execution environments inside Spaces. Most tasks follow this sequence:

  1. Create a Space (cloud Sandbox or Local Runtime)
  2. Open a Chat and prompt an Agent
  3. Inspect or edit Files, Boards, and preview ports
  4. Create a Save (immutable snapshot to inspect, diff, or fork)
  5. Publish a file, .board, directory, or port as an App

The same Space state and operations are exposed through the web UI, cohub CLI, and @neta-art/cohub SDK.

Documentation sections

The documentation is organized into seven sections covering the full product surface:

Section What it covers Pages
Learn End-to-end onboarding, object definitions and constraints, and web UI layout Quick start, Core concepts, Product map
Workspace Spaces, Chats, Files, cloud Sandbox, immutable Saves, Local Runtime, and Displays Spaces, Chats, Files & Sandbox, Saves, Local Runtime, Displays & Screens
Create & Share Publishing Apps, authoring .board canvases, model/media generation, and public CDN files Apps, Boards, Models & Generation, Public files
Collaborate Space roles (host/builder/guest), invites, access policies, external Channels (Discord, Feishu/Lark, WeChat, QQ), and Realtime Rooms Members, invites & access, Channels, Realtime Rooms & RTC
Extend Mounted Mods, Skills, prompt templates, User Rules, Tasks, Scheduled prompts, and .cohub/hooks Space Hooks Mods, Skills & Prompts, Tasks & Scheduled prompts, Space Hooks & Webhooks
Account BYOK credentials, personal billing, Space Wallet, Commerce, Inbox, notifications, and profile settings BYOK, Billing, Wallet & Commerce, Inbox & Notifications, Profile, Labels & Referrals
Developers cohub CLI reference, @neta-art/cohub SDK, App runtime bridge and scopes, and self-hosting App development, CLI, SDK, Self-hosting

Product terminology

Product pages use Cohub web UI terms and map them to the corresponding CLI and API identifiers:

Web UI CLI / API Primary CLI command
Chat Session cohub prompt, cohub spaces sessions
Save Checkpoint cohub spaces checkpoints
Task Task run cohub tasks
Scheduled prompt Cron job / scheduled prompt cohub prompt --at / --delay-ms / --cron, cohub cron-jobs

Developer reference pages may use API names directly and cross-reference the UI term above.

Boundaries and common gotchas

  • Saves do not restore a Space in place: A Save is an immutable snapshot for browsing files, diffing, or forking a new Space (cohub spaces create --checkpoint <id>). It cannot roll back the current Space in place.
  • CLI default Space fallback: When -s <space> and COHUB_SPACE_ID are omitted outside a directory bound to a Local Runtime, prompt, completion, decision, generate, apps, and public fall back to your Home Space (home), while spaces files, spaces checkpoints, and run fail with a missing-target error. Pass -s <space> explicitly in scripts.
  • Prompting and scheduling use top-level cohub prompt: Pass --at, --delay-ms, or --cron with --timezone directly to cohub prompt.

Next steps

  • Quick start — create a Space, run a Chat, create a Save, and publish an App
  • Core concepts — object definitions, constraints, and role boundaries
  • Product map — locate every area, panel tab, and settings section in the web app
  • CLI — command-line workflows and automation
  • SDK — programmatic access from TypeScript
  • Features — see what each Cohub feature does