Show HN: Open Codex – OpenAI Codex CLI with open-source LLMs

Hey HN,

I’ve built Open Codex, a fully local, open-source alternative to OpenAI’s Codex CLI.

My initial plan was to fork their project and extend it. I even started doing that. But it turned out their code has several leaky abstractions, which made it hard to override core behavior cleanly. Shortly after, OpenAI introduced breaking changes. Maintaining my customizations on top became increasingly difficult.

So I rewrote the whole thing from scratch using Python. My version is designed to support local LLMs.

Right now, it only works with phi-4-mini (GGUF) via lmstudio-community/Phi-4-mini-instruct-GGUF, but I plan to support more models. Everything is structured to be extendable.

At the moment I only support single-shot mode, but I intend to add interactive (chat mode), function calling, and more.

You can install it using Homebrew:

   brew tap codingmoh/open-codex
   brew install open-codex
It's also published on PyPI:

   pip install open-codex
Source: https://github.com/codingmoh/open-codex

Comments URL: https://news.ycombinator.com/item?id=43754620

Points: 21

# Comments: 14

https://github.com/codingmoh/open-codex

Établi 1mo | 21 avr. 2025, 21:30:13


Connectez-vous pour ajouter un commentaire

Autres messages de ce groupe

Show HN: Lnk – Git-native dotfiles manager

Move dotfiles to ~/.config/lnk, get symlinks back, use Git normally. Single binary, no config files, no fluff. Built because chezmoi was too complex and plain Git was too manual.


Comme

24 mai 2025, 13:20:06 | Hacker news
Show HN: Rotary Phone Dial Linux Kernel Driver

A Linux kernel driver that turns a rotary phone dial into an evdev input device. You might be interested in this driver if you

- prefer the slow pace of dialing over typing numbers with your num

24 mai 2025, 13:20:03 | Hacker news