Lightweight coding agent that runs in your terminal
brew tap codingmoh/open-codex && brew install open-codex

Open Codex is a fully open-source command-line AI assistant inspired by OpenAI Codex, supporting local language models like phi-4-mini.
No API key is required. Everything runs locally.
Supports:
- One-shot mode: open-codex "list all folders" -> returns shell command
- 🧠 Local-only execution using supported OS models (currently phi-4-mini)
textual or richbrew tap codingmoh/open-codex
brew install open-codex
pipx install open-codex
git clone https://github.com/codingmoh/open-codex.git
cd open_codex
pip install .
Once installed, you can use the open-codex CLI globally.
open-codex "untar file abc.tar"
✅ Codex suggests a shell command
✅ Asks for confirmation / add to clipboard / abort
✅ Executes if approved
All models run locally. Commands are only executed after explicit approval.
PRs welcome! Ideas, issues, improvements — all appreciated.
MIT
❤️ Built with love and caffeine by codingmoh.
$ claude mcp add open-codex \
-- python -m otcore.mcp_server <graph>