Skip to content

Servers

A server is a Linux machine where Drakkar runs agents for you. You work there as on this Mac: the same sidebar, terminals, Review, Files and git, all in one window. Agents on a server keep working while this Mac sleeps or is off. Drakkar moves code between machines only through git; it doesn’t sync your files.

To add a server, see Connect a server. This page is about working with it after that.

The Drakkar window with the bookmarks project: the sidebar shows main on this Mac, main on dev-1 and four workspaces, one of them, migrate-sqlite, labelled dev-1 and working; its agent and a shell run on the server, and the branch in the title bar reads main · dev-1
The workspace migrate-sqlite runs on the server dev-1. Its row, its tabs and the branch in the title bar carry the server's name.

Once you have a server, everything that belongs to one carries its name in a small frame, such as dev-1. Things on this Mac carry no label.

  • Rows in the sidebar: a project’s place on the server, and its workspaces.
  • Tabs, and the branch button in the title bar.
  • Sessions and Inbox, which also have a Machine filter.
  • Backlog tasks, notices, automations, and projects on Welcome.

The label is dashed and faint while the server is offline, yellow when something there waits for you, and red when its agents don’t work.

Panes of a server also show the round trip to it, such as 42 ms; it turns yellow from 300 ms.

A project has one place per machine: its own checkout there. Workspaces on that machine are made from it.

  1. Right-click the project on Welcome, or the YOUR BRANCH row in the sidebar, and choose Add to dev-1…
  2. Choose how the code gets there:
    • Clone from origin: the server clones it itself. Files download as they’re needed, so it’s quick even for a big history.
    • Send from this Mac: when the server can’t reach origin. This Mac packs the repository and sends it over ssh; origin is set to the same URL.
    • Use a folder on dev-1: the repository is already there. Drakkar checks that it is the same project.
  3. Check the Folder, by default ~/projects/<name>, and click Clone, Send or Use this folder.

The Backlog and the shared settings of the project come with the first sync. Workspace settings on the server start empty: setup runs nothing there until you set it, and the first New workspace there asks.

A project without git lives on one machine. To have it on a server too, make it a git repository: the sheet offers git init…

To take a project off a server, choose Remove from dev-1… in the same menus. Its folder goes to the trash on the server, and Undo in the notice brings it back within 2 minutes. Merge or delete the project’s workspaces there and close its tabs first.

When a project is on more than one machine, New workspace with options… (⇧⌘N) has a Machine field. By default it is the machine the window shows. A base branch that exists only on another machine has to be pushed first: the server gets code only through git.

In a workspace on a server, everything acts on the server: the terminal, Review and the diff, Files, the Git log, Commit, Merge and Push. Merge and Push run there. Agents on the server push with its own git key, also while this Mac is off. The + menu of the tab bar lists new tabs per machine. In Files, Send to dev-1 copies files to the same project on another machine.

Scratch has a machine button in its header: start a new session on This Mac or on a server. Automations have a Where to run field: on a server one runs while this Mac is off, and its result comes to the Inbox when Drakkar connects.

Right-click a workspace and choose Move to › a machine. The sheet lists what goes:

  • the branch and its commits,
  • uncommitted and untracked changes,
  • the files the workspace settings copy, such as .env, as they are, with any secrets in them,
  • the agent’s tabs, which reopen there and continue the same conversation.

If the agent is working, the button is Stop and move. If the project isn’t on that machine yet, it is Add bookmarks and move, for a project named bookmarks. Tick Run setup on dev-1 to run the workspace’s setup there. Cancel works until the Switch step.

If the connection drops, the move goes on from where it stopped when the machine is back. If a step fails, nothing moves: the workspace stays where it was and its tabs reopen there.

Settings › Machines: the list holds This Mac, a MacBook Air that is always on, and dev-1 with a green dot; dev-1's panel reads online, Alpine Linux, aarch64, from ~/.ssh/config, with the rows Drakkar host (Restart host, Logs), Claude Code at the same version as this Mac, Claude sign-in with a token from this Mac, Proxy reaching api.anthropic.com directly, Git access with no key yet, Commits as, Projects with bookmarks and one workspace, the switches Sync connections (off) and Sync Claude instructions (on), and a No systemd warning at the bottom
The server dev-1 is online. It has no git key yet: Set up git access… makes one.

The list holds this Mac, then your servers, each with a dot for its state. Click a server to see its panel:

  • Drakkar host: its version and how many agents work. Restart host starts a new one that takes over, so agents and shells carry on. Logs opens its log in a tab.
  • Claude Code: Drakkar keeps it at the same version as on this Mac, by itself.
  • Claude sign-in: how Claude signs in there and until when. Change… picks another way or account.
  • Proxy: the proxy agents use there; by default the same as This Mac.
  • Git access: the server’s own key for your git hostings. Set up git access… makes it, and Show key shows it later, to add to GitHub, GitLab or Bitbucket; both check access.
  • Commits as: the name and email of the server’s commits.
  • Projects: the projects on the server, each with its folder, its workspaces and Remove…, then Add a project…
  • Sync connections: your connections and their values reach the server, readable only by your user there. Turning it off deletes them on the server.
  • Sync Claude instructions: your CLAUDE.md, skills, agents and commands on this Mac reach the server.

Warnings come under the rows. No systemd: Drakkar and its sessions on the server stop when you log out there. Low on disk space: the server checks its free space every 5 minutes and warns below 2 GB; agents keep running, but new workspaces, clones and updates can fail.

If drakkar-host doesn’t work on the server, the panel says why in a red box, with what to do and Reconnect. When the server printed something, its output comes in a block with Copy.

Right-click a server to Rename… or Remove machine… Removing it doesn’t touch the server unless you tick Stop Drakkar on the server, and then Delete Drakkar’s files on the server. Project folders stay.

Drakkar updates drakkar-host on each server to its own version when it connects. Agents keep running during the update.

Diagram: a server goes from online to connecting when the connection drops, and to offline when the retries fail. From either, a retry that gets through brings it back online: every 30 seconds, on wake, or on Reconnect. Agents on the server keep running in every state.
  • onlineConnected.
  • connectingConnecting, or reconnecting after the connection dropped.
  • offline since 14:02No connection. Drakkar retries every 30 s, and right away when this Mac wakes or the network changes. Reconnect tries now.
  • updatingDrakkar is updating itself on the server. Agents keep running.
  • no git accessThe server has no key for your git hosting, so push and clone fail there. Set up git access… fixes it.
  • sign-in expires in 3 daysSign in again before it does.
  • setup not finishedAgents can't start there until it is. Continue setup… goes on where it stopped.
  • low on disk spaceFree some space on the server.
  • sign-in expiredAgents and automations there wait, and nothing is lost. Sign in again… brings them back.
  • new Drakkar installThe server's system was reinstalled or Drakkar's folder there removed. Use this server… sets it up again with the same name.

While a server is offline:

  • Its agents keep running. Their panes say Detached and catch up when it’s back.
  • Its rows show the last known state, faint. Files open read-only; an unsaved edit is saved when it’s back.
  • In Review you can still write notes: Send when dev-1 is back sends them then. Merge and Push wait for the connection; they aren’t queued.

If the Claude sign-in on a server expires, its agents wait and nothing is lost: click Sign in again… If the server restarts, its agents’ sessions end: click Resume in the pane, or resume them from Sessions. For other messages, see Troubleshooting.

Agents on a server don’t need this Mac. Agents and automation runs on this Mac do, and by default Drakkar keeps the Mac awake while they work: see Sleep.

When this Mac wakes, Drakkar reconnects to the servers right away, and a notice While this Mac was away sums up what happened on them.