Environment and commands reference¶
This page provides a quick reference for environment variables, important files and directories, and slash commands.
Environment variables¶
The variables that can be set in the environment or in .env.
| Variable | Required | Description | Default / notes |
|---|---|---|---|
DATAROBOT_API_TOKEN |
Yes (unless provided by DR CLI configuration) | DataRobot API key for LLM gateway (default provider). | — |
DATAROBOT_ENDPOINT |
No | DataRobot API endpoint. | https://app.datarobot.com/api/v2 |
AGENT_ASSIST_LLM_BASE_URL |
No | Base URL for OpenAI-compatible LLM. | Derived from DATAROBOT_ENDPOINT (for example, …/genai/llmgw) |
AGENT_ASSIST_LLM_MODEL_NAME |
No | Model name for the LLM. | bedrock/anthropic.claude-sonnet-4-5-20250929-v1:0 |
AGENT_ASSIST_LLM_API_KEY |
No | API key for the LLM provider. | Falls back to DATAROBOT_API_TOKEN |
LOGFIRE_TOKEN |
No | Logfire token for tracing. | — |
DATAROBOT_CLI_CONFIG |
No | Override path to DR CLI configuration file. | Default: ~/.config/datarobot/drconfig.yaml |
AGENT_ASSIST_CONFIG |
No | Override path to Agent Assist configuration file. | Default: ~/.config/datarobot/agent_assist_config.yaml |
Files and directories¶
The paths and files used or created by DataRobot Agent Assist. All paths are relative to the current working directory when you start dr assist.
Run dr assist in an empty directory
Only run dr assist from a dedicated and empty directory. Running this command in a directory containing code or other files is unsafe. When you use the agent assist coding workflow, the assistant clones the DataRobot Agent Application Template repository into the current directory. This action can overwrite or conflict with existing files, damaging the existing project and degrading the accuracy of the assistant's output. Before running dr assist, if you're not in a dedicated directory, create one and open the terminal there (for example, mkdir my-agent && cd my-agent, then run dr assist).
| Path | Description |
|---|---|
agent_spec.md |
Agent specification (YAML) in the current working directory; written by the assistant during design. |
.env |
Optional environment file in the current directory; same variable names as above. |
.datarobot/cli/versions.yaml |
Used by dependency check; defines minimum tool versions. |
~/.config/datarobot/drconfig.yaml |
DR CLI configuration (token, endpoint). This path can be overridden with DATAROBOT_CLI_CONFIG. |
~/.config/datarobot/agent_assist_config.yaml |
Agent Assist configuration (optional LLM base URL, model name, API key). This path can be overridden with AGENT_ASSIST_CONFIG. |
config.yaml |
Optional repository-level configuration; can set repository (url, branch, target_dir, tag) for the template clone. |
Slash commands¶
The session commands typed after / at the $ prompt (built-in commands only).
| Command | Alias | Description |
|---|---|---|
/reset |
/new |
Clear session state and start fresh (removes agent_spec.md and template directory, clears conversation). |
/help |
/? |
List commands or show help for a command: /help [command]. |
/quit |
/exit |
Exit the session (with confirmation). |