AX Code is an open-source coding agent for the terminal, SSH, and CI. Connect a local or hosted model, give the agent a task, then review its changes and the checks it ran before you keep anything.
- Evidence you can inspect. Session events and file snapshots let you review earlier steps, compare attempts, and recover changes.
- Multi-model review. Council gathers reviews from several models. Arena builds candidate implementations in isolated Git worktrees and ranks them with your project's own checks.
- Any model. Hosted APIs, vendor CLIs, private GPU endpoints, AX Trust gateways, and local runtimes, including managed AX Engine on Apple Silicon.
- You decide. AX Code ranks and reports; you choose which changes to merge.
The standalone CLI includes the terminal UI and a verified Node.js runtime.
| Platform | CLI installation |
|---|---|
| macOS on Apple Silicon | Bash installer or Homebrew |
| Windows AMD64 (x64) | PowerShell installer |
| Ubuntu 24.04+ on amd64 or arm64 | System dependencies and Bash installer |
On Apple Silicon macOS:
curl -fsSL https://download.automatosx.com/ax-code/install | bashInstallation and Runtime Channels covers every platform command, signature verification, and source launchers. To update an existing install, see Upgrade and recovery. The AX Code Desktop app bundles its own runtime and updates separately from the CLI.
Source checkouts and Node.js SDK applications require Node.js 26 or later.
- Open a terminal in your project and run
ax-code. - Use
/connectin the TUI, or runax-code providers login, to connect a provider. - Choose a model with
/model(model selection). - Ask the agent to inspect the project or make one small change.
- Review the diff and run your project checks before committing.
Run ax-code init to record repository conventions in AGENTS.md, and
ax-code doctor to diagnose the installation or a saved model that no longer
resolves.
The CLI starts with autonomous mode enabled and full-access isolation. For a
session with restricted writes and network access, use
ax-code --sandbox workspace-write. Read Sandbox Mode,
Autonomous Mode, and the
Security Policy before running the agent on team, untrusted, or
unattended work.
- Hosted, CLI, and gateway providers: the
provider catalog lists connection
methods and model discovery. Run
ax-code models <provider-id>for the exact model IDs available to your installation. - Managed local inference (Apple Silicon): run
ax-code providers ax-engine install. See AX Engine Model Selection for supported models, memory requirements, and activation checks. - Other local runtimes: for Ollama, LM Studio, MTPLX, oMLX, AX Studio, or any
OpenAI-compatible endpoint, choose Local LLM runtime in
/connect. See local runtime setup. - Free evaluation: see the Free-Tier API Quickstart.
| I want to… | Guide |
|---|---|
| Understand the product and pick a workflow | Start Here |
| Review, compare, replay, or undo an agent run | Execution Evidence |
| Get several models to attempt or review work | Verified Multi-Model Changes |
| Run unattended, in CI, or on a schedule | Headless CLI, Loop Mode |
| Embed the runtime in an application | JavaScript SDK, HTTP and OpenAPI |
| Connect MCP tools or Chrome | MCP, WebMCP |
| Build a source-backed project wiki | AX Wiki Quickstart |
The documentation index lists every guide. Release history is in the changelog; licensing and the planned Business offering are described in Standard and Business.
| Path | Contents |
|---|---|
packages/ax-code |
CLI, TUI, HTTP server, and agent runtime |
packages/sdk/js |
JavaScript/TypeScript SDK and OpenAPI client |
packages/ax-tui |
Terminal UI framework |
crates/ |
Rust workspace for native addons |
docs/ |
Public user documentation |
See Repository architecture for the full workspace map and Contributing for source setup and the contribution policy.
Report bugs, request features, or ask questions through GitHub Issues. Join Discord for community discussion. Report vulnerabilities as described in the Security Policy.
AX Code Standard is maintained by DEFAI Digital and distributed under the Apache License, Version 2.0. Portions derived from OpenCode, OpenTUI, and ax-cli retain their upstream notices and MIT license. See NOTICE for attribution.