OpenCodex is an open-source terminal coding agent harness and orchestrator developed by lidge-jun on GitHub. It provides a lightweight, command-line environment designed to manage code generation tasks, route coding prompts, and execute AI agent workflows directly inside development repositories. Built on top of the Bun runtime ecosystem, OpenCodex functions through a CLI binary interface. Day-to-day development involves initiating agent sessions from the terminal to inspect repository structures, generate patches, and manage prompt execution with integrated session history and provenance tracking. OpenCodex distinguishes itself with its bundled, high-performance Bun runtime architecture and explicit prompt-routing mechanisms that maintain history provenance across task execution. Rather than functioning purely as an opaque wrapper, the project exposes structured workflow tooling, command-line symlink routing, and OAuth authentication flows to manage agent access. The project is free, open-source software distributed via GitHub. It has reached mature release stages with an active commit history and regular semantic version tags.
Tags: API, cli, coding agent, developer tools, OpenSource