Show HN: Open Codex – OpenAI Codex CLI with Open Source LLMs

Show HN: Open Codex – OpenAI Codex with Open Source LLMs (19459000)

Open Codex

Open Codex CLI (19659002)

Lightweight coding agent for your terminal

brew tap codingmoh/open-codex

brew install open-codex


Open Codexis a fully-open-source command-line assistant inspired by OpenAI Codex. It supports local language models such as phi-4-mini.

No API key required. All local.

Supports:

  • One shot mode : opens-codex "list all folders" -> returns shell command.
  • Only local execution with supported OS models currently phi-4-mini

Features

  • Natural Language Command to Shell Command (via Local Models)
  • Works with macOS, Linux and Windows (Python based)
  • Confirmation Before Execution
  • Add To Clipboard / Abort / Execute Prompt
  • Interaction mode for one-shot (interactive and functions-calling will be available soon)
  • Colored Terminal Output

    Future Plans

    • Interactive and context aware mode.
    • Fancy UI with textual rich
    • Support for additional OSS Models.
    • Full interactivity chat mode.
    • Support for function-calling.
    • Voice Input via Whisper.
    • Command History and Undo.
    • Plugin System for Workflows.

      Installation

      Option 1: Install via Homebrew for MacOS (Recommended)

      brew tap codingmoh/open-codexbrew install open-codex

      Option 2: Install via pipx (cross-platform)

      Option 3: Clone & Install local

      git clone https://github.com/codingmoh/open-codex.gitcd open_codexpip install .

      Once installed, the open-codex command-line interface can be used globally.


      Usage

      One-shot mode (#19659034)

      open-codex "untar file abc.tar"

      Codex suggests a command for the shell
      Requests confirmation / adds to clipboard / aborts
      Executes when approved


      Security Notice

      All models are run locally. Only after explicit approval can commands be executed.


      Contributing

      We welcome PRs! Ideas, issues, and improvements are all welcome!


      License

      With


      Built with love and coffee by codingmoh.

www.aiobserver.co

More from this stream

Recomended