Concepts
HorusAI
Each project's coordinator turns a goal into tasks, hands them to workers and validates what they deliver.
What it is#
HorusAI is the permanent coordinator of each project. You describe a goal in plain language and it prepares the plan and the criteria, splits the work into tasks and hands each task to an autonomous agent, the worker. At the end it validates the deliveries and tells you what got done.
HorusAI answers the workers' technical questions itself. Only the decisions that must be yours reach you.
How it works#
Opening HorusAI#
The HorusAI entry in the sidebar opens the project's index. The first time, the Ativar o HorusAI (Activate HorusAI) screen explains how it works before you start.
The index has the Novo objetivo (New goal) box in the centre, search, and the goals sorted into Em curso (In progress), Precisa de ti (Needs you), Requer resolução (Needs resolving) and Histórico (History). In the sidebar, each unfinished goal shows its phase, for example A preparar o plano (Preparing the plan), A executar tarefas (Running tasks), Por validar (To validate) or Precisa de ti (Needs you).
You can also arrange goals in the sidebar: double-click a title to rename it (Enter saves, Esc cancels), and the new name also goes to the goal's conversation. To change the order, drag a goal up or down. The order you leave is kept and is the same in the index; new goals appear at the top.
In the Novo objetivo box you can add attachments with + (Anexar ficheiros, Attach files), or by pasting or dragging files and images. They go with the goal's first message and are kept in its conversation.
A goal#
Each goal has its own conversation with HorusAI and, to its right, the Objetivo (Goal) panel.
The goal header shows Precisa de ti · N, Requer resolução · N and how many tasks are working. It also has Retomar fila (Resume queue) or pause, Parar objetivo (Stop goal, with confirmation), the ⋯ menu, with Execução… (Execution) and Arquivar objetivo (Archive goal), and, at the end, the button that shows and hides the panel (Mostrar objetivo, Show goal, or Esconder objetivo, Hide goal). A concluded or stopped goal has no work left to stop, so the queue button and Parar objetivo no longer show.
The goal panel#
The Objetivo (Goal) panel, 360 px wide, sits to the right of the conversation and opens and closes from the icon at the top (Mostrar objetivo, Show goal, or Esconder objetivo, Hide goal). It has six short sections:
| Section | What it shows |
|---|---|
| Estado (State) | Progress (N de M feitas, N of M done), how many tasks are working and, when it needs you, Precisa de ti (Needs you) with Responder (Answer) or Rever aprovação (Review approval). |
| Agentes (Agents) | The goal's agents and the slots in use. |
| Tarefas (Tasks) | Each task once, with a short state on the right (precisa de ti, needs you; por validar, to validate) and its activity below. Terminadas (Finished) sit in a collapsed group. |
| Ambiente (Environment) | The folder, the isolation (worktree per task or project folder), active branches and background commands. |
| Decisões e critérios (Decisions and criteria) | The request, the decisions in force and the acceptance criteria, each with its state. |
| Resumo (Summary) | One sentence on where things stand: tasks done and to validate, what needs resolution and what is waiting for you. |
Tasks and workers#
- Each task runs in an autonomous worker that investigates the code, implements, runs the tests and delivers a report.
- Opening a task puts its chat in the main column, with the ‹ Objetivo · objetivo › tarefa bar and the Tarefa (Task) panel alongside (Estado, Agente, Contrato, Entregas, Execução and Ambiente: state, agent, contract, deliveries, execution and environment). Esc or ‹ Objetivo go back to the goal, with the task marked in the list. The Contrato (Contract) carries the goal's acceptance criteria.
- With a task open, the N precisa de ti (N need you) pill only shows when another task is waiting for your answer, and takes you to it.
- Questions for you show up in Precisa de ti, next to the message box, one question per card.
- Steering a task that is working does not interrupt it: the guidance is queued and its state goes through Recebida (Received), Entregue à tarefa (Delivered to the task) and Processada (Processed).
- Tasks that received outside content (Plane, Share, web pages or reports from other tasks) carry the dados externos (external data) mark, with the source. Horus instructs the agent to treat that content as data and not as orders.
- Retrying, asking for fixes or resuming opens a new attempt without deleting the previous one.
By default, each task works in its own worktree. See Tasks and worktrees.
Validating deliveries#
A worker declares the task's result, but that is not enough to mark it done:
- The delivery shows as Entregue · à espera de validação (Delivered · awaiting validation).
- HorusAI validates the delivery. Tasks that depend on it wait for that validation.
- The goal only becomes Concluído (Done) when every task is validated and every criterion is met.
To have Horus check each delivery on its own, set up Definições do projeto › Verificação (Project settings › Verification): up to 5 commands (for example, npm test) and a time limit per command. With Verificação ligada (Verification on), Horus runs them in the delivery folder when a task delivers successfully. Only you can change these commands: HorusAI and the tasks cannot set them.
Each delivery's evidence panel shows the verdict, the checks Horus measured, the commands the coordinator declared, the criteria covered and the cost of each attempt, measured or estimated. Nothing in the panel validates: you only get Pedir validação (Request validation) and Voltar a verificar (Check again).
The Evidência da verificação (Verification evidence) block gives the result (Passou, Passed; Falhou, Failed; Interrompido, Interrupted; Desligado, Off; or Não configurado, Not set up) and the code revision it was measured on. The result stays tied to that revision: if the delivery, the verification commands or a dependency change afterwards, Evidência caducada (Stale evidence) appears, with the reason (for example, another attempt or another revision). Stale evidence no longer counts for validation: use Voltar a verificar.
Merging a delivery#
A validated task does not change your branch on its own. To bring its work in, use Integrar… (Merge), in the task actions, in the ⋯ menu or on the task's worktree chip.
- The Integrar entrega (Merge delivery) dialog first shows the preview: the target branch, the commits, the changed files, the hooks that will run and what the merge does and does not do. Nothing changes in the repository until you confirm.
- Press Integrar em «branch» (Merge into «branch»), with the target's name. In a project without verification set up, you first have to tick that you want to merge without it.
The merge only goes ahead on a clean target: if the target branch has unsaved changes, it becomes Bloqueada (Blocked) and tells you how many files to commit or set aside. It also blocks, for example, if the delivery is not validated, if the evidence is stale, if a dependency is not merged yet or if HorusAI turns are running. On a conflict, the target is not changed and the dialog lists the files, so you can resolve them in the task's worktree and validate again.
Creating a goal from a conversation#
In a regular conversation, the header ⋯ menu has Criar objetivo com esta conversa (Create goal from this conversation). You pick the messages and references, edit the request, and the goal opens without sending anything. The source conversation gets a card linked to the goal, with its state and Abrir no HorusAI (Open in HorusAI).
When you reopen the app#
Nothing restarts on its own. The startup notice lists each goal with unfinished work, with Retomar (Resume) or Manter parado (Keep stopped).
Reloading the window is not the same as quitting the app: running tasks, the coordinator and verifications carry on, and no turn starts twice.
Permissions#
HorusAI permissions are set in Definições do projeto › Permissões › HorusAI (Project settings › Permissions › HorusAI), separately for the Coordenador (HorusAI) (Coordinator) and the Tarefas (workers) (Tasks). The default for tasks lives in Definições › HorusAI (Settings › HorusAI). The levels are Autónomo, com limites (Autonomous, with limits; recommended), Pedir em ações sensíveis (Ask on sensitive actions), Pedir sempre (Always ask) and Acesso total (Full access). What each one does is in Settings and permissions.
When to use it#
- Goals with several parts and clear criteria, such as a feature with tests.
- Work that can run in parallel, in independent tasks.
- When you want evidence of what was done before merging.
For a quick question or to explore code, a regular conversation is simpler. See Projects and conversations.
Add dark mode to the settings.
Criteria: the theme is kept between sessions and the settings screen tests pass.
Do not touch the login screen.Next steps#
- Tasks and worktrees: how tasks stay isolated.
- Settings and permissions: the permission levels for the coordinator and the tasks.
- Right panel: follow the tasks next to the conversation.