DocumentationWorkspaces & branches

Your workspace

Workspaces and branches

Give each piece of work a directory, branch, and set of sessions.

1 min read Dragent guide

Choose a starting point

Starting pointUse it when
New branch and worktreeYou want an isolated checkout for a new task.
Existing branchYou want to continue or review a branch that already exists.
Current checkoutYou intentionally want to work in the project’s existing directory.

Choose the base branch before starting a new worktree. When another worktree already has an existing branch checked out, reuse that checkout rather than attempting to check out the same branch twice.

Start without coordination

Choose one agent and enter the task. The workspace keeps its branch, terminal panes, and conversation together. Add another pane when you want a shell, an editor, or another agent beside the work.

Choosing a workspace, branch, and agent
Dragent interface with sample data. Select the image to see it in full.

Keep parallel changes separate

Use a separate worktree for each independent change. Worktrees share the repository’s Git object storage, but files on disk are separate. Dependencies and environment files may need to be installed or configured for each checkout.

Close or delete deliberately

Review running agents, uncommitted files, and unpushed commits before confirming deletion. Removing a sidebar folder or workspace is a different decision from deleting the original repository. Read the confirmation and preserve work you still need.