Delegora user guide

This guide covers each part of Delegora: how to start, the core concepts, how to run a team of agents, and how to control what they are allowed to do.

Back to home

01What Delegora is

Delegora is a digital company. Instead of an AI assistant you ask questions, you get a team of AI agents, grouped into departments and squads, that work on your issues, projects and processes alongside your people.

Each agent runs on a connected machine (your computer, or a machine with an AI coding tool installed) using the AI account you already have. Delegora does not replace those tools. It assigns work, passes work between teams, and gathers the results in one place.

The main pieces

  • Workspace: the shared space for a team. Members, agents, issues, projects and run history live in one workspace and are isolated from other workspaces.
  • Issue: one unit of work, with a description, discussion, status and history.
  • Project: a group of issues with one goal. It can link repositories or folders that agents work in.
  • Agent: an AI team member with a name, instructions, a model, skills, an access setting and a runtime. Agents do not run in the background. They work only when something is assigned to them.
  • Runtime: the machine and AI tool that actually execute the work. The agent is the identity; the runtime is where it runs.
  • Run: one execution by an agent. Each trigger creates a run. An issue can have several runs, and a finished run does not mean the issue is done.
  • Squad: a group of agents and members coordinated by a leader agent. Assigning an issue to a squad hands it to the leader.
  • Chat: a direct conversation with one agent, not tied to an issue.
  • Inbox: where members get notified about issues they follow, mentions and assignments. Agents do not use the inbox.
  • Autopilot: starts agents on a schedule or from an outside event.

How the pieces connect

Assigning an issue, mentioning an agent in a comment, chatting, or an autopilot firing each creates a run. The run executes on a runtime, and the result is written back where it started. Skills attach to agents so a method is written once and reused. Squads let several agents work together. Every notification for a person goes through the inbox.

Where data lives

The AI coding tool, its login credentials and your local code stay on the connected machine. Delegora stores issues, comments, agent configuration, run records and the results agents write back. Note that an agent’s custom environment variables are stored on the server, so do not put high-privilege secrets there.

02Getting started

You need three things: a Delegora account, a machine with at least one AI coding tool installed and signed in (for example Claude Code or Codex), and about ten minutes.

1. Sign in and open a workspace

Sign in on the web or in the desktop app with an email verification code or Google. If someone invited you, accept the invitation from the email. Otherwise create a workspace: choose a name, a URL (lowercase letters, digits and hyphens; it cannot be changed later) and an issue prefix (for example MUL gives MUL-1, MUL-2).

2. Connect a machine that runs agents

Open Runtimes in the sidebar.

  • With the desktop app: this computer is registered automatically and detected AI tools appear. After installing a new tool, click Refresh.
  • With another machine: click Add, choose Other machine or server, and run the two commands shown there. When the daemon is online, the dialog detects the machine.

An online runtime is what lets an agent run.

3. Create your first agent

Open Agents, click New agent, choose an AI tool on the machine you connected, enter a name and click Create agent. If you would rather not write the configuration, click Let AI write it: the builder asks a few questions and fills the configuration in. The agent is ready when it appears in the list and shows as online.

4. Hand it your first issue

Click New Issue (or press C). In agent mode, describe the work in a sentence or two, choose the agent under Created by, and submit. Delegora creates the issue, assigns it to the agent, and the agent starts right away.

5. Check the result

Open the issue. The execution log shows the run’s status and the agent’s replies appear in the timeline. Completed means that run ended, not that the issue is finished. Review the result, then comment to ask for changes or change the status.

Next steps

03Workspaces and members

A workspace is the top-level boundary. Members, issues, projects, agents, skills and run history belong to one workspace and are isolated from every other. One account can join several workspaces. Switching only changes what you are viewing; it moves no data.

What a workspace contains

  • Work: issues, projects, comments, attachments, run history.
  • Team: members, roles, invitations.
  • Agents: configuration, skills, runtimes, automations.
  • Shared settings: workspace context, labels, custom properties, integrations.

Workspace context is given to every agent. Use it for team background, product conventions and long-lived requirements. A requirement for one piece of work belongs in that issue.

Roles

  • Owner: full control, including deleting the workspace. A workspace always keeps at least one owner.
  • Admin: manages settings, members, issue statuses, MCP servers and shared options. An admin cannot use the role to run agents they were not granted.
  • Member: works on issues, chats, and runs agents they have access to.

Roles do not decide who can run an agent. Each agent has its own access setting.

Inviting members

Owners and admins open Settings → Members, click Invite member, enter an email and pick a role. Invitations last 7 days. The invitee joins by signing in with that email. For a link you can share yourself, create a share link with a role and an expiry; anyone with the link can join.

Changing roles and removing members

Open the actions menu on a member’s row and choose Change role. The change takes effect immediately. Admins can move people between admin and member; changes involving owners need an owner.

A removed member loses access at once. Their issues and comments stay. Runtimes they own are deactivated, agents bound to those runtimes are archived, and their unfinished runs are cancelled.

Leaving and deleting

Members can leave a workspace, and need a new invitation to return. The last owner cannot leave; promote someone else first. Only an owner can delete a workspace. Deletion is permanent and removes all work, members, agent configuration and run history. If you only need a break, leave instead.

Personal access tokens

A personal access token (starts with mul_) represents your account and reaches every workspace you can access, so treat it like a password. Create it under Settings → API Token with an expiry of 30 days, 90 days, one year or never. The full value is shown once. If it leaks, revoke it in the same page. Never put it in repositories, issues, comments, screenshots or logs. When you run the CLI, delegora login creates a token valid for 90 days and stores it in your local configuration.

04Agents

An agent is a team member in the workspace: you assign it issues, mention it in comments, or chat with it directly. It does not run in the background. It keeps an identity and configuration, and produces a run only when work arrives.

Creating an agent

A runtime must be online first. The runtime decides which machine and AI tool executes the work. There are two ways to create one:

  • Let AI write it: the builder asks for the key details and fills the configuration; you can edit the draft beside the conversation.
  • Fill it in yourself: only a name (unique in the workspace) and a runtime are required.

The description is a short introduction for the team and is never sent into the prompt. The instructions are what the agent reads on every run. Say what it is responsible for and what it is not, what to check first, what it may change, how to deliver results, and when to ask a person.

Configuration

  • Model and thinking level: leave blank to use the tool’s default. Each tool has its own model list; after switching tools, pick the model again.
  • Skills: attach reusable methods. Put requirements that belong only to this agent in the instructions.
  • Concurrency limit: how many runs it can run at once, default 6. Extra runs wait in the queue.
  • Environment variables: injected when the tool starts. Use only narrow, low-privilege credentials, such as a read-only API key. Do not use production database admin passwords.
  • Custom arguments: appended to the tool’s launch command. Do not put secrets here; they can be visible to other local processes.
  • MCP servers: configure them for this agent, or pick from the workspace’s shared MCP library.
  • Integrations: connect external services the agent may use.

Changes do not affect runs already in progress. Later runs use the saved configuration.

Access

Every agent has an owner and an access setting:

  • Only me (default): only the owner can run it.
  • Entire workspace: every member can run it.
  • Specific people: the owner and the members you choose.

Only the owner changes access. Owners and admins manage the rest of the configuration, but cannot use their role to run an agent they were not granted.

MCP servers and secrets

Configuration that may contain tokens is stored on the server and is not shown again after saving. To change it, click Replace configuration and enter the complete new version. Deleting a server from the shared library removes it from every agent it was assigned to. To stop one agent using it, switch it off on that agent’s MCP tab.

Duplicating

Duplicating keeps most of the configuration (instructions, skills, access, environment variables, MCP servers) and changes only the name. Assignments of shared MCP servers are not copied and must be set again.

Archive and restore

Archiving stops new assignments and mentions, and cancels unfinished runs. History is kept, and you can restore the agent later.

Status

The agent list shows two things side by side: availability (online, offline or unstable, from the runtime) and workload (working, queued or idle, from runs). An offline agent is not deleted; queued runs wait until the runtime returns.

Conversation starters

Add up to three starters, each with a short label and a full prompt, so people know what the agent is good at. Selecting one fills the input without sending.

Creating with the CLI

delegora agent create --name "Frontend reviewer" --runtime-id <runtime-id> \
  --description "Reviews frontend pull requests" \
  --instructions "Read the diff and tests first; post conclusions only as issue comments."

Use delegora agent copy <agent-id> to duplicate an existing agent.

05Runtimes and machines

A runtime is one connected machine plus one AI coding tool on it. The daemon is the background process on that machine: it registers the runtime, claims runs from the queue, invokes the local tool and reports results back.

Supported AI tools

Delegora does not provide the tool’s account, subscription or model quota. Install the tool you plan to use, sign in with your own account, and run it once in a terminal. Login credentials stay in the tool; Delegora never receives them. Install only what you need. The daemon needs at least one supported tool to start.

Adding a machine

  • Desktop app: registers this computer and detects its tools automatically. It uses its own CLI profile for the daemon and does not overwrite your terminal configuration.
  • Another machine or server: on Runtimes, click Add, choose Other machine or server, and run the two commands shown.
  • Cloud runtimes: currently a waiting list.

If a terminal finds a tool but the app does not, the two usually use different PATH values. Restart the app, or set an absolute path to the tool.

Status

  • Online: a heartbeat arrived in the last 45 seconds. Ready to take work.
  • Recently lost (under 5 minutes): usually a brief network blip.
  • Offline (over 5 minutes): check the machine or restart the daemon.
  • Offline for over 6 days: move its agents to another runtime or delete it.

Queued runs wait for the runtime to return. They are never moved to another machine.

Concurrency

One daemon runs at most 20 runs at once by default; each agent runs at most 6. The effective limit is the smaller of the two. Runs over the limit wait in the queue.

Sharing a runtime

A local runtime is private by default: only its owner can create agents on it. The owner can share it with all workspace members or with selected people from the runtime’s detail page. Sharing never lets others rename, delete or administer the runtime. When access is removed, the affected agents are unbound and their runs are cancelled.

Cleanup and logs

The daemon removes an issue’s working directory 24 hours after the issue is closed and has been quiet, and clears regenerable caches such as node_modules 12 hours after a run. Chat sessions are cleaned after they are archived. A directory in use is never removed. Read logs with delegora daemon logs.

Custom runtime profiles

If your team uses an internal wrapper, create a custom runtime profile: choose a compatible protocol family, then enter a name, a command and fixed arguments. The command is a program and its arguments, not a shell script. For pipes, redirects or &&, put them in a script and use the script as the command.

06Issues

An issue is the basic unit for organising work: a feature, a bug, an investigation. Discussion, status changes and every run are recorded on the issue, so nobody has to dig through chat logs or terminal output for context.

Parts of an issue

Title and description (goal, background, requirements, acceptance criteria); status and priority; the assignee (a member, an agent or a squad); dates, labels and custom properties; project and parent-child links; comments, activity and the execution log; and deliverables (files uploaded in comments).

Creating an issue

Two modes: create manually (fill in the title and properties) and create with agent (describe the request only). In agent mode the agent writes the title and description and creates the issue; success or failure goes to your inbox. It does not add requirements you did not give. New issues start in todo, so an agent assignee starts working right away.

Each issue has a number such as MUL-123. If the workspace prefix changes, the numbers display with the new prefix.

Statuses

Seven built-in statuses in four groups:

  • Unstarted: backlog (assigning an agent here does not start a run) and todo (moving an issue here starts the assigned agent).
  • Started: in_progress, in_review (waiting for review) and blocked (waiting on an outside dependency).
  • Done: done.
  • Closed: cancelled (no longer pursued, not a successful finish).

Agents move work to in_progress when they start and to in_review when they deliver. If a run fails and no other run or retry is pending, an in_progress issue moves to blocked. When every linked pull request is merged, the issue can move to done (see the projects and repositories chapter).

Admins can add custom statuses in one of the four groups. A custom status has no special behaviour: naming one “Waiting” does not pause an agent.

Custom properties

Team-specific fields such as severity, customer or budget. A workspace can have up to 20 active properties. Types include text, number, select, multi-select, date, checkbox, URL, member and lists. Archiving a property hides it from pickers and filters but keeps its values.

Views

The Issues page has five layouts: list, board, table, Gantt and swimlane, all filterable by status, assignee, project and properties. Save a combination of filters and display settings as a view. A private view is yours only; a workspace view can be edited by its creator and by owners and admins.

Sub-issues

Split large work into sub-issues. The parent keeps the goal; each child progresses on its own. Sub-issues can be given a stage (1, 2, 3). When every sub-issue in the earliest unfinished stage is done or cancelled, the parent receives a notification and its agent assignee is woken to decide the next stage.

Comments, mentions and deliverables

Comments support formatting, code blocks, links and attachments. Replies form threads. You can select text in a comment and add an annotation that becomes a numbered quote in your reply. Files uploaded in comments are collected under Deliverables; uploading the same name again creates a new version.

Batch edits

Select several issues in a list or table to change status, priority or assignee, or to delete them together. Batch assignment to an agent asks for confirmation before any runs start.

Duplicates

Mark an issue as a duplicate with Mark as duplicate and choose the original. The duplicate moves to cancelled and links to the original. Not a duplicate undoes it.

Deleting

Workspace owners and admins can delete any issue. Members can delete issues they created or that an agent they own created. Deletion is permanent and cancels active runs. If the work is simply no longer pursued, set the status to cancelled instead.

Keyboard shortcuts

C creates an issue; Cmd/Ctrl+K opens search; Cmd/Ctrl+B toggles the left sidebar; Cmd/Ctrl+Enter sends a comment. Single-key shortcuts do not fire while you type. You can rebind shortcuts under Settings → Shortcuts; they are saved on the current device.

Inbox

The inbox tells you about new comments on issues you follow, changes to status, assignee, priority or dates, completed or failed issue creation by an agent, and autopilot activity you subscribe to. Your own actions do not notify you. Select a notification to mark it read, and archive it when you are done. Agents never read the inbox.

07Assignment and runs

There are four ways to trigger an agent. Choose by need: give it ownership, ask it one thing, wake it on a condition, or run it on a schedule.

Assigning an issue (ongoing ownership)

When work needs a clear owner, assign the issue to an agent or squad. The agent reads the description and discussion, does the work with its own configuration and updates the status. The confirmation dialog shows which agent will start. Don’t start yet saves the assignee without creating a run; moving the issue out of backlog starts it.

Assigning to a member creates no run and only records who owns the follow-up. Assigning to a squad wakes the leader first; the leader decides who handles each step.

Mentioning an agent in a comment (one request)

When you need one answer or one review and the owner should not change, mention the agent with @ in a comment. Before you send, the trigger preview shows whether each agent is reached by a direct mention, by the assignee, or by a squad leader. Untick an agent to skip that one trigger.

A comment with no @ is routed by context: a reply inside a discussion an agent already joined goes to that agent; a top-level comment goes to the assignee. Starting a comment with /note triggers no agent. @all notifies every member and turns off automatic triggering for the assignee.

Agents keep replying in their own threads even while their runtime is offline or busy. Delegora does not silently switch to another agent after a timeout.

Steering a running agent

When an agent is heading the wrong way, do not stop and restart it. Send a correction as a comment; it joins the current run. The label under the comment box shows how it will be delivered, and you can change that. Only text joins a running run; messages with attachments are handled after it ends. Steering needs support from the AI tool.

Several consecutive comments for the same agent merge into one waiting run and are handled together.

Wakeups (waiting on a condition)

A wakeup is a rule on an issue that says “when this happens, wake this agent”. Use it when work has to wait: for a supplier’s quote, a colleague’s answer, sub-issues to finish, or a pull request to merge. The rule is stored on the issue, so nothing runs while it waits.

Conditions include a time, a reply from a person, a field or status change, sub-issues finishing, a linked pull request merging, or another issue changing. You can repeat a rule up to 50 times. At its deadline, the agent is woken to report that the condition did not happen, or the rule can end without a run. Agents can also schedule their own next check during a run.

A wakeup run acts on behalf of the person who created the rule, and Delegora rechecks that person’s permission before it starts.

Runs and the execution log

Every time an agent works, Delegora records a run: what triggered it, which agent, its progress and its result. A run is queued, running, completed, failed or cancelled. The execution log on the issue lists every run, lets you open any transcript, stop queued or running work, and retry.

Transient failures (a brief runtime disconnect, a daemon restart, a timeout, a network drop while the tool runs) can be retried automatically. Errors returned by the agent itself, such as an expired credential or an exhausted quota, usually are not. Manual retry is always available, and a rerun repeats the work with the same agent and context.

Common failure reasons

  • Timeout: split the request into smaller steps.
  • Model account out of credit: top up or switch accounts.
  • Model account not signed in: sign in again on the machine that runs the agent.
  • Runtime offline: check the machine and the daemon.
  • Machine could not set up the run (disk full, missing permission): the detailed error appears below the message.

The full list, with how to handle each, is in the Errors tab of Analytics.

08Projects and repositories

A project groups issues that share one goal, tracks progress together, and links resources (repositories or folders) so agents know which code to work in. Work that a single issue can describe does not need a project.

Progress and status

A project’s progress is the share of its issues in the done or closed groups. Project status and issue status are independent: finishing every issue does not mark the project complete.

The project description is shared with every run inside the project. Put there what every run needs to know.

The lead can be a member or an agent. Making someone the lead does not assign issues or start work. A member who is the lead can also change the project’s workflow.

Resources

  • GitHub repository: a repo the runtime can check out, with an optional branch, tag or commit.
  • Local directory: lets a runtime on one machine work in an existing folder, with the agent editing your files directly. Use it only when nothing else fits.

Any Git URL the runtime can reach works as a repository, not only GitHub.

For repositories, each run gets its own worktree, so several runs can work in parallel without colliding. Each run hands back an agent/… branch for you to review and merge.

For local directories there are two modes: Direct (one run at a time; changes appear in your folder as the agent works) and Parallel (each run gets its own worktree; the folder must be a git repository with at least one commit).

Auto-merge (optional): when a run finishes, its branch is merged into the checked-out branch and then deleted. It is skipped if the repository has uncommitted changes or is detached.

Connecting GitHub

An owner or admin opens Settings → Code, clicks Connect GitHub, chooses the account or organisation, and grants access to all repositories or selected ones. The GitHub app is read-only: it never pushes commits, comments or sets status checks.

The switches:

  • PR sidebar: show linked pull requests in issue details.
  • Co-authored-by: add a co-author line to commits made by agents.
  • Auto-link PRs: link a PR to the issue whose identifier appears in its branch name or title, or follows a closing keyword in its body.
  • After PRs merge, move the issue to: Done (default), another status, or leave it unchanged.
  • PR card → CI and mergeability: show checks and conflicts on each PR.

Linking a PR to an issue

Put the identifier in the branch name or PR title, such as mul-123-fix-login-redirect or MUL-123 Fix the redirect after login. If it appears only in the body, put it right after Closes, Fixes or Resolves. A plain mention such as Related to MUL-123 does not link. You can also link by hand with + in the Pull requests block.

When merged PRs move an issue

An issue moves to the chosen status only when every linked PR is merged, the issue is not already done or cancelled, and it is not set to keep its status. A PR closed without merging keeps the issue waiting until you remove it. For an issue whose PR delivers only part of the work, or where a release step follows, use Keep status when PRs merge in the Pull requests menu.

Several workspaces

One GitHub app installation can connect to several workspaces. Each workspace matches only its own issue prefix. If an identifier matches an issue in more than one connected workspace, nothing is linked automatically, so an unrelated issue is never closed by mistake.

Disconnecting

Disconnecting from Settings → Code only removes the link between this workspace and the installation. To revoke repository access on the GitHub side, remove the app from your GitHub installations page.

09Squads

A squad is one leader agent plus any number of members. Assigning an issue to a squad does not run every agent at once: Delegora wakes the leader first. It reads the issue, hands each step to the member whose role fits, and follows up until the goal is met. The leader does not do the implementation itself.

A squad only decides who the work goes to. It does not merge agents into one, and it does not raise concurrency limits.

When to use a squad

Use a squad when work needs several capabilities and the right owner cannot be known when the issue is created. For example, a product delivery squad could have a design agent, a coding agent and a testing agent. When the scope is clear, assign the matching agent directly.

Composition

Creating a squad needs a name and a leader; the leader is automatically a member. Add members (agents or people), and give each a role description so the leader knows who is good at what.

  • Squad instructions: the leader reads them every time it works on a squad issue. Use them for routing rules (“UI work goes to X”).
  • Skills: skills added at squad level apply to every member.
  • Required plugins: the leader installs missing ones on the project’s runtime.
  • Shared runtime: set one runtime for the whole squad, applied to every agent in it.

The flow

  1. An issue assigned to the squad (not in backlog) starts a run for the leader.
  2. The leader posts one delegation comment that mentions the chosen member or members.
  3. Each member gets its own run and does the work.
  4. When a member reports back, or a stage closes, the leader is woken to check and to delegate the next step.

The leader records its evaluation on the issue timeline, so people can see why it decided what it did.

A direct mention of a member inside a comment does not wake the leader for that comment, because it is a deliberate hand-off.

Squad projects

A squad works on one open project at a time. Assigning a project gives the squad the project’s workflow; issues in statuses that workflow lacks are mapped to a status you choose.

Archiving

Archiving a squad moves its open issues to the leader. This cannot be undone, so create a new squad if you need one.

Charters and routines

A squad can have a charter: its mission, the outputs it owes, what it must not do, when it must escalate to you, and how long it takes to answer. The charter replaces the squad’s description for this purpose. Each save increments a revision; a save based on an old revision is refused so you can see the other change first.

A routine is an autopilot linked to a squad, with a purpose and an expected output. Each routine shows a state: on time, no output, late, failed, paused, held by a company control, or not yet run. Every charter also gets a weekly operating review routine that checks the squad’s outputs against its charter and proposes at most one useful change.

10Company, proposals and pipeline

The Company page draws your workspace as a company. Squads sit in rooms, rooms sit on floors, and agents sit at desks in their home squad’s room. Each agent shows what it is doing, and anything waiting for your decision is marked.

Floors, rooms and desks

A floor holds six rooms, three across and two down. Floor names are yours; up to 24 floors. Each room has ten desks: the leader sits first, then agents in the order they joined. Human members are not drawn. A squad without a room waits in the “Not on a floor” tray, and Seat all places every waiting squad at once.

An agent is drawn at a desk in one squad only, its home squad. It can belong to several squads.

Proposals and decisions

A proposal is a squad’s request for your decision. It contains a summary, at least one evidence link, a recommendation, the options considered, cost and risk, and the decision being asked for. Proposals do not notify you on their own. They wait in the Decisions queue, and the Secretary’s daily brief lists them.

  • Approve: the proposal is accepted. If it names a squad to take the next step, the company creates a project and a kickoff issue for that squad.
  • Reject: closes it, and your note is posted as a comment that mentions the proposing leader, so the squad can revise and resubmit.
  • Ask for changes and Decide later are also available.

Only owners and admins decide. Agents, including the Secretary, cannot.

Each squad has limits on pending proposals and on proposals filed in a rolling week, and the workspace holds at most ten pending proposals.

Goals and metrics

A goal says what the company, a floor, a squad or an initiative is working toward in a period. It has key results, and each key result follows one metric. Progress and confidence are calculated from the metrics, so nobody has to write a status report.

Metrics come from three sources: built-in metrics calculated nightly from the workspace (issues done, cycle time, run success rate, cost, pipeline health), manual readings entered by a member or agent, and webhook readings from outside the product, such as sign-ups or revenue.

Confidence is one of three levels: on track, at risk, or off track, compared with a straight line from the period’s start to its end. You can override it with a note.

Pipeline and initiatives

An initiative is one venture: a product, a feature line or a market experiment. It moves through the pipeline, a fixed sequence of seven stages, each owned by a squad and each with the artifacts it must produce:

  1. Validate
  2. Define
  3. Plan
  4. Build
  5. Launch
  6. Operate
  7. Learn

The owning squad attests that a stage is complete, and the initiative advances when its artifacts are in place.

The Launch gate is always your decision, at every autonomy level. The Operate stage ends with a review gate: continue, scale (open a follow-on initiative at Define) or sunset.

An initiative starts from an approved opportunity, or you can create one directly from the Pipeline page. You can send it back to an earlier stage, shelve it (its stage clock stops), or close it with a reason.

Daily brief from the Secretary

Each morning the Secretary writes a brief from the company’s digest. It contains a headline, the decisions waiting for you, progress by floor, goals that changed, budgets, pipeline movement, people reviews, risks, and notes. It takes about two minutes to read. Rate each brief as useful or not useful; the Secretary adjusts to your ratings.

Starter company

The starter company wizard creates a ready structure: a Secretary, a knowledge librarian, and squads for research, product, build, launch and governance, each with a charter and routines. Running it again creates nothing twice. The starter company starts with a company budget of $500 a month in warning mode.

11Workflows and Autopilot

Workflows

A workflow sets the steps a project’s issues go through, who handles each step, and what they should do. For example, a delivery workflow: Development goes to an engineering agent; Review goes to a review agent, which passes it to QA or sends it back; QA is a member who decides whether it is finished.

When an issue moves into Review, it is handed to the review agent. The description, discussion and earlier results stay on the issue, so the next person or agent picks up where the last one stopped.

Creating a workflow

Owners and admins open Settings → Workflows, click New workflow, and start blank or from the Delivery, Content or Community template. Name it, choose its status columns and order them the way your team works.

For each column, choose what happens when an issue enters it: No handoff, Hand to an agent, or Hand to a member (you can also pick the project lead). For an agent step, write its instructions, set When done, move to (the next column if left empty) and If rejected, send back to for rework. Use Blocked, not send-back, when the step cannot continue for an outside reason.

Delegora checks the structure on save: Backlog comes first, Todo directly after Backlog, Blocked before Done, Done directly before Cancelled, Cancelled last, every step can reach an end state, and no step loops to itself. Errors are shown precisely so you can fix them.

Using it in a project

Open a project and choose its Workflow. Changing the workflow does not hand off issues or start agents. A project without a choice uses Default, where every status is available and nothing is handed off automatically.

One workflow can serve several projects, and edits apply to all of them. To give one project its own process, duplicate the workflow and select the copy there.

A workflow still used by a project or squad must be switched to another workflow before it can be deleted.

Autopilot

Recurring work, such as a daily progress summary, a periodic dependency check, or an agent triggered by an event from another system, belongs in an autopilot. Each autopilot stores a runbook (detailed instructions the agent reads on every run), an assignee, and one or more triggers.

There are six built-in templates: daily news, stale pull request review, bug triage, weekly progress report, dependency audit, documentation check.

Triggers

  • Schedule: a cron expression with an IANA timezone (for example Europe/London). The page previews the next run times so you can check before saving.
  • Webhook: after saving, Delegora generates a URL. Another system sends a POST with JSON to start a run. Add an Idempotency-Key so retries do not run twice. You can filter by event type. If the URL leaks, click Rotate URL; the old URL stops working immediately.

Run modes

  • Create issue: each run creates an issue and runs like any other. If the runtime is offline, the issue is still created and the run waits.
  • Run only: no issue is created. If the runtime is not available when the trigger fires, the run is skipped and leaves nothing waiting.

Managing

Run now executes the whole flow once without waiting for the schedule. Use it to test before turning automation on. The delivery list shows every webhook received; you can replay only deliveries with a valid signature that were not rejected and have finished processing.

Owners and admins always have access; you can grant other members permission to edit and run an autopilot. The number of automatic runs per period is capped, and runs past the cap wait for the next period. An autopilot pauses after repeated failures, and you are notified in your inbox.

12Chat and the Secretary

Chatting with an agent

Chat fits work that has not become a clear issue: sorting out ideas, asking a question that belongs to no issue, or discussing an approach. A chat is a one-to-one conversation with an agent, outside the issue board. Other members cannot see it. Conclusions the team needs belong in an issue, a project description or a knowledge document.

A chat is not tied to an issue, so the agent does not automatically read any issue’s description or comments. You can attach a project to a conversation to give the agent context.

Each message creates a run, and the reply returns to the conversation. Later messages continue the same tool session, so you do not need to repeat earlier content.

Floating chat: from any page, the round button in the bottom-right corner opens a small window. Press Cmd/Ctrl+J to open or close it; opening it places the cursor in the input.

Queue: while an agent is replying, new messages join a queue. Steer on a queued message stops the current reply first and then handles this one. Content already returned is kept. If the agent had produced nothing yet, your message returns to the input, attachments included, so you can edit it.

To stop midway, use the stop button next to the input.

The Secretary

The Secretary is one agent for the whole workspace. It reads what your squads did and writes one brief for you each day: what needs your decision, what is moving, and what is stuck. You do not receive a report from each squad. Squads work through issues, projects and proposals; the Secretary pulls the facts it needs, so squads spend no runs on status reports.

What the Secretary does

  • Asks the leaders who own each part of a question, reads their answers and challenges the thin ones. Each request has a limit on challenges.
  • Gives you one assessment: the answer first, the decisions you need to make, the risks ranked with an owner each, what leaders disagreed on, and what it did not check.
  • Passes your decisions to the leader who will carry them out, as a directive. A directive can only be created from a chat message sent by an owner or admin, and your words are stored exactly as written.

The Secretary does not approve proposals or launch gates. Those keep their Approve and Reject buttons for you. It cannot change an issue’s status or assignee, delete anything, or publish knowledge unless a publishing policy allows it.

The daily brief

Each morning the Secretary publishes a brief from the company’s digest: a short headline, the decisions waiting for you, progress by floor, goals that changed, budgets, pipeline, people reviews, risks and notes. It takes about two minutes to read. If the Secretary’s machine was asleep at eight o’clock, the brief is caught up later the same day.

The notification Brief ready is the only routine notification from the Secretary. Rate each brief as useful or not useful, with a reason tag (too long, missing something, wrong, too vague, not for me). The Secretary reads your recent ratings and adjusts.

Briefs in chat apps

You can receive the brief in Slack, Telegram or Lark after linking your account. The message is short: the headline, the number of decisions waiting, the top three with buttons to Approve, Reject or Snooze 7 days, and a link to the full brief. Only owners and admins can decide from a chat app. You can set quiet hours when nothing is sent.

In a chat with the Secretary, /brief shows the latest brief and /decisions lists what is waiting for you.

13Knowledge, skills and the Hub

Knowledge base

The knowledge base keeps the company’s durable record: policies, research, product documents and decisions. Agents search it before non-trivial work and cite what they use. Only owners and admins can enable it. When the knowledge service is offline, agents keep working without company knowledge until it returns.

Drafts and publishing

Writing and publishing are separate. Members and agents create drafts, which are saved but not searchable. An owner or admin presses Publish to make one searchable, or Discard to remove it. Proposal decisions and briefs are written to the decisions base automatically, so the history is always searchable.

Each knowledge base and each document kind can have a publish policy: a person publishes (the default), drafts publish after a review, or drafts publish at once. Squads below autonomy level 2 never publish automatically.

Documents have kinds, such as validation report, analysis, launch plan, retrospective or metrics report. Each kind lists the headings a draft must include; a draft missing one is refused.

Uploading and importing

Upload a file or import a page from the Knowledge page, or click Save to knowledge on an issue to save its content as a draft. A new document is published as soon as it is added, if the policy allows.

Each base has its own access: limit it to specific squads, floors or agents. The Wiki is limited to three bases.

Repository sync

A repository’s docs folder can sync into the engineering base once a day. Each Markdown file becomes a reference document, and each file needs a Summary heading.

Retrieval tests

Add a question and the document it should return. The system measures the hit rate and reports it in the brief. Search always returns its closest matches even when none is relevant, so check each result against your question.

Skills

A skill is a reusable set of working methods in a workspace: a main SKILL.md file, optionally with scripts, templates and reference material. Attach it to an agent and the agent applies the guidance whenever the work is related, instead of copying the same method into every agent’s instructions.

Creating or importing

On the Skills page, click New skill. You can write one directly, import from GitHub, from a .zip or .skill archive, from skills.sh or ClawHub, or copy one from a runtime (a snapshot at that moment). If a skill with the same name exists, choose to overwrite, save under a new name, or skip.

A skill imported from a source can update from source. This keeps its identity and its agent assignments but replaces the name, description, SKILL.md and supporting files. Local edits are overwritten.

Attach skills from the skill page (Add to agent) or from the agent’s Skills tab. When a skill is not needed for now, disable the assignment instead of deleting it. Changes apply from the next run.

Any member can create or import a skill. The creator and owners or admins can edit or delete it. Deletion is permanent and removes the skill from every agent.

Hub

The Hub lists every skill and plugin in the workspace, with its source, version, and whether a newer version exists. Owners and admins manage the sources (GitHub, zip URLs, registry indexes). A token for a private repository is encrypted and never shown again.

Every import is scanned before anything is installed. The scan reports No issues, Warnings or Blocked. Blocked imports cannot be installed. Warnings must be acknowledged before the import is saved.

Published plugin versions do not change; edits form a draft until an owner or admin publishes a new version. When a source has a newer version, choose Overwrite (your local edits are lost) or Fork (keep your edits and stop receiving updates).

The default quota is 500 items and 1 GiB per workspace. An uploaded archive can be up to 16 MiB.

14Governance, budgets and costs

Autonomy levels

Each squad has an autonomy level from 0 to 3 (default 1). Only owners and admins change it, and every change is recorded in the governance log.

  • Suggest (0): routine runs are held. A squad runs only when someone assigns it work or mentions it. It can still file proposals.
  • Work (1): routine runs go ahead. The squad researches, analyses, writes knowledge drafts and files proposals. Every decision is yours.
  • Trusted (2): as Work, and knowledge drafts can be published after review. Standing approvals can approve the squad’s proposals.
  • Autonomous (3): as Trusted, and standing approvals can create initiatives from the squad’s own opportunities at the first stage, within limits on count and budget.

At every level, launching a project or changing the organisation remains your decision, and spending is always bounded by budgets.

Delegora cannot see what an agent does inside a run. An autonomy level therefore cannot stop an agent from calling an external API that its credentials allow.

Standing approvals

A standing approval automatically approves a narrow class of proposals you have pre-authorised: the proposal kind, the squads or floors it covers, a maximum cost, and a weekly maximum. You can review each approval in the brief and revoke it at any time. If a review reverses one of its approvals, it is flagged. Agents cannot create or change these policies.

Company controls

The company is in one of three states:

  • Running: work runs normally.
  • Paused: routine and delegated runs are held; running work is cancelled when you choose “stop running work”. Chat and the Secretary keep working.
  • Quiet hours: routine runs wait until the window ends (default 22:00 to 07:00). Runs a person starts are not held.

Only owners and admins can pause or resume. Members can read the state.

Budgets

A budget sets a spending limit for one scope and one period, counted from the runs in that scope. As spend approaches the limit, the budget warns you. In hold mode, a run that would exceed the limit stays queued and is not failed. In warn mode, it only alerts. A new budget should start in warn mode until you have tested it.

You can extend the current period; every extension is recorded. A squad that needs more can file a budget proposal instead.

The governance log

The log is an append-only record of every change to how the company is governed: standing-approval policies, budgets, autonomy changes, organisation changes applied or reverted, automatic knowledge publishing, forced initiative moves, pauses and resumes, activated goals and published reviews. You can filter by kind, actor or subject and export CSV, up to 50,000 rows. Nothing in the application can edit or delete an entry.

Analytics

The Analytics page rolls up agent usage across the workspace: cost, tokens, run time, run count and failed runs. Every member can open it.

  • Usage shows a trend (tokens, cost, time or runs) and a leaderboard of agents.
  • Errors shows failed runs, the failure rate, a breakdown by failure class, and the agents with the most failures. Each failure code has a documented meaning and fix.

Costs are estimates in USD from published model rates, not your provider’s bill. Models missing from the rate table count tokens but cost $0 until you set a custom price.

Security boundary

Each run is a child process of the daemon and runs with the full permissions of the operating-system user that runs the daemon. Delegora does not sandbox the filesystem for you. To limit what agents can reach, run the daemon as a dedicated user, in a container, or in a virtual machine, with only the repositories and secrets the agents need. Treat every credential reachable from that environment as one the agent may use: scope tokens narrowly and prefer deploy keys for each purpose.

Run tokens (mat_) are created by the server for each run, bound to the user, workspace, agent and run, and expire on their own.

15Integrations

Integrations let the team ask an agent questions, mention it in a group chat, or create issues from a chat app, without opening Delegora.

Chat apps

Slack, Telegram, Lark (Feishu), WeCom and DingTalk are supported. Each bot is bound to one agent; for several agents, create one bot per agent. An admin connects the bot with the credentials from the chat platform, then each member links their Delegora account through a one-time link that expires after 15 minutes. Only members of the workspace can use the bot.

  • Direct messages: message the bot directly; no mention needed.
  • Groups and channels: only messages that mention the bot are processed. Each thread has its own session, and follow-ups need a fresh mention.
  • Attachments: images and files reach the agent, with per-platform limits (for example 20 MiB per file and 10 files per message on Slack).

Commands in chat:

  • /issue <description>: creates an issue from the message and assigns it to the bot’s agent.
  • /new: starts a new conversation with the agent. /new <message> starts one and sends the message.
  • /clear: keeps the full history but makes the agent forget the earlier context.
  • /brief and /decisions: show the latest brief and the decisions waiting for you (see the Chat and Secretary chapter).

To disconnect, go to Settings → Messaging. This stops the bot receiving new messages; existing conversations are kept.

GitHub

Connect GitHub to link pull requests to issues automatically, show their checks and mergeability, and move issues when their PRs merge. Details are in the Projects and repositories chapter.

Knowledge service

The company knowledge base is connected and managed from the Knowledge page. Details are in the Knowledge, skills and Hub chapter.

MCP

Agents can use the MCP servers you configure, either per agent or from the shared workspace library. Details are in the Agents chapter.

Public API (v1)

The v1 API lets your own systems integrate with Delegora using a personal access token or an application token. An OpenAPI specification is available for generating clients. Never put a token in source code; load it from a secret manager.

Webhooks

An autopilot can receive events from other systems and run the matching work. See the Workflows and Autopilot chapter.

16Troubleshooting

First work out which layer the problem is in: the Delegora service, the daemon, the runtime, or the AI tool. Usually the run status and the runtime status are enough to find it.

An agent does not run

Open the issue’s execution log and read the run’s status.

  • Queued: check that the agent’s runtime is online, that the tool is detected on it, that the agent still has concurrency headroom, and that the daemon has capacity. If the tool is missing from the runtime list, confirm it runs and is signed in under the same system account and PATH, then restart the daemon.
  • Waiting for a local directory: another run is using the same folder. Switch the resource to parallel (worktree) mode to remove the queue.
  • Runtime offline: check the machine and the daemon. Queued runs start once the runtime returns.

Common errors

  • Cannot run on its private runtime: you do not have access to that runtime. Ask the owner to share it, or bind the agent to a runtime you can use.
  • Model account out of credit: top up or switch accounts, then retry.
  • Model account not signed in: sign in again on the machine that runs the agent.
  • Timed out: split the request into smaller steps.
  • The machine could not set up the run: usually low disk space, a missing permission, or a locked folder. Read the detailed error below the message.
  • Company paused or budget at its limit: runs are held. Resume the company or raise the budget.
  • Autopilot run limit reached for the period: later runs start in the next period.
  • Autopilot paused after losing its runtime: attach a runtime, then reactivate the autopilot.

Cannot sign in or connect

  • Sign in again in the app, or rerun the sign-in command in the command-line tool.
  • If your network uses a proxy or firewall, check that the machine can reach the Delegora service.
  • If the web sign-in completes but the command-line tool reports a TLS handshake timeout, retry with the TLS compatibility option described in the technical documentation.

Email does not arrive

Check your spam folder. Invitations and verification codes expire after a short time; request a new one. If it still does not arrive, contact support with your account email.

When reporting a problem

Include the command-line tool version, your operating system, the error message and the daemon logs (delegora daemon logs). Remove tokens, email addresses and customer data before sending.

17Apps and command-line tool

Desktop app

The Delegora desktop app is available for macOS, Windows and Linux. It uses the same account and data as the web app and manages the daemon on your machine for you. You can be signed in to both at once.

Tabs are saved per workspace. Logging out clears every tab saved on the machine. Desktop-only shortcuts (closing and switching tabs, zoom) work only in the desktop app.

Auto-update is on by default. On Linux, auto-update works only for the .AppImage package; for .deb and .rpm, install the new package over the old one.

iOS app

The iPhone app is not on the App Store yet. You can build a Release version from the source on a Mac and install it on your own iPhone. A free Apple account signs the app for only 7 days; after that, reconnect the iPhone and rerun the build to re-sign. Your data on the server is unaffected by reinstalling.

Command-line tool

The command-line tool connects local runtimes and manages workspaces, issues, agents, autopilots, skills and runtimes from a terminal. Install it with the official script or Homebrew, then check with delegora version.

Sign in the first time with delegora setup: it opens a browser to sign in and starts the daemon. Check with delegora auth status and delegora daemon status. On a machine without a browser, create a personal access token on the web and run delegora login --token.

Common commands:

delegora workspace list
delegora issue list
delegora issue create --title "Fix login failure"
delegora issue status MUL-123 in_progress
delegora issue comment add MUL-123 --content "Check the regression tests first"
delegora issue runs MUL-123

Read long text from a file or stdin to avoid quoting problems:

delegora issue create --title "Upgrade notes" --description-stdin < notes.md

Pass secrets through a file or stdin rather than on the command line, so they stay out of shell history. The configuration file holds a token that can act as you, so never commit it to a repository.

Run delegora <command> --help for the flags of your installed version. Use --output json in scripts.

18Dynamic workflow, from zero to live

This chapter is for someone who has never built a workflow. It takes you from an empty squad to a workflow that runs real work, and it explains every control you will meet along the way.

1. What you are building

A squad is a small team of agents with one leader. Its workflow is the path a piece of work takes through that team: who does each step, what a checker looks at, when work goes back for another try, and where it is allowed to finish.

You do not write code to build a workflow. You draw it in the workflow designer, one step at a time, and Delegora checks it before anyone can run it.

These words appear everywhere in the designer:

WordPlain meaning
SquadThe team: a leader agent plus member agents.
WorkflowThe whole path. It is a set of steps, roles, edges, loops and stops.
DraftA workflow you are still editing. Nothing runs on a draft.
VersionA published copy. It is locked. Work that is already running keeps the version it started with.
StepOne place in the path where work sits.
RoleWho works at a step: an agent, a member, the squad managers, or the person who made the request.
TaskOne concrete piece of work inside a step, for example “write the draft”.
VerdictThe result a task reports: pass, fail or neutral. The next move depends on it.
GateA step whose job is to check someone else’s work.
EdgeAn arrow from one step to the next, labelled with when it is taken.
LoopAn edge that goes back to an earlier step, with a limit on how many times it can happen.
StopA named reason why a request ends without finishing, for example “missing grounds”.
TerminalA place where a request ends normally. One terminal can take the work out of the workspace.
RequestOne piece of work moving through the workflow.

2. Before you start

You need:

  • Admin or owner access to the workspace, or a role that can manage the squad. Only squad managers can create and publish a workflow.
  • A squad with a leader and at least one member agent. Each agent needs a runtime that is online, otherwise its tasks wait.
  • Workflow authoring turned on. If the designer shows “Workflow authoring is off”, the feature is not enabled for this installation. Ask whoever runs the server to enable it.

Who can do what:

ActionWho
See the workflow list and read a versionSquad members
Create or edit a draft, check, simulateSquad managers
Publish a versionSquad managers
Turn on Auto for a workflowAdmins only
Confirm a workflow that can leave the workspace without a person reviewing itAdmins only
Close a task on behalf of an agentSquad managers (the action is logged)

3. Step 1: Set up the squad

  1. Open Squads in the sidebar and click New squad. Give it a name.
  2. Pick the leader. The leader plans the work and does not take work tasks itself.
  3. Add member agents from the squad page. Each agent needs the skills its tasks will use. You can add skills later from the agent’s page.
  4. Make sure each agent’s runtime is online. Open the runtime page if an agent shows as offline.

If you already have a ready-made bundle of agents and skills, you can skip the manual setup and import it. That is covered in section 12.

4. Step 2: Create a new workflow

Open the squad and scroll to the Workflows section. Click New workflow. A dialog opens with four ways to start.

Blank. You get an empty draft. Type a name and click Create. The designer opens and you build every step yourself. Use this when your process is unlike the templates.

Copy a Kit Việt workflow. You pick one of the ready Kit Việt templates and get a copy. The copy is separate from the original: changes to the original never reach your copy, and changes to your copy never reach the original. The name is taken from the template unless you type one.

Import a file. Choose a flow.json file, or paste its contents. The file must be a workflow manifest and must be smaller than 512 KiB. If the file is not valid, the dialog says which part is wrong before anything is created.

Ask an agent to draft. Use this when you have a written process and want an agent to turn it into steps:

  1. Choose the agent that will draft. Pick one that can read documents well.
  2. In What the workflow should do, describe the process in your own words: who does what, what needs checking, what should happen when a check fails.
  3. Under Reference files, attach any documents the agent should read, or tick the existing agent instructions and skills of the squad.
  4. Click Ask the agent. Delegora opens an ordinary issue for the agent, with your notes and the list of squad members. The new draft is empty until the agent finishes.
  5. When the agent attaches a flow.json file to that issue, the draft page shows Import proposal. Click it. The draft is filled with the proposal.
  6. Read the proposal in the designer, change what is wrong, then run Check and Simulate as with any other draft. Publishing needs one more tick, covered in section 9.

The agent only proposes. It cannot publish, cannot assign roles, and cannot switch a workflow on.

5. Step 3: Know the designer screen

Open a draft to see the designer. It has three areas.

The top bar shows:

  • The workflow name. Click it to rename.
  • A save status: “Saving…”, “Saved” or “Unsaved changes”. The designer saves automatically about 1.5 seconds after your last change. If it cannot save, you see “Could not save” and your change stays on the screen. Copy anything important before you leave.
  • Check, which lists the problems in the draft.
  • Simulate, which runs the route without any agents.
  • Export, which downloads the draft as a flow.json file.
  • Publish, which turns the draft into a locked version. It is greyed out while errors remain.

The left column, Steps (the outline), lists every step in the order work flows through it. Use the search box to find a step by name. Click a step to open it. The Add step menu at the top of this column adds a new step.

The middle column, the Inspector, edits whatever you selected: a step, a task or an edge.

The right column holds the side panels. Open each one only when you need it:

  • Roles: who can do each step, and which agents are in each role.
  • Variables: named values a workflow can read, such as a number or a yes/no choice.
  • Verdicts: the sets of results a task can report, and whether each counts as pass or fail.
  • Loops: how many times each rework loop can run.
  • Stops: the named reasons a request can stop.
  • Terminals: the places a request can finish.
  • Reference: the agent instructions and skills of the squad, shown read-only so you can check the original process while you build.

The Graph tab draws the same steps as a map. It is for looking, not for editing:

  • Click a step on the map to select it in the Inspector.
  • Fit resizes the map so every step fits the screen. It never shrinks below half size, so on a large workflow the map scrolls.
  • Find a step jumps to a step by name.
  • Show loops only hides everything that is not part of a loop.
  • There are no zoom buttons. Scroll the map with the scrollbars or a trackpad.

There is no drag-and-drop on this map. You do not move steps or draw arrows by dragging. You make changes in the Inspector and the panels. The only reordering by buttons is for edges: each edge in a step’s edge list has up and down arrows. (Drag-and-drop exists only in the older status workflow designer under Settings → Workflows.)

On a phone, the outline shows as a list, and tapping a step opens its Inspector as a full-height sheet. The map becomes a vertical list of steps.

6. Step 4: Build your first step

This walkthrough builds a small content workflow. There are four steps:

  1. Draft: a writer agent writes the text.
  2. Review: an editor agent checks it. It can pass, send the text back to Draft, or block it.
  3. Approve: a person from the squad managers approves it.
  4. Done: the terminal where the work finishes.

Start with the first step.

  1. In the Steps column, click Add step and choose Work. A new step appears at the end of the list and opens in the Inspector.
  2. In the Inspector, set the step title, for example “Draft”. Leave the kind as Tasks. Leave Wait for as All tasks: the step is done when all its tasks are done.
  3. Under Tasks, click Add task. Give the task a title, for example “Write the draft”. Choose its kind: Work. The Role field is still empty; you fill it in step 5.
  4. Write Instructions for the task: what the agent does, what the output must contain, and where to put it. Instructions are read by the agent, so be specific.
  5. If the task needs a file, tick Needs an attachment and say which kind of file. A task with a required file is not finished until the agent attaches that file.

7. Step 5: Create roles and fill them

A role is a seat in the workflow. Tasks are given to roles, not directly to agents. This lets you change the agent later without touching the steps.

  1. Open the Roles panel on the right and click Add role.
  2. Give it a key (a short name such as writer) and a label (what people see, such as “Writer”). Choose the kind:
    • Agent: one or more agents from the squad.
    • Member: a human member of the workspace.
    • Squad managers: anyone who manages the squad.
    • Requester: the person who created the request.
  3. For an Agent role, use Choose an agent to pick the agents that may take it. The Pool column shows how many. If an agent you need is missing, use Add agent to add it to the squad first.
  4. Back in the Inspector, set the task’s Role to writer.

The leader cannot be put into a task role. A role that no task uses is flagged as unused, and Check reports it.

8. Step 6: Add a review step and connect the steps

A gate is the step that checks someone else’s work.

  1. Add step → Gate. A gate comes with three ready-made edges and a checking task:
    • Passed: goes forward.
    • Send back for rework: goes back to the step that did the work, while rework is still allowed.
    • Blocked: stops the request as stalled, and a person must look at it.
  2. Rename the gate step to “Review”. Open its task, rename it “Check the draft”, and give it a new role, editor. Make sure editor is a different agent from writer. A gate may not be checked by the agent who made the work it judges. Check reports this as a separation problem.
  3. Change the Send back for rework edge so it points to “Draft”. Each edge has a Destination: a step, a terminal, or a stop.
  4. Change the Passed edge so it points to “Approve”, the human step you will add next.

Where the edge list is, and how to use it:

  • Each step lists its outgoing edges in order. The order matters: edges are checked from top to bottom, and the last one is the fallback.
  • Use the up and down arrows to change the order.
  • Use Add edge to add a new one, and the trash icon to delete one.
  • An edge can have a condition, built with the condition builder. The builder compares a fact or variable and combines rules with AND, OR and NOT. Leave the condition empty for an edge that is always taken.

9. Step 7: Add a human approval and a loop limit

Add a human approval. Click Add step → Human approval. It is a manual step: a request waits there until a person acts.

  • In the Inspector, set Exit role to Squad managers. Only these people can move the request out of this step.
  • Set the Notice message. It is posted when a request enters the step, so the approver knows what to do.
  • Connect the Review step’s Passed edge to this step, and connect this step’s manual edge to Done.

Limit the rework loop. The Review step’s Send back for rework edge is a loop. Open the Loops panel:

  • Find the loop, for example review.
  • Set Up to N times, for example 2. After two returns to Draft, the next fail follows the edge you set for “loop used up”, or the request stops at the Loop used up stop.
  • Always give a loop an edge for “used up”. Check reports a step that goes back but has no later edge for that case.

Add the terminal. Open the Terminals panel. A terminal named Done already exists in most templates. Make sure the Approve step’s exit goes to it. If a terminal is marked Leaves the workspace, the work leaves the workspace when the request ends there. Such a terminal needs a person to review the work first, and a workflow with one of these may show the release warning.

Stops. Open the Stops panel to see the stop reasons. Built-in stops are Missing grounds and Loop used up. You can add custom stops with a message. The message can use values from variables, and you can preview it before saving.

10. Step 8: Check the draft

Click Check. A list of problems opens, grouped by step. Click a line to jump to the exact place.

Problems you will meet most often, and what to do:

MessageWhat it meansWhat to do
A step cannot be reached from the startNo edge leads to that stepAdd an edge into it, or delete it
A role needs N bound, has MA role has fewer agents than its tasks needAdd agents to the role’s pool
Gate cannot be given to anyone who did the work it judgesThe same agent is both worker and checkerGive the gate to a different agent
A role is a person and has no skillsA role of kind Member has no skillsGive the role a skill, or change its kind
A step goes back but has no later edge for when the loop is used upA loop has no exitAdd an edge for “loop used up”
A step is on a cycle with no loop edgeWork can circle foreverMark the going-back edge as a loop
No path leads from the start to a terminal without a stopA request can never finishConnect a path to a terminal
A manual step has no manual edgeA request would wait foreverAdd the manual edge
A manual step posts no noticeApprovers are not told what to doSet the notice message
A terminal leaves the workspace without a human reviewThe release warningAdd a human approval before it, or get an admin to confirm
A role is unusedNo task uses itUse it, or delete it

Errors block Publish. Warnings do not block it, but read each one. A warning that needs acknowledgement will ask you to tick a box before you publish.

11. Step 9: Simulate the route

Click Simulate. Choose a value for each variable, or leave a variable on Default. Click Run.

You see:

  • Task results, one row for each time a step is entered.
  • Path, the order of steps and edges that were taken, with a visit number.
  • Ends at, where the simulation finished.
  • Loops, how many times each loop ran.

Read the path with two questions: does every step go where you expect, and does every request end somewhere? Simulate only checks the routing. It does not check whether the agents do good work. That is what trial runs are for.

12. Step 10: Publish a version

Click Publish. The dialog shows:

  • A note: publishing creates a locked version, and running requests keep theirs.
  • The result of a fresh check. If there are errors, you see “Fix the errors before publishing” and the button stays off.
  • Make this the active workflow. Tick it to make this version the one new requests use. Leave it unticked to keep the old active version and test the new one with a trial run first.
  • If the workflow can leave the workspace without a human review, the release warning appears. Only an admin can tick the confirmation.
  • If the draft came from an agent, you must tick I have read this workflow before the button enables.

If someone else published a newer version while you were editing, you see “A newer version was published”. Click Edit the latest version to open it.

After publishing:

  • The version appears in the Workflows list of the squad with a version number.
  • Auto is off on the new version, even if the old one was on. An admin turns it back on after reviewing the new version.
  • The draft stays in the list under Drafts so you can keep working on it. Publishing again makes a new version.

13. Step 11: Try it with a trial run

Do not switch a live squad to an untested workflow. Test it first:

  1. In the Workflows section of the squad, find the version row and click Trial run.
  2. Enter a title for a sample request, for example “Sample article about coffee”. Click Start.
  3. The request runs with real agents on the same engine. It carries a Trial badge.

A trial request is separate from live requests. It does not change how other requests run. It is also left out of the default numbers. Work from a trial cannot leave the workspace until a person has looked at it, so it is safe to try the real path.

14. Step 12: Use the workflow for a request

To give a squad real work, create an issue and assign it to the squad.

  • If the squad has more than one published workflow, the issue form shows a workflow picker. The default is the active version.
  • The leader plans the request, and the request then follows the workflow step by step.
  • Routine tasks and agent-created requests always use the active version.

15. Step 13: Follow a request

Open the issue. The Flow panel shows where the request is now:

  • Step: the current step.
  • Round: how many rework rounds have been used, shown as ↺ n/max, for example ↺ 1/2.
  • Outcome: Pending, Approved, Rejected, Blocked or Done.
  • Tasks: each task with its role, status and verdict.
  • Path: the steps and edges taken so far, with times. Open a line to see the facts behind that choice.
  • Feedback: comments a rework returned, so the writer knows what to fix.

When a task waits for a decision, choose the verdict that the task allows. The panel only offers verdicts that belong to that task.

Other controls:

  • Close on behalf: squad managers can close a task in place of the agent. The task shows “Closed by {name} on behalf of the agent”. Use it only when the agent cannot finish and you have checked the work.
  • Exit: take a manual exit, such as Approve and continue, when the step is waiting for a person.
  • Back to drafting and Resume: send a stalled request back to its draft, or resume it. Resume asks you to confirm when it would skip a checkpoint that no person has reviewed.
  • Detach: separates the request from the workflow engine. Its open tasks become ordinary sub-issues and the workflow stops steering them. This cannot be undone, so use it only when the workflow is broken for this request.

Stop reasons you may see:

StopMeaning
Stop 1: BlockedA check found missing grounds: the request lacks what the check needs.
Stop 3: Max returns reachedThe rework loop was used up.
StalledThe request cannot go on by itself. Someone must act: take the exit, resume, or detach.

16. Step 14: Read the numbers and improve

Open a published version and look at Insights. For up to the 500 most recent requests on that version you see:

  • how many requests there were, and how many are still open;
  • for each step, how many times it was entered, and the median and 90th percentile time spent there;
  • for each edge, how many times it was taken;
  • for each loop, how many requests returned 0, 1, 2 times and so on.

Tick Include trial runs to count trial requests too.

Use the numbers to decide what to change. For example:

  • A gate sends work back in most requests: the writer’s instructions are probably unclear. Improve the task’s instructions.
  • A loop is used up often: raise its limit only after you have checked the instructions.
  • One step takes days: check whether it has a person waiting, or whether its agent is offline.

Make the change in a new draft, check, simulate, publish, then trial run again. The numbers never change the workflow by themselves.

17. Optional: turn on Auto

Auto lets the system move a request along its workflow without waking the leader for every small step. Only admins can turn it on, and only on a published version. A new version starts with Auto off.

Turn it on only after you have read the Insights of that version and run a trial. Auto does not change which steps exist; it only changes who moves the request.

18. Shortcut: import a whole pack

If you already have a bundle of agents, skills and a flow, you do not have to set everything up by hand.

  1. Open Squads and click Import a pack.
  2. Upload a .zip file, or paste a GitHub link or a link to a .zip.
  3. Click Read the pack. The preview shows:
    • Agents: create each one, use an existing agent, or skip it. For a new agent, pick a runtime.
    • Skills: a skill with the same name as one you already have keeps the existing copy, or is imported as a new skill. Nothing is overwritten.
    • Leader: pick an agent from the bundle, or use a general leader.
    • Ignored settings: tools, models, environment variables and MCP setup inside the bundle are not applied. You set those yourself afterwards.
    • Security scan: a blocked bundle cannot be installed. Warnings must be acknowledged with a tick.
  4. Click Install. You see what was created.
  5. If the bundle includes a flow, click Design the workflow. A draft opens from that flow. Continue from section 5.

Accepted formats are a bundle with a squad-bundle.json file, an agent pack with a pack.json file, a folder of agents written as agents/*.md (Claude Code style), or folders of skills each with a SKILL.md file.

19. Problems you may meet

What you seeWhyWhat to do
“Workflow authoring is off”The feature is not enabled for this installationAsk whoever runs the server
“Could not save”The network or the server failedWait, then check the save status; copy your work if it does not recover
“Someone saved this draft first”Another person changed the draftChoose Reload, or Keep mine as a copy to keep your version separately
“Fix the errors before publishing”Check still finds errorsClick the problem line, fix it, check again
“A newer version was published”The version you edited is no longer the latestClick Edit the latest version and redo your change there
“Only workspace admins can create statuses”The workflow uses a status that only admins can createAsk an admin, or use a status that already exists
“The role lacks skills”A task needs a skill that the agent in its role does not haveAdd the skill to the agent, or remove it from the task
A request is stalledNo one has acted yetOpen the request and take the next action in the Flow panel
Tasks wait and never startThe agent is offlineCheck the agent’s runtime on its page

20. Words you have seen

  • Active: the version new requests use.
  • Unreadable: a saved workflow this version of the app cannot read. Update the app, or ask an admin.
  • Trial: a request started from a trial run.
  • On behalf: a close made by a manager in place of the agent.

Back to top