Self-host Open Codex
0.1.19Local CLI AI assistant for shell commands via Ollama
- Stars
- 695
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
More in CLI Tools
PatchworkAn open-source CLI tool that automates pull request reviews, bug fixes, and security patching using your own LLM keys — runs locally or in CI/CD.
poolPool is a self-hosted AI coding agent for terminal and ACP-compatible editors, supporting Poolside Platform, OpenRouter, Ollama, and OpenAI-compatible APIs.
recyclarrThis self-hosted, open-source CLI pushes TRaSH Guides quality profiles, custom formats and naming rules into your Sonarr and Radarr servers, keeping many of them in sync.
RembgOpen-source, self-hosted background remover: a Python library, CLI and HTTP server that cuts subjects out of images using switchable ONNX models.
roterote is a self-hosted, open-source CLI cron replacement that captures stdout/stderr, records exit codes and timing, and provides a live terminal dashboard.
ruptimeruptime is a self-hosted, open-source reimplementation of classic Unix r-commands with client-server architecture and encrypted traffic for multi-network monitoring.
traefik-certs-dumperOpen-source CLI that extracts Traefik's ACME certificates into .crt/.key files from acme.json or Consul, etcd, Zookeeper and BoltDB, with watch mode and Docker images.
twinTwin is a self-hosted, open-source text-mode window environment providing a terminal emulator, window manager, and multiplexer with mouse support and networked clients.
TypstOpen-source, self-hosted markup typesetting system: a CLI and Rust library that compiles Typst files to PDF, PNG, SVG, or HTML as an easier alternative to LaTeX.
UnisonSelf-hosted, open-source two-way file synchronizer for Linux, BSD, macOS and Windows replicas, with conflict detection, profiles, backups and a continuous watch mode.
ZeroZero is a self-hosted, open-source terminal coding agent running locally with 25+ LLM providers, interactive TUI, and scriptable headless execution for CI.
agentverOpen-source, self-hosted platform for managing AI coding assistant skills across teams with version control, security scanning, and access controls.
0 comments