| Name | Type | Description |
|---|---|---|
provider* | str | Provider name (e.g., |
Resolve the credential value for provider from any configured source.
Lookup order:
~/.deepagents/.state/auth.json (added via /auth).resolve_env_var() (which honors the
DEEPAGENTS_CLI_ prefix and dotenv files).A user who has both a stored key and an env var set gets the stored key — entering one in the TUI is the more deliberate, more recent action, so "I just typed this in" beats whatever the shell exported.