Python client (suggested names)
| Variable | Required | Default | Notes |
|---|---|---|---|
ASAPI_API_KEY | Yes* | — | API key (sk_...) for AsapiClient.set_api_key. |
ASAPI_BASE_URL | No | https://sudoiq.com (typical) | Execution API origin; override for self-host. |
agentservice CLI
| Variable | Required | Default | Notes |
|---|---|---|---|
AGENTSERVICE_API_KEY | Yes* | — | Same as key from Sudoiq settings; also set via agentservice login. |
~/.config/agentservice/config or ~/.agentservice (api_key=, host=). See CLI.
PDF demo (typical variables)
| Variable | Required | Default | Notes |
|---|---|---|---|
SUDOIQ_KEY | Yes | — | API key read by the demo factory. |
SUDOIQ_URL | No | https://sudoiq.com | Base URL for the client. |
AGENT_ID | No | — | Overrides agent id file from one-time upload. |
SUDOIQ_DEMO_MAX_WAIT | No | 3600 | Demo-specific upper bound while waiting for a chat run. |
.env.example for the authoritative list.
Self-hosted Docker
Compose stacks usually inject API keys, database URLs, Redis, and signing secrets via.env next to docker-compose.yml. Names are repository-specific — copy the template from your backend repo when you follow Docker.
SDK timeouts
Interactive streaming runs use a default response timeout (wall-clock seconds) in theasapi package (DEFAULT_INTERACTIVE_RUN_RESPONSE_TIMEOUT, often one hour). Override per call with response_timeout= on execute_agent / run_agent, or pass float("inf") where supported.
See Timeouts and errors.