CLI Client

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

2

Rename and Set Permissions

mv dxnt-cli-darwin-arm64 dxnt-cli && chmod +x dxnt-cli
3

Run (Auto-Setup Wizard)

First run launches an interactive wizard. Follow the prompts - config is auto-saved.

./dxnt-cli

First 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
4

Configure Your Tools

Base URL: http://localhost:20128/v1

API Key: Any Value (CLI auto-replace)

5

verify

curl http://localhost:20128/health

back { "status": "ok" } to confirm it works

Command Reference

CommandDescription
./dxnt-cliStart proxy (first run auto-setup, subsequent runs start directly)
./dxnt-cli -setupRe-run setup wizard to modify API Key, address, or port
./dxnt-cli -versionShow version
./dxnt-cli -debugStart with RTK compression stats logging
./dxnt-cli -rtk falseTemporarily disable RTK compression (current session only)
./dxnt-cli -api-key sk-xxxTemporarily 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.