Latest / AI & agents

Open Codex

github.com · Open source · Active

Local, open-source command-line coding assistant

Visit github.com ↗Share

  • local coding assistant
  • ollama cli
  • natural language shell
  • offline ai terminal
  • local codex alternative
Stars
695
Forks
54
Open issues
7
Last commit
Releases
5
Found
19 months ago

GitHub figures as of . They are context, not a ranking.

Open Codex is a command-line AI assistant inspired by OpenAI's Codex CLI, rewritten in Python to work with local language models. The current release works with one local model in single-shot mode, and chat mode and function calling are planned.

Positioned as an alternative to OpenAI Codex CLI.

Repository description on GitHub: “Fully open-source command-line AI assistant inspired by OpenAI Codex, supporting local language models.”

What it does

  • Turns natural language requests into shell commands
  • Runs with local models or Ollama, such as LLaMA3 or Mistral
  • Asks for confirmation before running any command
  • Native execution on macOS, Linux and Windows

Good for

  • Turn a plain-English request into a shell command
  • Generate shell commands offline with a local Ollama model

Suits: Developers who want a local, offline terminal assistant.

Worth knowing: The current release supports one local model in single-shot mode, and chat mode is still planned

What you can try

Read the README on GitHub and install from source.

Install

brew install open-codex
pipx install open-codex

Taken from the project’s README. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Open Codex on , when codingmoh posted it to Show HN. The oldest published release on GitHub is 0.1.15, dated . Its first tagged release landed the same day it was found. 5 releases have been published in total; the latest is 0.1.19 ().

Day-7 and day-30 updates

Day 7 4 releases shipped

  • 4 releases in the first 7 days: 0.1.15 (22 Apr 2025), 0.1.16 (23 Apr 2025), 0.1.17 (23 Apr 2025), 0.1.18 (25 Apr 2025)
  • Show HN discussion at check time: 106 points, 37 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 5 releases shipped

  • 5 releases in the first 30 days: 0.1.15 (22 Apr 2025), 0.1.16 (23 Apr 2025), 0.1.17 (23 Apr 2025), 0.1.18 (25 Apr 2025), 0.1.19 (3 May 2025)
  • Show HN discussion at check time: 106 points, 37 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (5 in total, busiest month 4).
  1. Repository created on GitHub: codingmoh/open-codex
  2. Found: codingmoh posted it to Show HN. Show HN
  3. Release 0.1.15
  4. Release 0.1.16
  5. Release 0.1.17
  6. Release 0.1.18
  7. Release 0.1.19
  8. Day-7 check recorded by Kip (details)
  9. Day-30 check recorded by Kip (details)

Quick answers

When was Open Codex released?
Its first tagged release on GitHub is dated 22 Apr 2025. Kip found it on Show HN on 21 Apr 2025.
Is Open Codex open source?
Its source is public on GitHub at codingmoh/open-codex under the MIT licence.
What does Open Codex run on?
Command line, macOS, Linux, Windows.
Is Open Codex free?
It is open source, so the code is free to read and run; check the licence for terms.
Is Open Codex still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorycodingmoh/open-codex
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-43754620. Summary written by KipFound’s editor.

Share

Similar tools

More in AI & agents

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.