co ai
AI coding agent that works in your project. Start a web chat session or run one-shot prompts — with full access to your files, shell, and tools.
Quick Start: Run co ai in your project — it opens a web chat connected to a coding agent that can read and edit your files.
Two Modes
Web Chat (default)
co aiStarts a local agent server, opens chat.openonion.ai in your browser. Chat conversationally — best for extended sessions.
One-Shot
co ai "your prompt"Runs the prompt, prints the result, exits. Best for quick tasks and scripting.
Web Chat Mode
Run co ai in your project directory:
What happens
localhost:8000chat.openonion.ai/{your-address}~/.co/ — same across all sessionsOne-Shot Mode
Pass a prompt directly — the agent runs, prints the result, and exits:
Project Context
When started, the agent automatically loads context from your project — no setup required:
| Source | Purpose |
|---|---|
| .co/OO.md | Project instructions (primary) |
| CLAUDE.md | Claude Code compatibility |
| README.md | Project overview |
| ~/.claude/skills/ | User-defined skills |
| git status | Current branch, changes, recent commits |
Give the agent persistent project rules with .co/OO.md:
Loaded every session — the agent always follows your rules without being told.
Available Tools
File Operations
- • Read, write, edit files
- • Search with glob and grep
Shell
- • Run bash commands
- • Approval flow for destructive ops
Planning
- • Enter plan mode, write plans
- • Exit plan and implement
Tasks & Skills
- • Background tasks, todo lists
- • Load and run user-defined skills
Command Reference
| Option | Short | Default | Description |
|---|---|---|---|
| --port | -p | 8000 | Web server port |
| --model | -m | co/claude-opus-4-5 | LLM model to use |
| --max-iterations | -i | 100 | Max tool iterations per turn |
