HeadlinesBriefing favicon HeadlinesBriefing.com

MicroCodex: Lightweight Terminal Coding Agent

Hacker News •
×

Micro Codex is an ultra-lightweight coding agent that runs locally in your terminal. Written in C++23, it provides one-shot prompts, an interactive terminal UI, local coding tools, durable conversations, and automatic context compaction.

Quickstart: Install with `curl -fsSL https://github.com/paoloanzn/microcodex/releases/latest/download/install.sh | sh`, then run `microcodex login` and `microcodex` to get started. Pre-built binaries are available for macOS (Apple Silicon and x86_64) and Linux (x86_64 and arm64).

Using Micro Codex requires a ChatGPT plan. Run `microcodex login` to authenticate via OAuth, storing credentials under $CODEX_HOME or `~/.codex`. Execute commands like `microcodex "Find the failing test, fix it, and run the relevant test suite"`.

Warning: Micro Codex is not a sandbox. A simple lexical denylist blocks dangerous commands (rm -f, git reset --hard, etc.), but this is not a complete security boundary.