Core concepts
Cocode is currently a Developer Preview. Visible features depend on client version, Host capabilities, account permissions, and the selected model channel.
Cocode and DeepSeek Harness
Cocode is the user-facing distribution and workspace. DeepSeek Harness is the underlying runtime that keeps task execution moving.
Tasks and sessions
- A task describes the result you want.
- A session stores task context, tool calls, output, and recovery state.
- A workspace is the project environment that the task reads and modifies.
- The Host / Supervisor runs tools, maintains sessions, and coordinates recovery.
- A preset/plugin assembly determines which tools and UI capabilities are available.
- The session log is a durable JSONL event source; display state may be folded or restored independently.
GUI and TUI can share a session only with the same DSH_HOME, profile, and Host scope. A different machine or profile has separate local data.
Permissions and approvals
Cocode distinguishes reading, writing, command execution, network access, and credentialed Connector actions. See permissions and approvals for the approval model.