microcodex is an ultra-lightweight coding agent for your terminal. A single native binary that peaks at 15–20 MB of memory, and signs in with the ChatGPT plan you already pay for.
Claude Code bundles a JavaScript runtime. Codex ships a large Rust binary. microcodex is plain native C++ that does one job well.
| Agent | Built with | On disk | Memory per session |
|---|---|---|---|
| microcodex | Native C++23, no runtime | ≈1 MB | 15–20 MB peak |
| Claude Code | TypeScript on a bundled Bun runtime | 224 MB | ~540 MB avg |
| Codex CLI | Rust | 281 MB | ~315 MB avg |
Sources. microcodex: the project’s own measurements of its release binary. Memory: average core process per session on macOS (Apple Silicon), Claude Code 2.1.285 and Codex CLI 0.155, from anthropics/claude-code#105268 (Codex measured with headless codex exec). Claude Code size: native install on Linux x64, v2.1.248, per Analytics India Magazine. Codex size: 280,704,736-byte binary, v0.169.0, per blueman82/muninn#93. Figures vary by version, platform and workload.
Everything you need for real work in a repo, without the weight you don’t.
Fire off a single prompt from a script or alias, or open the full terminal UI for a longer session.
Set --effort or MICROCODEX_EFFORT, sent in the same field the official Codex client uses.
Long sessions are compacted for you before they hit the context limit.
Discovers skills in $CODEX_HOME/skills, any folder with a SKILL.md.
OAuth sign-in, no API keys. Device auth for remote and headless machines.
Conversations are kept, so work doesn’t vanish when the terminal does.
Read, write, edit, glob and bash, right where your code lives.
No Node, no Bun, no node_modules. One file you can copy anywhere.
Prefer a binary? Grab one from GitHub Releases. Building from source takes a C++23 compiler and make.
Pin a release with MICROCODEX_RELEASE.
Credentials stay in ~/.codex.
microcodex loginRun a one-shot prompt, or start the interactive UI.
microcodex