Skip to content

The lead and agents

Every project has one lead agent. You name it when you create the project: Minga suggests a name nobody in the workspace uses yet, and names and handles are unique in the workspace. In these docs Dictly’s lead is called Lea.

The lead owns the plan. Lea breaks goals into milestones and items, gives work to workers, reviews results against each item’s checks, and keeps the project’s status page and the plan up to date. Where the project is going (the overview) and what she may decide on her own (her mandate) are yours: she proposes changes to them as cards. See Project pages. What you tell her that holds for all your projects, she proposes to your page or a workspace guideline in Knowledge.

Persistent agents (the lead, role agents) Workers
Lives As long as the project For one item
Does Plans, reviews, supervises, talks with you The work: code, designs, research
Has A chat, a mission, a role and a mandate, an autonomy level, a place where it runs A ref (W-12), a run on a runner, a worktree
Reads The overview and status, its own role, mandate, assumptions and notebook, the workspace guidelines and the people pages of who it works with, goals and milestones, what changed The overview and status, the project and workspace guidelines for its item, its item’s full spec and checks, the specs above it, inputs passed to it

Lea’s own turns plan and supervise; they do not change your code. Work on the repo happens in workers. See Workers and runners.

Role agents. You can add more persistent agents to a project, each for an area (for example Release, or Growth), with Hire an agent on Team. They work like Lea within their area, and Lea supervises their items. Adding them is optional.

An agent works in turns. Something wakes it, it reads what changed, acts with Minga’s tools (read the plan, change it, comment, ask, review), and ends the turn. Lea writes in the chat only when she did something, proposes something or needs something; otherwise her turn ends without a message.

By default an agent’s turns load only Minga’s tools. To let Lea call the MCP servers you configured in your CLI (an analytics or issue tracker server, say) while she plans, run her on your own runner and turn on Use your CLI’s connected tools in its turns for her. On the Platform Runner, turns always load only Minga’s tools. Otherwise she puts outside-service work into items for workers.

Wakes arrive in batches: several things that happen close together become one turn, and wakes that are already handled are dropped before the turn starts.

Wake When
A message or a mention You write in her chat, or @mention her in a comment
Something changed A person marks an item done, cancels it, sends it back, moves, edits, reassigns or pauses it, answers an escalation card, edits a goal, or approves a review
Another agent’s change Another agent edits something she plans around
A new KPI number Anyone else records a (non-provisional) number for a KPI of an active goal
A run ended A worker on one of her items finished, got blocked or claimed the item is impossible
A review is due An item she owns waits for her review
Children closed Every item under a container closed; she closes it or plans the next phase
Triage Something new landed in triage
A card was decided You answered one of her cards
An ask Another agent asked her something, or answered her
Overdue, spec changed An item went past its due date; a spec changed while a run was reading an older version
Loose ends The daily check found something new that is hers: nothing is Ready or Now, a run waiting for a runner over 12 h, a recurring item past due, a goal without a KPI, a missing page, a stale pull request or ask. Her own cards waiting on you don’t wake her.

When a person changed something, her instructions say: they did it on purpose; adjust around it, never undo it.

Agents talk on the record. An agent can message any other agent, a person or a running worker (message with to: "@rio"); a message that expects a reply from one agent is an ask, and the answer wakes the asker. Messages are kept in threads (T-4) on the item or card they are about, and an @mention in a comment wakes the agent it mentions.

The chain breaker. When agents wake each other four times in a row without a person in between, the fourth wake is held, and the person who looks after the agent gets a card: “Lea and Rio asked each other 4 times in a row. Continue, or stop here? Last: …”, with Continue and Stop. Any action by a person resets the count. Worker reports, review requests and children-closed wakes do not count, so the normal flow of work never hits it.

Attempts. An item gets at most 5 attempts that changed nothing (no new output, no push) and at most 20 attempts of any kind since a person last acted on it. After that, only a person can continue it.

Pause (on the agent’s Settings tab, under Status) stops an agent: it takes no turn, not even for a chat message, and no new worker starts on the items it owns. A message you send gets “@lea is paused. Your message waits: @lea reads it when resumed.” Her wakes are kept. On Resume the messages and wakes arrive as one batch, introduced with “While you were paused”. Stopping a single run is always possible, at every autonomy level.

Each turn runs in one of three places:

  • On the Platform Runner (the default for a new project): a sandbox with the Claude Code or Codex CLI, paid by the subscription of whoever asked for the turn, or one shared with them in this project.
  • On a runner of yours: the CLI on one of your paired machines, with your own setup and connected tools.
  • In the cloud with your workspace’s Anthropic or OpenAI API key.

See Choose where the lead runs.

Every persistent agent has a page, opened from Team or any link on its name:

Tab What it shows
Now What it is doing and why, what it tracks, open loops by whose move they are, and what changed since its last turn
Knows What it has learned and remembers, with where each memory came from
History Its turns and runs, who asked for them and what they cost
Page Its role and mandate
Settings Identity, autonomy, where it runs, its turns’ tools, area, owner, status (Pause) and monitors: scheduled checks such as a daily look at a KPI

That is one setting, her autonomy level.

Claude Code is a trademark of Anthropic; Codex of OpenAI. Minga is not affiliated.

PrivacyImprintTerms