DocumentationThe Dragent model

Get started

The Dragent model

Organisation, project, workspace, and session: the concepts behind the interface.

1 min read Dragent guide

The hierarchy

ConceptWhat it represents
OrganisationThe account context for projects, workspaces, connected services, and billing.
ProjectA repository on a particular machine.
WorkspaceA task’s working directory, branch, panes, and conversations.
WorktreeA separate checkout linked to a Git repository. It lets another branch stay checked out without switching your current directory.
Agent sessionA conversation with a coding agent, including its selected provider and account context.
TerminalAn interactive shell or CLI process running on the workspace’s host.

Independent tasks or a coordinated team

Separate workspaces are useful for independent changes. Coordination adds a lead, tasks, dependencies, workers, and a mailbox when work needs to be connected. Running several agents does not mean you have to coordinate them.

Local and remote are execution locations

A local workspace runs on your desktop. An SSH workspace runs on its remote host. Agent CLIs and tools must be available on the machine that executes them. A connected-service login can be a different thing from an agent provider’s login.

Git remains the source of truth

Branches, commits, and worktrees are ordinary Git objects. Check the diff and your working tree before deleting a workspace or changing a branch. An agent conversation is context for the work, not a replacement for version control.