Environment
Install Axe, wire your model, and connect Hyperliquid and Polymarket — five-minute local setup.
Setting up Axe takes about five minutes. The harness is local-first: you install once, point it at your model and your venues, and everything else lives in your working tree.
Install Axe
The Axe runtime lives at ~/work/axe. The install script copies a stable launcher into your shell.
The installer:
- Copies the current checkout into
~/.axe/axe - Runs
npm installagainst that copy - Writes launchers to
~/.axe/bin/ - Symlinks
~/.local/bin/axeand~/.local/bin/axe-dev
After install, you have two commands:
| Command | Source | Use when |
|---|---|---|
axe | ~/.axe/axe | Day-to-day operator sessions |
axe-dev | live source checkout | Iterating on Axe itself |
Wire your model
Axe does not bundle a model. On startup it looks for credentials in this order:
- A reusable Codex machine token at
~/.codex/auth.json - Provider API keys in your environment or session
- The interactive
/loginflow
Once a credential is available, pick a model with /model. Most operators run a frontier model for sessions and a faster model for watches.
Connect Hyperliquid and Polymarket
Per-account connector configs live under ~/.axe/connectors/ as JSON. You can also use the AXE_HYPERLIQUID_* and AXE_POLYMARKET_* environment variables for ephemeral sessions.
Authenticated trading is gated behind the safety policy. Read-only public data works out of the box.
Verify
A clean install should give you:
If /markets returns data and /model reports a usable model, you are ready to start a session. See Best practices next.