# Open Codex

> Open Codex is an open-source CLI AI assistant that converts natural language to shell commands using local LLMs via Ollama, running offline on macOS, Linux, and Windows.

- **Category:** CLI Tools
- **Licence:** MIT
- **Latest version:** 0.1.19
- **Open source:** oss
- **Languages:** Python
- **Platforms:** pip, Homebrew
- **Tags:** Terminal, CLI, Ai Assistant, Offline, Productivity, Ollama, Developer Tools, Shell commands, Natural language, Local llm

## Description

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.

## Links

- [Homepage](https://github.com/codingmoh/open-codex)
- [GitHub Repository](https://github.com/codingmoh/open-codex)

---
Source: https://selfhost.directory/project/open-codex