Skip to main content

ax — the tiny CLI for the Axonate AI gateway. One key, every model.

Project description

ax

The tiny CLI for Axonate — one key, every model.

python deps license

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

axonate_ax-0.1.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

axonate_ax-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

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

Hashes for axonate_ax-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f2109651684f166a28cf45645d0a06413a6659f0bf4318bb6d394b19c12c096c
MD5 841b60b4b6d95d52e9ccf6cdfe96f644
BLAKE2b-256 51be914ec6367a3c37d33076d20487356d459aeaeab8cb78a1ac53e952fdf700

See more details on using hashes here.

Provenance

The following attestation bundles were made for axonate_ax-0.1.0.tar.gz:

Publisher: publish-pypi.yml on Axonate/ax

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for axonate_ax-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7517b06650fb6863232affa1507ee97ae9a8f937436fa97030482f676ca4d6ef
MD5 f2ef736cfb0feae9b41f03f9ddb08204
BLAKE2b-256 89e682d09d42accba09b54be047bc1fdb3cffe8c63b7a882d8ee451dce5b5dd7

See more details on using hashes here.

Provenance

The following attestation bundles were made for axonate_ax-0.1.0-py3-none-any.whl:

Publisher: publish-pypi.yml on Axonate/ax

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page