selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
Open Codex logo

Self-host Open Codex

0.1.19

Local CLI AI assistant for shell commands via Ollama

AlphaOpen SourceMIT
Updatedlast week
LanguagePython
Setup difficultyEasy
Stars
695
Install with pip

What is Open Codex?

Open Codex is a command-line tool that translates natural language into shell commands using local language models. It runs entirely on your machine with no cloud dependency, integrating with Ollama to leverage models like Llama 3 and Mistral. The tool operates in one-shot mode: you provide a prompt, it suggests a command, and you confirm before execution. Installation options include Homebrew on macOS, pipx across platforms, or a direct pip install from source. The project is MIT licensed and actively developed, with plans for interactive chat, a text-based UI, voice input, and a plugin system.

Should you self-host Open Codex?

Open Codex scores 45/100 on selfhost.directory (how scoring works) and ranks #3 of 3 in CLI Tools. It has 695 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is easy: most people get it running in one sitting. It is MIT-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is Atuin (81/100, 32 111 stars). It scores higher overall, so compare the two before you pick. See Open Codex vs Atuin side by side.

Features

  • Colored terminal output
  • Confirmation before execution
  • Cross-Platform Support
  • Local-only execution
  • Natural language to shell commands
  • One-shot mode

Open Codex README

How to install Open Codex

Install Open Codex with pip

pipx install open-codex

Cross-platform

Open Codex releases & version history

More in CLI Tools

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…