Drakkar tools for agents
Agents running in Drakkar can act in Drakkar itself: open workspaces for parts of a task, see how they are doing, merge them, add tasks to the backlog, and look after automations, connections and flows. They do it with Drakkar’s own MCP server, named drakkar.
You install nothing. When Drakkar starts Claude Code in a pane, or you type claude in a Drakkar terminal, it adds the server with --mcp-config: an HTTP server on this Mac that only Drakkar’s panes can reach, each agent with its own pane ID. Your own MCP servers stay. Drakkar’s settings for the session allow the drakkar tools, so Claude Code doesn’t ask you before each call; what needs you is decided by Drakkar, as described below.

How delegation works
Section titled “How delegation works”- You ask an agent to split a job or hand a task off. Agents are told to create workspaces only when you ask.
- The agent calls
create_workspacesonce, with every task: a name, a branch type, and instructions that stand on their own, because the new agent doesn’t see your conversation. Each task gets a workspace with its own branch and its own agent, which starts on the task as soon as the workspace is set up. - The agent ends its turn. Its row says waiting while its workspaces work.
- When a workspace agent finishes, Drakkar wakes the lead with its final message. Reports that are ready at the same time come together. A report also comes when a workspace agent stops on an error, hits the usage limit (with the time it resets), is interrupted by you, or pauses for background work; and when a workspace’s setup fails, so its agent never ran.
- The lead checks the results and tells you what is left. You review each workspace and merge it, or ask the agent to merge.
If you write to the lead while it waits, the reports wait for its next end of turn. If its session starts again later, it is told the reports it missed. If you continue a workspace agent later, its new final message wakes the lead again.
A new workspace starts from the branch of the agent that made it, unless the agent asks for the main folder’s branch or another branch or commit. It merges back into that branch. Uncommitted changes don’t go with it, and the agent is told so. Agents in workspaces can create workspaces of their own.
What agents can do
Section titled “What agents can do”Agents are told to use some tools only when you ask. That is a rule in the tool’s description, not a lock. What a tool saves that would run a command waits for your Allow, and the agent can’t allow it.
Workspaces
Section titled “Workspaces”- Create several workspaces in one call. A task can name a backlog task by number; it goes in progress in that workspace. The workspace’s setup runs first; if its commands still wait for your approval, the agent hears that the workspace waits for it. Repeating the same call doesn’t make duplicates.
- See this workspace, its parent, its children and their siblings (
list_workspaces), or one workspace (workspace_status): branch, task, whether the agent works or is at the usage limit, commits ahead, uncommitted files, setup, whether it is merged, and the last report.workspace_infogives the current workspace’s name, branch and base. - Merge, only when you ask, as Merge in Review does: a merge commit into the branch the workspace started from, checked for conflicts first. A workspace with uncommitted changes or a working agent isn’t merged. On a conflict nothing is merged, and the agent is told how to resolve it. The agent can delete the workspace after the merge, if you asked for that too.
- Delete, only when you ask, as Delete in Review does: the folder goes to the trash, and you can undo it. A workspace where work would be lost, or something still runs, stays.
- An agent in a workspace merges and deletes only its own workspace and the ones it made; the agent in the main checkout, any workspace of the project. No tool pushes.
In a folder of several repositories, a task names the projects it changes, add_workspace_project adds a project to a workspace, and merge and delete go project by project, all or none.
Workspace setup
Section titled “Workspace setup”What a new workspace copies and runs, as in Workspace settings:
workspace_setup_guideis Drakkar’s guide to a good setup; agents read it before they change anything.workspace_settingsshows the settings and the last setup, full setup and teardown of each workspace, with the end of their output. It changes nothing.save_workspace_settingssaves the setup, the teardown, the full setup (a heavier command run only on request) and the copy list, where the project keeps its settings. The copy list applies at once, except entries for files git tracks. Those entries and every command wait for your Allow in Workspace settings.run_workspace_setupruns the setup again in an existing workspace, or the full setup when you ask for it.try_workspace_setupmakes a trial workspace,setup-trial-N, runs its setup and deletes it. Both run only a setup you allowed.
Ask Claude to set up in Workspace settings hands this job to an agent.
Backlog
Section titled “Backlog”The agent lists, reads, adds, changes and deletes tasks of its project’s backlog. Taking a task puts it in progress where the agent works. A task in progress in a workspace becomes done when that workspace is merged into main, and goes back to Todo when it is deleted; it can’t be deleted before. Marked done in the main checkout, a task records the current commit. A deleted task can be undone for 2 minutes. None of this waits for you.
Automations
Section titled “Automations”The agent lists its project’s automations and reads their runs and results. Only when you ask, it creates or changes one, or runs one now. An automation it saves goes to Drakkar’s folder on this Mac, not to your branch, and waits for your Allow in Settings › Automations; a version that waits for Allow can’t run.
Connections
Section titled “Connections”Agents call MCP servers and SSH hosts through Drakkar with connection_call, and Drakkar adds the keys, which never reach the agent. An agent reaches only the connections you bound to its project. It can propose a new connection or a change, which waits for your Allow in Settings › Connections, and delete one no automation uses, only when you ask. Only you bind connections. See Connections.
The agent reads its project’s own flow and, only when you ask, changes it: adds, changes or deletes lines, creates the flow while the project has none, renames or duplicates it, and makes or turns off sets. A line that runs a command waits for your Allow in Settings › Flows. Which flow a project uses, the default flow, and turning a set on stay with you. See Flows.
All tools
Section titled “All tools”| Workspaces | What it does |
|---|---|
create_workspaces |
Creates workspaces, a task and an agent in each. On request; setup commands you haven’t allowed wait for you. |
list_workspaces |
Lists this workspace, its parent, children and siblings. |
workspace_status |
The state of one workspace, with its last report. |
workspace_info |
Name, branch and base of the current workspace. |
merge_workspace |
Merges a workspace, as Merge in Review. On request. |
delete_workspace |
Deletes a workspace to the trash, with Undo. On request. |
add_workspace_project |
Adds a project to a workspace of several repositories. |
| Workspace setup | What it does |
|---|---|
workspace_setup_guide |
Drakkar’s guide to a good workspace setup. |
workspace_settings |
Shows the workspace settings and the last runs. |
save_workspace_settings |
Saves setup, full setup, teardown and the copy list. On request; commands wait for Allow. |
run_workspace_setup |
Runs the setup, or the full setup, in a workspace. On request; only a setup you allowed. |
try_workspace_setup |
Tries the setup in a trial workspace. On request; only a setup you allowed. |
| Backlog | What it does |
|---|---|
backlog_list |
Lists the project’s backlog tasks. |
backlog_get |
Reads one task. |
backlog_add |
Adds a task to Todo. |
backlog_update |
Takes a task, marks it done, or edits it. |
backlog_delete |
Deletes a task, with Undo. |
| Automations | What it does |
|---|---|
automation_guide |
Drakkar’s guide to automations. |
automation_list |
Lists the project’s automations and their state. |
automation_save |
Creates or changes an automation. On request; waits for Allow. |
automation_run |
Runs an allowed automation now. On request. |
automation_result |
How a run went. |
automation_runs |
Lists past runs. |
| Connections | What it does |
|---|---|
connection_list |
Lists the connections bound to the project. |
connection_call |
Calls a tool of a bound connection. |
connection_save |
Proposes a connection or a change. On request; waits for Allow. |
connection_delete |
Deletes a connection no automation uses. On request. |
| Flows | What it does |
|---|---|
flows_list |
Shows the project’s own flow and its sets. |
flow_get |
Shows a flow with every line. |
flow_line_save |
Adds or changes a line. On request; commands wait for Allow. |
flow_line_delete |
Deletes a line, with Undo. On request. |
flow_save |
Creates, renames or duplicates a flow. On request. |
flow_set_save |
Creates or changes a set, or turns it off. On request. |
Italics say what needs you. On request: the agent is told to use the tool only when you ask. Allow: what it saves doesn’t run until you click Allow. A tool without a note needs nothing from you.
Scratch and automations
Section titled “Scratch and automations”The agent in Scratch works away from projects. It gets the backlog, automation, connection and flow tools, names the project or flow each time, and has no workspace tools.
An automation’s run gets a smaller server of its own: tools to report to the Inbox and ask you a question, start_task to start a task in a new workspace when the automation turns it on, and connection_list and connection_call for the connections it turns on. See Automations.
Settings
Section titled “Settings”- Settings › Workspaces & Git › Agents can create workspaces: on, agents split a task into workspaces; they merge or delete one only when you ask, and never push. Off,
create_workspacesand an automation’sstart_taskare refused. Workspaces already made stay, and the other tools keep working. - Settings › Workspaces & Git › Branch types: the branch types an agent can give a workspace.
- Allow for what agents save: Workspace settings, Settings › Automations, Settings › Connections and Settings › Flows.