codex

Installation
SKILL.md

codex

The codex worker exposes the OpenAI Codex API as iii functions. One codex::run call executes one headless Codex turn — the same agent the user runs in their terminal, with the same login, filesystem, and sandbox — in a chosen working directory, and returns the final result and token usage. The worker is a pure pass-through: named payload fields cover the common path, the options field forwards any Codex SDK ThreadOption verbatim, and every thread event is delivered untouched on codex::on-raw-event. A translated AgentEvent view is delivered on codex::on-agent-event, which is what the acp worker renders.

Requires the codex CLI on the host with an existing codex login or OPENAI_API_KEY in the worker environment. When a turn needs a capability beyond Codex itself, add another iii worker to the bus instead of bolting anything onto this one.

When to Use

Installs
14
Repository
iii-hq/workers
GitHub Stars
120
First Seen
Jun 16, 2026