Skip to content

myschoolstory/MistralCodex

 
 

Repository files navigation

Mistral Codex CLI

Codex CLI is a local-first coding agent powered by Mistral AI.

If you want Codex inside your editor (VS Code, Cursor, etc.) stay tuned for the upcoming IDE extension.

Codex CLI splash


Quickstart

Installing and running Codex CLI

Install globally with your preferred package manager. If you use npm:

npm install -g @mistralai/codex

Alternatively, if you use Homebrew:

brew install mistral-codex

Then simply run codex to get started:

codex

Authenticate with your Mistral API key

Create an account on console.mistral.ai, generate an API key and export it:

export MISTRAL_API_KEY="sk-..."

Run codex and you’re ready to start coding with Mistral models.
See the authentication guide for details.

Model Context Protocol (MCP)

Codex CLI supports MCP servers. Enable by adding an mcp_servers section to your ~/.codex/config.toml.

Configuration

Codex CLI supports a rich set of configuration options, with preferences stored in ~/.codex/config.toml. For full configuration options, see Configuration.


Docs & FAQ


License

This repository is licensed under the Apache-2.0 License.

About

Lightweight coding agent that runs in your terminal

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 97.0%
  • Python 1.8%
  • Shell 0.5%
  • HTML 0.3%
  • JavaScript 0.2%
  • Nix 0.1%
  • Other 0.1%