# AI Coding Agents

> Discover the AI coding agents supported by Cawide, from deep hook integrations with approval alerts to automatically detected command-line agents.

Source: https://cawide.dev/docs/agents

Cawide supports all AI coding agents running on your workstation across two integration tiers: deep integration and detected agents. In addition, every terminal AI agent and command-line utility runs directly inside the real PTY terminal.

## Integration tiers

### Deep integration tier

Deep-integration agents have dedicated lifecycle hooks and waiting-for-input alerts (this tier is actively expanding to support more agents):

- **Claude Code**
- **Codex**
- **OMP** (Oh My Pi)
- **OpenCode**

#### What deep integration provides

1. **Agent integration**: Claude Code uses an automatic POSIX launcher shim on macOS and Linux (no global setup needed). Codex and OpenCode are observed via their own servers and can be launched with `cawide agent <codex|opencode>` for live phone status. OMP uses an extension installed via `cawide setup omp` (or automatically on daemon start when `~/.omp/agent` exists).
2. **Waiting-for-input alerts**: When an agent pauses to ask for clarification, confirmation, or permission to run a tool, Cawide detects the state change immediately. If you are viewing another session, Cawide displays an alert banner with the agent question and a Switch button.
3. **Four distinct agent states**: Sessions are badged with one of four states:
   - `idle`: Agent is ready for commands.
   - `working`: Agent is generating code, analyzing files, or running sub-tasks.
   - `waiting for input`: Agent requires human input or tool approval.
   - `done`: Agent finished its execution plan.
4. **Push alerts (Pro)**: Get notified when the agent needs approval, finishes, or stops before finishing, even when Cawide is closed. See [Push Alerts](https://cawide.dev/docs/push-alerts).

### Detected tier

Detected agents are automatically recognized by the Cawide host through process table analysis and terminal escape sequence tracking:

- **Antigravity CLI**
- **GitHub Copilot CLI**
- **Cursor Agent**
- **Cline**
- **Goose**

The app displays the official agent name, icon, and working or idle status based on terminal progress indicators. No custom hooks are required.

### All other AI coding agents and CLI tools

Because Cawide provides a full SwiftTerm PTY terminal, any other AI coding agent (such as Aider, Smol Developer, Mentat, SWE-agent, or custom agents) and standard terminal programs (vim, nano, htop, git) run without requiring special setup.
## Setting up deep-integration agents

- **Claude Code**: No global setup is required. On macOS and Linux, Cawide uses an automatic POSIX launcher shim when you run `claude` inside a Cawide session.
- **Codex and OpenCode**: `cawide setup codex` and `cawide setup opencode` were removed. Cawide observes Codex and OpenCode via their own servers, and you can launch them with `cawide agent` for live phone status:

```bash
cawide agent codex
cawide agent opencode
```

- **OMP (Oh My Pi)**: Install or remove the OMP extension with `cawide setup omp` (the daemon also installs it automatically on start if `~/.omp/agent` exists):

```bash
cawide setup omp
cawide setup omp --remove
```

On startup, the daemon cleans up any legacy Claude, Codex, or OpenCode hooks.

## Approval workflow on iPhone

When an agent needs human confirmation:

1. The session tab displays a bright status pill indicating `waiting for input`.
2. If you are working in another session or viewing git diffs, an in-app banner appears at the top of the screen showing the question and a **Switch** button.
3. You can toggle this behavior in the iPhone app settings under **Alert when an agent needs approval**.
4. Cawide shows the question with one-tap options such as Allow, Deny or Allow once. Tap one, or answer in the real terminal with Enter, Esc or the arrow keys on the Smart Action Bar.
5. With Cawide Pro, push alerts with option buttons and Reply, plus Live Activities on the Lock Screen and in the Dynamic Island (in-app Live Activities on iOS 17.0+, Push-to-Start Live Activities on iOS 17.2+), reach you when Cawide is closed.

