Skip to content

Environment and commands reference

This page provides a quick reference for environment variables, important files and directories, and slash commands.

環境変数

The variables that can be set in the environment or in .env.

特徴量 必須 説明 Default / notes
DATAROBOT_API_TOKEN Yes (unless provided by DR CLI configuration) DataRobot API key for LLM gateway (default provider).
DATAROBOT_ENDPOINT いいえ DataRobot API endpoint. https://app.datarobot.com/api/v2
AGENT_ASSIST_LLM_BASE_URL いいえ Base URL for OpenAI-compatible LLM. Derived from DATAROBOT_ENDPOINT (for example, …/genai/llmgw)
AGENT_ASSIST_LLM_MODEL_NAME いいえ Model name for the LLM. bedrock/anthropic.claude-sonnet-4-5-20250929-v1:0
AGENT_ASSIST_LLM_API_KEY いいえ API key for the LLM provider. Falls back to DATAROBOT_API_TOKEN
LOGFIRE_TOKEN いいえ Logfire token for tracing.
DATAROBOT_CLI_CONFIG いいえ Override path to DR CLI configuration file. Default: ~/.config/datarobot/drconfig.yaml
AGENT_ASSIST_CONFIG いいえ 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.

空のディレクトリでdr assistを実行する

dr assistは、専用の空のディレクトリからのみ実行します。 コードやその他のファイルが含まれるディレクトリでこのコマンドを実行するのは安全ではありません。 エージェントアシストのコーディングワークフローを使用すると、アシスタントはDataRobot Agent Application Templateのクローンを現在のディレクトリに作成します。 この操作によって既存のファイルが上書きされたり競合が発生したりする可能性があり、既存のプロジェクトが損なわれ、アシスタントの出力精度が低下する恐れがあります。 dr assistを実行する前に、専用のディレクトリがない場合は、ディレクトリを作成してそこでターミナルを開きます(たとえば、mkdir my-agent && cd my-agentを実行してから、dr assistを実行します)。

パス 説明
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 エイリアス 説明
/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).