One Command, Auto-Configured
Download and run. Interactive wizard guides you to input API Key and auto-saves config. Save 15-80% tokens for Cursor / Claude Code / Cline
RTK Tool Result Compression
Auto-identifies git/test/build logs, retains key info, filters noise. Save 15-80% tokens
Interactive Setup Wizard
First run auto-guides input of API Key, platform URL, port. Config saved to ~/.dxnt/config.json
Local Secure Proxy
API Key stored locally, tools never see the real key. Requests compressed locally before forwarding
Installation and Usage
Rename and Set Permissions
mv dxnt-cli-darwin-arm64 dxnt-cli && chmod +x dxnt-cliRun (Auto-Setup Wizard)
First run launches an interactive wizard. Follow the prompts - config is auto-saved.
./dxnt-cliFirst run interactive process:
CLI Settings Wizard Platform URL [https://www.aiapitoken.com]: [Enter to skip] API Key: sk-xxxxxxxxxxxxxxxx [Paste your Key] Listen port [20128]: [Enter to skip] Enable RTK compression? [Y/n]: [Enter to skip] ✓ Config saved to ~/.dxnt/config.json
Configure Your Tools
Base URL: http://localhost:20128/v1
API Key: Any Value (CLI auto-replace)
verify
curl http://localhost:20128/healthback { "status": "ok" } to confirm it works
Command Reference
| Command | Description |
|---|---|
| ./dxnt-cli | Start proxy (first run auto-setup, subsequent runs start directly) |
| ./dxnt-cli -setup | Re-run setup wizard to modify API Key, address, or port |
| ./dxnt-cli -version | Show version |
| ./dxnt-cli -debug | Start with RTK compression stats logging |
| ./dxnt-cli -rtk false | Temporarily disable RTK compression (current session only) |
| ./dxnt-cli -api-key sk-xxx | Temporarily use specified Key (does not persist) |
FAQ
Q: What if I change my API Key?
run ./dxnt-cli -setup to reconfigure, or edit ~/.dxnt/config.json
Q: Where is the config file?
~/.dxnt/config.json (Windows: C:\Users\UserName\.dxnt\config.json)
Q: Can multiple tools use it simultaneously?
Yes. CLI listens on localhost:20128, all tools point to this address.