Documentation Index
Fetch the complete documentation index at: https://docs.docex.dev/llms.txt
Use this file to discover all available pages before exploring further.
Setup
The docex setup command is the primary onboarding path. It authenticates via GitHub, provisions a prepaid wallet, and returns a scoped API key. Human approval is only required for the wallet top-up.
Command
Flags
| Flag | Required | Description |
|---|---|---|
--use-case | Yes | Description of your workflow. Used for workspace labeling. |
--framework | No | auto, next, or node. Defaults to auto. |
--top-up | No | USD wallet recharge amount. Defaults to 5. |
--base-url | No | API base URL. Defaults to http://localhost:4000. |
--json | No | Output machine-readable JSON instead of human text. |
Flow
Agent runs setup
The agent executes
docex setup --json and receives a pending setup session with an approval URL.Human approves
The human opens the approval URL, signs in with GitHub, and approves the wallet top-up.
Agent receives credentials
The agent polls the setup session. Once approved, it receives
DOCEX_API_KEY and DOCEX_BASE_URL.