CLIco ai
DocsCLIco ai

co ai

Run the ConnectOnion coding agent in O Chat or as a one-shot command.

Web chat over OIP

code
co ai
output
Starting AI coding agent...
Open https://chat.openonion.ai/0x...

The Host serves OIP 0.1 on its authenticated /ws connection. The React client owns onboarding, reconnect, approvals, permission profiles, plans, and provider cards.

A fresh installation creates one private owner invite. Startup logs never print it; reveal it deliberately with co keys --reveal.

One-shot mode

code
co ai "Fix the failing tests" --json
output
{"session_id":"...","result":"...","error":null}

Use --resume with the returned session ID to continue the same project conversation.

Native coding adapters

Codex and Claude Code run as native backend provider adapters. Their installed CLIs keep provider authentication and session semantics while normalized activity streams through the one OIP browser connection.

Explicit run/use/start/open Codex requests call codex(). A shell or background command cannot silently replace that route: raw Codex launches are rejected before approval or process creation. If no task was supplied, the adapter opens a provider thread and Work Room without inventing a model turn.

Star us on GitHub

If ConnectOnion saves you time, a ⭐ goes a long way — and earns you a coffee chat with our founder.