Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

docs(agentic-ide): point the prompt tool at fanout for a pair of agents

Ruben Lütke6d1afc4cad3a
diff --git a/docs/commands-reference.md b/docs/commands-reference.md
index 6b0ec785bb..7f9e92d925 100644
--- a/docs/commands-reference.md
+++ b/docs/commands-reference.md
@@ -263,7 +263,7 @@ Read what the coding agent in a named terminal is doing — its status and its r
## `agentic-ide-prompt` — Prompt an Agentic-IDE terminal
-Send an instruction to the coding agent in a named terminal. Use this whenever the user tells a terminal to do something ('tell Kai to ...', 'Mika soll ...', 'let Nova refactor ...') — that work belongs to that agent, never to a background worker. Pass the instruction in the USER's words: everything they asked for, every constraint and file they named, nothing invented and nothing summarised away. Do NOT write the brief yourself — a prompt writer that has read this repository turns what you pass into a briefed task with the relevant files attached, and a headline you composed instead arrives at the agent as its whole assignment. Only ever names a terminal that is ALREADY running: if the call fails with 'no terminal called …', opening a pane will not create that name — use 'agentic-ide-fanout' with spawn to open and brief one in a single step, and never repeat the spawn. CHECK THE REPLY: it carries a 'submitted' flag. True means the agent accepted the prompt and started. False means the text is only sitting in that terminal's input box — say so plainly and name the terminal, never report it as done.
+Send an instruction to the coding agent in ONE named terminal. Use this whenever the user tells a terminal to do something ('tell Kai to ...', 'Mika soll ...', 'let Nova refactor ...') — that work belongs to that agent, never to a background worker. For SEVERAL terminals ('Kai and Mika both ...', 'let the two of them ...') call 'agentic-ide-fanout' instead, with every call-sign in 'terminals': it briefs them at once and reports which ones really got the work. Calling this command twice for a pair leaves the second agent idle whenever the second call is forgotten, which is the failure mode fanout exists to remove. Pass the instruction in the USER's words: everything they asked for, every constraint and file they named, nothing invented and nothing summarised away. Do NOT write the brief yourself — a prompt writer that has read this repository turns what you pass into a briefed task with the relevant files attached, and a headline you composed instead arrives at the agent as its whole assignment. Only ever names a terminal that is ALREADY running: if the call fails with 'no terminal called …', opening a pane will not create that name — use 'agentic-ide-fanout' with spawn to open and brief one in a single step, and never repeat the spawn. CHECK THE REPLY: it carries a 'submitted' flag. True means the agent accepted the prompt and started. False means the text is only sitting in that terminal's input box — say so plainly and name the terminal, never report it as done.
- **Endpoint:** `POST /api/agentic-ide/terminals/{name}/prompt`
- **Arguments:** `name` (string; required); `prompt` (string; required); `compose` (boolean; optional)
diff --git a/jarvis/commands/registry.py b/jarvis/commands/registry.py
index 89f6bc53c1..d1e990133e 100644
--- a/jarvis/commands/registry.py
+++ b/jarvis/commands/registry.py
@@ -679,11 +679,18 @@ def _build_registry() -> tuple[AppCommand, ...]:
id="agentic-ide-prompt",
title="Prompt an Agentic-IDE terminal",
description=(
- "Send an instruction to the coding agent in a named terminal. "
+ "Send an instruction to the coding agent in ONE named terminal. "
"Use this whenever the user tells a terminal to do something "
"('tell Kai to ...', 'Mika soll ...', 'let Nova refactor ...') "
"— that work belongs to that agent, never to a background "
- "worker. Pass the instruction in the USER's words: everything "
+ "worker. For SEVERAL terminals ('Kai and Mika both ...', 'let "
+ "the two of them ...') call 'agentic-ide-fanout' instead, with "
+ "every call-sign in 'terminals': it briefs them at once and "
+ "reports which ones really got the work. Calling this command "
+ "twice for a pair leaves the second agent idle whenever the "
+ "second call is forgotten, which is the failure mode fanout "
+ "exists to remove. "
+ "Pass the instruction in the USER's words: everything "
"they asked for, every constraint and file they named, nothing "
"invented and nothing summarised away. Do NOT write the brief "
"yourself — a prompt writer that has read this repository turns "