headless-cli 0.5.0 adds a typed SDK, durable Docker sessions, and cost tracking

RobertTLange · x · 2026-07-28

headless-cli 0.5.0 adds a typed SDK, durable sessions, and cost tracking

The project announced a mini release of headless-cli v0.5.0, a unified headless interface for running multiple coding agents. The update highlights four main additions:

The CLI is designed to run agents such as Codex, Claude, Pi, OpenCode, Gemini CLI, and Cursor Agents through one entrypoint. The repository description says it normalizes differences across agent CLIs — including prompts, models, reasoning effort, working directories, output modes, sessions, and environment checks — while preserving each backend’s native flags.

The post also shows a simple Python example that instantiates Headless(), runs codex with a prompt, and prints the final message.

Original post →

More from coding & agent

coding & agent channel →