Skip to content
LatandPublic

About

Hand your software work to Claude Code, Codex and GitHub Copilot agents and steer it from a local board, in the browser or on your phone.

Topics

Resources

Contributing

Stars

43 stars

Watchers

0 watching

Forks

Latest commit

 

History

5,642 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Delegatus

Delegate everything.

Delegatus lets you hand software work to AI coding agents and get it back done. You tell an orchestrator what you want. It plans the work, starts Claude Code, Codex, GitHub Copilot and Antigravity agents to do it, has other agents review and check the result, and reports back. Turn on merging and it merges what passes review as well. It runs on its own and stops to ask you only when a decision is yours. You watch and steer from a board in your browser or on your phone.

A pipeline opened from its task: Build, Review and Verify as stage tabs, the rule that sends a failed Review back to Build under them, and the selected stage's conversation

New here? The Delegatus guide takes you from installation to your first pipeline.

Why Delegatus

Delegatus runs on your own machine with your own agent accounts. What it adds:

  • Every step is on record. Any agent's conversation opens as a chat, and one search covers all of them.
  • Several accounts per engine. Add more than one Claude, Codex or Copilot account and switch before a usage limit stops you.
  • Agents talk to each other. A Claude Code agent can message a Codex agent and the other way round.
  • Shared memory. Claude and Codex agents can look up what either engine learned, and a message you send can carry the memories that fit it.
  • Agents learn from their stages. A pipeline stage can leave short rules that the next agents of its role, its project or the machine start with.
  • Telegram built in. Agents post to chats you allow through a bot, and read your own Telegram account through a read-only MCP server.
  • Made for a team. People sign in as themselves and see the projects of their workspaces, and two machines can share one board.

Quick start

On a Mac: download Delegatus-<version>-mac.dmg from the latest release, open it, drag Delegatus to Applications, and double-click it. After one confirmation the app installs Bun and Delegatus privately and opens the setup guide in its own window. Connect Claude Code or Codex in that guide.

The app is ad-hoc signed. On macOS 13–14, Control-click (or right-click) Delegatus, choose Open, then Open again. On macOS 15 and later, double-click once and close the warning, then go to System Settings → Privacy & Security → Open Anyway next to Delegatus and confirm.

These steps take you from nothing to an orchestrator working on your project.

On Ubuntu or Debian: download delegatus_<version>_all.deb from the latest release, run sudo apt install ./delegatus_<version>_all.deb (or open it in your software centre), then start Delegatus from the applications menu. Confirm the per-user installation of Bun and Delegatus, then follow the setup guide in its own window. The package supports amd64 and arm64 and uses the system web view. Linux app details cover removal and updates.

  1. Install Bun 1.4 or newer: curl -fsSL https://bun.com/install | bash

  2. Install Claude Code or Codex. The orchestrator runs on one of them.

    • Claude Code: curl -fsSL https://claude.ai/install.sh | bash
    • Codex: curl -fsSL https://chatgpt.com/codex/install.sh | sh

    You can add GitHub Copilot as well: bun add -g @github/copilot

  3. Start Delegatus: bunx delegatus-cli. If neither CLI is found, the start output says how to install each.

  4. Open http://127.0.0.1:8898/ if your browser did not open it for you.

  5. Follow the setup guide. It opens on a welcome that lists the agent programs it found, shows one row per program to sign in, asks for a project folder and creates the project's orchestrator. On Linux a row of a program that is missing holds Install, which installs Claude Code, Codex or Antigravity into your home folder. Agent commits need a signed-in GitHub account, even in a local project with no remote: until the account resolves, creating a commit stops with sign-in instructions. Using a service that speaks the Anthropic Messages API? See Compatible providers.

  6. Tell the orchestrator what you want done.

Linux is the main platform and macOS works; native Windows runs Claude Code only, so use WSL 2 for the rest (Platforms). Copilot runs single agents; it cannot run the orchestrator. To keep a delegatus command installed, change the port or set environment variables, read Configuration.

From a clone

Use this to run Delegatus from its source code.

bun install
bun run build
bun bin/cli.mjs

The CLI serves the output of the last build, so build again after you pull. bun dev runs the app with hot reload, and you start the runtime host for it yourself.

To keep any install current, use Updates in the sidebar's ⋯ menu (Updates).

Docker

The published image is ghcr.io/latand/delegatus for linux/amd64 and linux/arm64. Use edge for the latest main build or a version tag to pin a release. From a repository checkout, start a test instance on port 8901:

DELEGATUS_IMAGE=ghcr.io/latand/delegatus:edge docker compose --profile test pull viewer-test
DELEGATUS_IMAGE=ghcr.io/latand/delegatus:edge docker compose --profile test up -d --no-build viewer-test

The Docker setup is how the maintainer runs Delegatus as a long-running service. docs/docker.md is the runbook for a pinned deployment, with a runtime host that owns releases and the listening port.

How it works

Each project gets one orchestrator: the agent you talk to about that project. You ask it for something in its chat. It opens a task on the project's board and, for work that needs agents, starts a pipeline for it: one agent builds the change, another reviews it, and the builder fixes what the review found. The pipeline ends with its pull request open for you to merge, or merged for you once you turn on Merge when the review passes. The orchestrator files a short report each time a piece lands, and the task's card says so when it needs a decision from you. Pipeline stages run on Claude Code, Codex or Antigravity, on your own accounts; you and the orchestrator can also start single agents, Copilot included. Core concepts explains each part.

The orchestrator

Write to it the way you would message a colleague: "take issues 12 and 14", "fix the flaky test in the scanner", "review PR 30". For each piece of work it opens a task, starts a pipeline in a worktree of its own for work that needs agents and keeps the task's card up to date. You can state only an outcome: it checks the scope first and chooses direct work, a pipeline or research itself. A decision it cannot make alone reaches you as a form with a recommended answer for each question, in the Needs you tab beside its chat (the Reports tab sits next to it) and in the board's Needs you queue.

A project's orchestrator: its chat with you, its worker count against the limit, and beside it a task's three-question decision form waiting for your answer, already sent to Telegram with a link to send it again

More: The orchestrator in depth.

Tasks and the board

Each task is a card in one of four columns: Inbox, In progress, Waiting and Done. A card shows the agents working on it, each pipeline with its stages and pull request, a short bar with the agent's progress estimate once it has given one, and, when it needs you, what it is waiting for. Timeline draws the tasks in progress and their stages over time.

Three columns of a project's board: a task in Inbox; In progress with its working agents, a running pipeline's stages and a card that needs your answer, counted in the column's head; Waiting with a card that names what it waits for

More: A tour of the interface.

Pipelines and review loops

A pipeline runs one task through up to eight agent stages in a git worktree of its own. Every review round starts a fresh reviewer, within a budget fixed when the pipeline is created. Merging is off until you turn on Merge when the review passes; until then the pipeline ends with its pull request open. The picture at the top shows one.

More: Pipelines in depth.

Read any agent as a chat

Delegatus shows every Claude Code, Codex and Copilot conversation on your machine as a readable chat, whoever started it, with diffs, command output and one search across all of them. Antigravity conversations that Delegatus captured through its own agent host appear the same way; a session started directly in the agy command line is not read.

A Claude Code conversation: an edit shown as a diff, a test run with its output, and the answer

Each account shows the limits its engine reports. Claude and Codex show a five-hour and a weekly window as the plan reports them, so a Codex plan that reports only a weekly window shows only that; Claude adds per-model windows. Antigravity shows a five-hour window only, and Copilot shows its monthly allowance. Behind a row with enough weekly history, a dimmed line draws that week's burndown.

Claude accounts with their five-hour, weekly and per-model limits (Codex shows the five-hour and weekly windows its plan reports, Antigravity a five-hour window only, Copilot a monthly allowance)

More: Conversations · Accounts, limits and roles.

From your phone

The board's four columns become tabs you swipe between, and you hold a card to move it. Open Delegatus on your phone through your Tailscale network.

A project's board on a phone: the four status columns as tabs, and In progress showing first the card that waits on your answer, counted on its tab A conversation on a phone screen, its test run expanded

More: From your phone.

Everything else

Feature What it gives you
Voice Dictation, answers read aloud, voice conversations, Voice Delegatus
Telegram A bot for reports and files; read-only access to your own account
External relay A relay service's chats answered by this install
Team People sign in as themselves
Linked installs Two machines share one board
Memory Learned rules for the next agents; memory shared by Claude and Codex
MCP server Your own Claude Code or Codex sessions get the same tools
Updates and services Updates, automatic updates, memory and CPU limits for agents
Configuration Command options, files, environment variables

Documentation

Security

Anyone who can reach Delegatus can run commands as you. It binds to 127.0.0.1; any other bind address, and --tailscale, turn on the access key. Treat a phone-access link as a secret. Security and privacy has the rest.

What leaves your machine

Delegatus sends one anonymous install ping per UTC day to https://delegatus.org/api/ping, with exactly id, v, os, arch and kind. Turn it off in the sidebar's ⋯ menu under Settings → Privacy, or with DELEGATUS_TELEMETRY=0 or DO_NOT_TRACK=1. What leaves your machine has the details.

Memory profiles and voice-call summaries send selected rules or call text to Anthropic through Claude Code, using your subscription. Limits are read through Claude Code /usage. Delegatus's direct subscription-token request to Anthropic's usage endpoint requires Direct Anthropic API calls with my subscription under Settings → Privacy. It starts off on new installs; existing installations with recorded direct usage keep it on.

Voice Delegatus can run its text turns on a connected ChatGPT plan. Connecting is optional and the owner does it in the Keys section. The first sign-in creates a persistent installation UUID, stored in a private file in the state directory and reused on every later sign-in, including the one retry after a rejected grant. Delegatus puts it in the sign-in authorization request as ext_agent_host_id, which your browser sends to OpenAI's sign-in service. Eligible text turns use the connected account's access token on the owner's API-backend call while plan billing remains active. If a plan request fails for a reason eligible for fallback, Delegatus resends that same inference input to the API-key endpoint and switches the rest of that call to the key, but only when the call still allows it and the API-key budget admits the request; later calls start from their own billing choice. Policy-denied and account-ineligible responses stop before key fallback, including a denial that a concurrent turn of the same call recorded first, and then no API-key request is sent. A refused budget also sends no API-key request. Other plan errors can fall back when both conditions hold. Each plan request carries the model and response controls (store:false, streaming, no reasoning or parallel calls, and automatic tool choice; the answer-only round sets tool choice to none), backend instructions and interface language. It defines the delegatus namespace (description “Voice Delegatus tools”), built-in function names, descriptions and strict schemas. An API-key fallback sends those tool definitions as flat functions without the namespace wrapper. At call start, Delegatus snapshots serving, approved added-tool servers and enabled tools; the first request includes each tool's name, server title, description and non-strict schema, even when unused, plus added-tool instructions. The same definitions go on every later request, including the answer-only round. Disabling a tool during the call prevents execution while its snapshotted definition remains. If token renewal is permitted, OpenAI's sign-in service receives the refresh-token grant, client ID, refresh token and target resource. A cold OpenID discovery cache can first trigger a public configuration GET; validating an ID token returned by rotation or resuming a pending rotation can also fetch the issuer's public signing keys. These GETs carry no turn body or credentials. A new token exchange (the token POST) occurs only when the access token is within the 60-second refresh window, no rotation is pending and the earliest-refresh time allows it. A pending rotation resumes by verifying the saved rotation's ID token and sends no token POST, because the rotation was already checkpointed. The bounded directory of known project names and handles is selected at call start.

Each plan request includes the local date and time, IANA time zone (UTC if unknown), elapsed call time, interface language, selected project, and recent timestamped call transcript with the latest operator words when transcribed. It can include up to six earlier non-private registry reads as summaries, arguments and ages. Waiting-report context lists this call's bounded set of orchestrator requests still awaiting reports, with handles, project, instruction gist, age, progress-report count and whether the orchestrator asked back. Confirmation context is the last pending instruction whose confirmation remains unexpired when delegation starts. A resumed call includes connection- drop timing and a bounded record of earlier dialogue, requests and reports, including which speech was heard or unheard and operator turns left unanswered. A private-part-omitted marker appears when that history crosses a private read, and the saved-history cut excludes the triggering operator turn and everything after it. A saved summary of omitted lines is included only when call memory is enabled and a usable summary is available and needed. Separately, enabled call memory can add up to five eligible summaries from same-owner calls in the previous seven days, within a shared 2,400-character budget with resumed history. Notes include each call's date and age, duration, project names and summary; private material is omitted. A reconnect still sends its safe bounded continuation when call memory is off, without the saved summary or earlier-call notes.

Later requests repeat this context and replay tool calls with names, scrubbed arguments, call references and JSON results when a later plan round is sent. Built-in results can carry board, pipeline, agent, prototype-review, orchestrator report, action and delivery, clock and timer data. For example, conversation_messages can add a selected project's paged speaker, timestamp and text excerpts, and orchestrator_messages can add whole replies. Added tools can return text, structured data or errors. When owner access to Telegram history is enabled, a successful group listing replay includes group titles, identifiers and privacy metadata. A successful message-page replay includes its chat title, privacy metadata, page-level edit-reporting flag, message text and author details, message IDs, topic and reply-to IDs, assistant-origin and edit or truncation flags, timestamps, attachment metadata, time zone, date range, oldest stored time and a continuation cursor encoding the chat and filters. Refusals can replay their code, reason and retry-after time. These fields enter the next request only when the tool returns them and another plan round is sent.

A successful Telegram listing or message read, and a private added-tool result whose status is done or whose content is a string (even on failure), marks the call's later delegations with the private-source kind. Within the same delegation, that private tool result is replayed to ChatGPT immediately and without the private-source notice; the notice first appears on the first request of the next delegation. The call transcript retains operator speech and withholds affected voice replies; private reads are excluded from earlier-read summaries. Earlier-call notes also obey the private-history cut. Tool output reaches ChatGPT only when a later plan request is sent. An image-returning tool stops the connected-plan turn before the next request, including its text result; a blocked private history send or hangup can also end the turn before replay. When the tool budget runs out, the final request asks for an answer with tools off. This path sends text only.

License

MIT

About

Hand your software work to Claude Code, Codex and GitHub Copilot agents and steer it from a local board, in the browser or on your phone.

Topics

Resources

Contributing

Stars

43 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages