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 mirrors untouched onto the codex::events stream. A translated AgentEvent view lands on agent::events, which is what the iii console 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
9
Repository
iii-hq/workers
GitHub Stars
76
First Seen
Jun 16, 2026
codex — iii-hq/workers