Explyt CLI in Orca
Orca is a desktop app where several AI agents work in parallel, each in its own git worktree and its own terminal. Explyt CLI is built on Pi, and Orca supports Pi out of the box. So Explyt CLI connects to Orca by replacing the Pi launch command.
Without the integration
Explyt CLI is a regular terminal program, and Orca runs any CLI agent in a terminal. Open a terminal in the worktree you need in Orca and run explyt: the agent works as in any other terminal.
The setup below makes Orca launch explyt itself and understand better what the agent is doing:
- agent status: Orca shows whether the agent is working, waiting for you or done, and sends notifications;
- tab spinner: the tab title shows that the agent is busy;
- prompt prefill: the prompt you set when creating a task in Orca lands in the agent's input field.
How to set it up
-
Open the Orca settings and go to the Agents section.
-
Find Pi in the list of installed agents.
-
In the Command field, enter
explytinstead ofpi. -
In the Arguments field, list the Orca extensions for Pi, each with the
--extensionflag:--extension <HOME>\.pi\agent\extensions\orca-agent-status.ts --extension <HOME>\.pi\agent\extensions\orca-titlebar-spinner.ts --extension <HOME>\.pi\agent\extensions\orca-prefill.tsReplace
<HOME>with your user's home directory:OS What the path looks like Windows C:\Users\<user name>\.pi\agent\extensions\orca-agent-status.tsmacOS /Users/<user name>/.pi/agent/extensions/orca-agent-status.tsLinux /home/<user name>/.pi/agent/extensions/orca-agent-status.tsIf you set the
PI_CODING_AGENT_DIRvariable, look for the files in$PI_CODING_AGENT_DIR/extensions. -
Launch Pi from Orca the usual way, for example through the agent launch menu in a new worktree. Explyt CLI opens instead of Pi.
The orca-agent-status.ts, orca-titlebar-spinner.ts and orca-prefill.ts files are Orca's extensions for Pi. Orca installs them for Pi itself (auto-setup) into the Pi agent's extensions folder. Explyt CLI doesn't read that folder, so you need to connect the files explicitly with --extension flags.
Verify the setup
Create a worktree in Orca and launch Pi. Explyt CLI should open. Give it a task: a spinner appears in the tab, and the agent status shows in the worktree list.
If Explyt CLI starts but there are no statuses, check that the paths in Arguments point to existing files and have no typos.