deepx-cli
v0.2.0
Published
`deepx-tui` is the terminal UI companion for [`deepdex-web`](/home/stone/Web/deepdex-web). It includes a fullscreen terminal flow with per-network wallet bootstrap and a live market dashboard.
Readme
deepx-tui
deepx-tui is the terminal UI companion for deepdex-web. It includes a fullscreen terminal flow with per-network wallet bootstrap and a live market dashboard.
Requirements
- Bun
>=1.2.19
Install
bun install
bun install -g .Run
bun run dev
./bin/deepx --mode debugOr run the command entry directly:
./bin/deepx
./bin/deepx --network testnetQuality Checks
bun run lint
bun testRepository Layout
bin/executable entrypointssrc/Ink application codetests/deterministic automated testsdocs/design, implementation, and user docsscripts/repeatable workflow helpers
Current Workflow
deepxstarts ondevnetby default.- Use
--network testnetto switch to testnet. - The app checks for a local encrypted wallet for that network.
- If no wallet exists, it prompts for private key import and a local passphrase.
- After import, the fullscreen dashboard opens with:
- pair strip
- realtime candle chart with volume bars
- orderbook panel
- recent trades panel
- AI chat panel powered by the in-process DeepX agent using
@google/genaiandgemini-3-flash-preview - bottom status panel with CLI version and websocket delay
- optional debug panel with filtered internal logs when
--mode debugis enabled
AI Chat
- Set
GEMINI_API_KEYorGOOGLE_API_KEYbefore launching the TUI to enable live chat replies - The chat agent runs in-process and can call the built-in DeepX tools directly
- Supported tools currently cover market discovery plus order place, cancel, and open-order lookup flows
- Simple order commands like
buy 0.001 ETHare parsed locally against the active pair and require a separateconfirmbefore real submission - AI chat can submit live perp orders with explicit confirmation and an unlocked session wallet, but still blocks AI-driven cancels
--mode debugenables a filtered debug panel for app, relay, HTTP, and websocket logs
Next Steps
- Add a real order-entry workflow to the dashboard
- Expand command routing and richer interactive screens
- Reuse domain concepts from
deepdex-webwithout copying web-specific UI concerns
