Docs / Agents
More than one model
Let two agents work in turns, compare answers from several models, set a standing goal, or ask something on the side without disturbing the agent.
On this page
Duo
Write a goal, open + in the input field and choose Duo, then pick a partner and at most 4, 8 or 12 answers. The chat’s provider starts; then the other gets the history and the task to check the work, fix mistakes and build on. It ends when both write “DUO: FERTIG”, the limit is reached or you stop it. After an error or a limit it pauses and Resume continues.
On the iPhone you start a duo in the chat from the Duo chip in the input field or the “…” menu. You write the goal in the sheet (a goal you had typed is taken over), then pick the partner and the number of answers. A calm strip above the input field shows whose turn it is and who comes next, with Stop and, after a pause, Resume. A phone set to “read only” sees the duo but does not steer it.
Several models at once
On the start screen, ⇧-click up to three more models in the model picker. Your prompt then goes to all of them, each in its own chat and, in a repository, its own worktree. Antworten vergleichen puts the answers side by side with status, time, tool calls and changed files.
Standing goals with /goal
/goal <goal> sets a goal and starts on it right away. The agent keeps working until the goal is checked as reached. Claude, Codex, Kimi and Antigravity use their own goal system, all others run in AyCode’s check loop. /goal pause, /goal resume and /goal clear steer it.
Side questions with /btw
/btw <question> or ⌘; asks a helper next to the chat. The running agent is not interrupted and never sees it. Good for “what does this flag do again?” while a long task runs.
Bringing in other engines
An agent can pass work on: to another engine (Claude Code, Codex, OpenCode, Cline, Grok, Kimi …), to another model or to an Ayling, several at once if it likes. For that every main agent has three tools on the built-in aycode-brain server: agentEngines lists who is ready and which models they have, agentDelegate hands over the task, agentResult fetches the result. The agent finds them without searching; it does not need to start provider programs through the shell.
- The task gets a chat of its own, marked in the sidebar with a way back; the report returns to the asking agent.
- A task never has more rights than the chat that gave it. Councils, groups, reviews and tasks beyond a certain depth cannot delegate further.
- A model name is read against the engine’s list: case, dashes and prefixes do not matter. If none or several fit, the answer names the candidates. An engine whose last answer failed at sign-in is listed as “not signed in”.
- You hand over a task yourself with Bring in an agent in the agents panel (Aylinge).
Quick chat from anywhere
⌥Space (Windows: Alt+Space) opens a small floating box over any app. Enter asks a quick question, ⌘Enter turns it into a real chat in the chosen project, Esc closes it. Inside AyCode, ⌘⇧K and /q open the same box. You can change the key under Settings → Tools → Quick chat.