Skip to main content

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​

  1. Open the Orca settings and go to the Agents section.

  2. Find Pi in the list of installed agents.

  3. In the Command field, enter explyt instead of pi.

  4. In the Arguments field, list the Orca extensions for Pi, each with the --extension flag:

    --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.ts

    Replace <HOME> with your user's home directory:

    OSWhat the path looks like
    WindowsC:\Users\<user name>\.pi\agent\extensions\orca-agent-status.ts
    macOS/Users/<user name>/.pi/agent/extensions/orca-agent-status.ts
    Linux/home/<user name>/.pi/agent/extensions/orca-agent-status.ts

    If you set the PI_CODING_AGENT_DIR variable, look for the files in $PI_CODING_AGENT_DIR/extensions.

  5. 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.

Explyt CLI in Orca: the spinner next to the worktree and the Pi agent row in the list

If Explyt CLI starts but there are no statuses, check that the paths in Arguments point to existing files and have no typos.