ax — the tiny CLI for the Axonate AI gateway. One key, every model.
Project description
ax talks to your team's Axonate gateway — every model (real provider APIs + free local models)
behind a single OpenAI-compatible endpoint. Built for small teams who need AI without a
plan-per-person bill: one gateway, one key, per-user budgets.
Install
macOS (Homebrew)
brew install Axonate/tap/ax
pip — macOS / Linux / Windows (zero dependencies, any Python 3.8+)
pip install axonate-ax # or: pipx install axonate-ax
Windows (PowerShell or CMD)
py -m pip install axonate-ax
# 'ax' is now on PATH; if not, restart the terminal or add the Scripts dir to PATH
Without installing
python -m axonate_cli "hello"
Configure
mkdir -p ~/.config/axonate
cat > ~/.config/axonate/config <<EOF
AXONATE_URL=https://axonate.yourdomain.com # or http://127.0.0.1:4100 locally
AXONATE_KEY=sk-your-virtual-key
EOF
Or use env vars AXONATE_URL / AXONATE_KEY.
Use
ax "explain this error" # smart auto-routing picks the model
ax -m claude "write a haiku" # force a model
git diff | ax "review this" # pipe stdin
ax -s work "remember X" # session continuity
ax -s work "what did I say?" # ...same session recalls it
ax -s work --new "fresh start" # reset a session
ax --no-stream "..." # disable streaming
The gateway prints which model handled it ([route: codex]) so you always know where your
tokens went.
Why a gateway (cost angle)
| Without | With Axonate |
|---|---|
| One AI plan per person | One shared gateway, every model, per-user budgets |
| No idea who spent what | Per-user budgets + spend tracking |
| Pick the model manually | auto routes cheap tasks to cheap models |
Set up the gateway: Axonate/axonate · Docs: Axonate/docs
License
MIT © CloudDrove
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file axonate_ax-0.1.0.tar.gz.
File metadata
- Download URL: axonate_ax-0.1.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2109651684f166a28cf45645d0a06413a6659f0bf4318bb6d394b19c12c096c
|
|
| MD5 |
841b60b4b6d95d52e9ccf6cdfe96f644
|
|
| BLAKE2b-256 |
51be914ec6367a3c37d33076d20487356d459aeaeab8cb78a1ac53e952fdf700
|
Provenance
The following attestation bundles were made for axonate_ax-0.1.0.tar.gz:
Publisher:
publish-pypi.yml on Axonate/ax
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
axonate_ax-0.1.0.tar.gz -
Subject digest:
f2109651684f166a28cf45645d0a06413a6659f0bf4318bb6d394b19c12c096c - Sigstore transparency entry: 1933752028
- Sigstore integration time:
-
Permalink:
Axonate/ax@4ffad120f5cb5ea14b09fafc15dabf11f606a803 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Axonate
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@4ffad120f5cb5ea14b09fafc15dabf11f606a803 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file axonate_ax-0.1.0-py3-none-any.whl.
File metadata
- Download URL: axonate_ax-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7517b06650fb6863232affa1507ee97ae9a8f937436fa97030482f676ca4d6ef
|
|
| MD5 |
f2ef736cfb0feae9b41f03f9ddb08204
|
|
| BLAKE2b-256 |
89e682d09d42accba09b54be047bc1fdb3cffe8c63b7a882d8ee451dce5b5dd7
|
Provenance
The following attestation bundles were made for axonate_ax-0.1.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on Axonate/ax
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
axonate_ax-0.1.0-py3-none-any.whl -
Subject digest:
7517b06650fb6863232affa1507ee97ae9a8f937436fa97030482f676ca4d6ef - Sigstore transparency entry: 1933752153
- Sigstore integration time:
-
Permalink:
Axonate/ax@4ffad120f5cb5ea14b09fafc15dabf11f606a803 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Axonate
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@4ffad120f5cb5ea14b09fafc15dabf11f606a803 -
Trigger Event:
workflow_dispatch
-
Statement type: