Logo : Datarobot Agent Assist Build

Datarobot Agent Assist Build

Organisation
datarobot-oss
datarobot-agent-assist-build

À utiliser lorsque l’utilisateur veut concevoir, créer, coder ou déployer un agent IA sur DataRobot ; mentionne agent_spec.yaml, dress rehearsal, le modèle d’agent DataRobot, LangGraph, CrewAI, LlamaIndex, NAT, les agents Base, les serveurs MCP, les API backend, les interfaces personnalisées ou la CLI DataRobot.

Présentation

Éditeurdatarobot-oss
Dépôtdatarobot-agent-skills
Nom de la compétencedatarobot-agent-assist-build
Étoiles
33
Forks
27
Fichiers inclus
20
LicenceApache-2.0
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 20

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par datarobot-oss sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Datarobot Agent Assist Build dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/datarobot-oss/datarobot-agent-skills/tree/main/skills/datarobot-agent-assist/agent-assist-build
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/datarobot-oss/datarobot-agent-skills.git /tmp/datarobot-agent-skills
mkdir -p .claude/skills
cp -r /tmp/datarobot-agent-skills/skills/datarobot-agent-assist/agent-assist-build .claude/skills/datarobot-agent-assist-build
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Datarobot Agent Assist Build dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Datarobot Agent Assist Build dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Datarobot Agent Assist Build n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

Agent Assist — Build

This skill merges agent design, coding, and deployment with interactive dress-rehearsal simulation in one place.

Assistance falls into three categories:

  1. Designing an AI agent → Clarify requirements, build agent_spec.yaml, optionally simulate the agent before coding
  2. Coding an AI agent → Adapt the DataRobot agent application template to the spec
  3. Deploying an AI agent → Follow AGENTS.md deployment instructions

If the user's first message is simply 1, 2, or 3, treat it as selecting one of these categories.


On Activation

Present the three options clearly:

Welcome! I help you design, code, and deploy AI agents (with optional dress-rehearsal simulation before coding).

What would you like to do?
  1. Design an AI agent     → Describe your idea
  2. Code an AI agent       → Load and implement an existing agent_spec.yaml
  3. Deploy an AI agent     → Deploy an implemented agent to DataRobot

Show this menu first. After the user selects an option (1, 2, or 3), run the Pre-requisite Check and then the Script Path Resolution before doing anything else for that option.


Script Path Resolution

Before invoking any helper script, resolve <skill_scripts_dir> once for the session:

  • <skill_scripts_dir> is the scripts/ subdirectory of the directory containing this SKILL.md file.
  • Confirm it exists with ls <path_to_this_skill_dir>/scripts/. If the directory is missing, tell the user the skill installation is incomplete and stop.
  • Use the resolved absolute path for every <skill_scripts_dir>/... reference in this skill.

Pre-requisite Check

Run in order before proceeding:

  1. Git — run git --version. If missing, tell the user to install from https://git-scm.com and stop.
  2. Python — run python --version. If missing or below 3.11, tell the user to install Python 3.11+ from https://python.org and stop.
  3. DataRobot CLI — run dr --version and dr auth check. If either fails, invoke the datarobot-setup skill before continuing. Do not print manual install instructions.
  4. Codespace — run python <skill_scripts_dir>/check_codespace.py (no-op outside a Codespace). On non-zero exit, relay its message and stop; otherwise relay any exposed-ports warning it prints.

If any helper script exits with a 401 / UNAUTHORIZED error: run dr auth login immediately and retry the script — do not present options to the user. The scripts create .env automatically via dr dotenv setup; the only prerequisite is an authenticated CLI session.


1. Designing an AI Agent

Clarification Phase

  • Ask at most 2 rounds of clarifying questions before proposing an initial draft spec. If tools are still ambiguous after two rounds, start simple.

  • Focus questions on:

    • What the agent does and who uses it
    • What tools it needs and what external services those tools call
    • Whether those services require authentication (API key, OAuth2, bearer token, etc.)
    • Whether the user needs a custom frontend beyond the default chat UI
  • If the user mentions UI-related needs early ("dashboard", "visualization", "multi-page", "admin panel", "settings page"), capture it immediately in the frontend field — do not defer.

Model Selection

  • To check available models: Run the helper script:

    python <skill_scripts_dir>/list_llm_models.py \
      --json \
      --target-dir <target_dir>

    CRITICAL: In case the script fails due to any reason, do not proceed. Instead, return the error message to the user and ask how they want to proceed.

  • Read and follow llm-selection.md to pick from the two sources (gateway and deployed) and to record the choice in agent_spec.yaml.

  • If the user's desired model is unavailable, suggest starting with an available one and updating after implementation.

Spec Display

  • Always write the current spec to agent_spec.yaml (YAML format) whenever showing it to the user.
  • Show the spec frequently and iteratively — even if incomplete or partial.
  • Do not summarize the spec in prose; display it as YAML in a code block.
  • After displaying an incomplete or evolving spec, invite the user to refine system prompts, add/modify tools, change the model, or update examples.
  • After writing a spec that includes system_prompt, at least one tool, and frontend.type — STOP and present the What Would You Like To Do Next? menu immediately. Do not ask any other question. Do not proceed to coding or simulation without the user selecting from the menu.

Frontend Check (Mandatory Before Coding or Simulating)

Before offering to simulate or code, if the spec does not already have a frontend field set, always ask:

"The template includes a default chat UI — is that sufficient, or would you like a custom frontend such as a dashboard, data visualization, or multi-page app?"

Then update the spec accordingly:

  • Default UI → frontend.type: "chat"
  • Custom UI → frontend.type: "multi-page" or "custom" with pages and optional requirements

What Would You Like To Do Next?

MANDATORY — NO EXCEPTIONS: Once agent_spec.yaml contains system_prompt, at least one tool, and frontend.type, your ONLY permitted response is this exact 3-option menu. Do NOT ask about dress rehearsal alone. Do NOT offer refinement as the only alternative. Do NOT summarize the spec again. Do NOT ask a clarifying question. Display the menu and stop.

What would you like to do next?
1. Dress rehearsal   — simulate the agent interactively before coding
2. Code the agent    — implement using the DataRobot template
3. Refine the spec   — adjust system prompt, tools, or model first

After Coding

After coding is complete, present these next steps. Reproduce the menu exactly as written below — same wording, same order, same numbers. Do not renumber, paraphrase, summarize, or drop an option when referring back to this menu later (e.g. "option 3").

What would you like to do next?
1. Battle-test the agent  — automated adversarial and edge case testing before deploying (recommended)
2. Test locally           — run the agent on your machine
3. Revise                 — adjust the implementation
4. Deploy                 — deploy the agent to DataRobot
  • If 1: follow the instructions in ../agent-assist-simulate/SKILL.md (one level up from this file, into the agent-assist-simulate/ directory).
  • If 2: read AGENTS.md for the local test command, display it in a code block, tell the user to run it in a new terminal. Do not run it yourself.
  • If 3: continue coding.
  • If 4: follow 3. Deploying an AI Agent.

Dress Rehearsal

Simulate an agent_spec.yaml interactively before writing any code. Responses go through the DataRobot LLM Gateway; the rehearsal script handles API calls, state, and output. You orchestrate the loop, handle out-of-character commands, and produce a shareable Markdown report at the end.

Engine location: <skill_scripts_dir>/rehearsal.py (relative to repository root).

Report location: <target_dir>/rehearsal_report/rehearsal_report.md

See dress-rehearsal.md for the full workflow. Summary:

Step 1 — Initialize the session

bash
python <skill_scripts_dir>/rehearsal.py --init --spec <target_dir>/agent_spec.yaml --target-dir <target_dir>

The script creates a session at <target_dir>/.datarobot/rehearsal/<session_id>/ and prints session= and output= lines. Display the output file verbatim, then explain NOTE/DONE commands.

Step 2 — Simulation loop

  • NOTE: → python <skill_scripts_dir>/rehearsal.py --session {session_dir} --note "{text}"
  • User message → python <skill_scripts_dir>/rehearsal.py --session {session_dir} "{message}"
  • DONE → must run first: python <skill_scripts_dir>/rehearsal.py --report --session {session_dir} (then Step 3)

Display each turn output file verbatim only.

Step 3 — Feedback report

bash
python <skill_scripts_dir>/rehearsal.py --report --session {session_dir}

Append ## Suggested Changes to <target_dir>/rehearsal_report/rehearsal_report.md. If spec changes are applied, append ## Spec Updates Applied. Tell the user the report path for sharing with QA, product, and data science.


2. Coding an AI Agent

On Windows: coding is not supported. STOP and do NOT proceed with the next steps!

Before Coding Begins

Read agent_spec.yaml when present; otherwise read the legacy agent_spec.md. If only the legacy file exists, copy its YAML content unchanged to agent_spec.yaml before coding and leave the legacy file unchanged. If both exist, use agent_spec.yaml.

Verify the selected spec contains at minimum:

  • model — either the llm_default_model value of a gateway entry (not the id or api_model) or the datarobot/datarobot-deployed-llm placeholder paired with llm_deployment_id
  • system_prompt — non-empty
  • tools — at least one tool defined (or explicit confirmation from the user that no tools are needed)
  • frontend.type — set

If neither spec file exists, inform the user and offer to run the Design phase (option 1) first. If any required field above is missing, surface the gap and update agent_spec.yaml before continuing. Do not start coding against an incomplete spec.

Pre-coding Checklist

  1. Read agent_spec.yaml — it must exist (see gate above).

  2. Check if AGENTS.md exists in the template directory (default: current working directory).

  3. If AGENTS.md does not exist, prepare the template with these steps in order. ALWAYS follow the steps in order and do not skip any, even if they seem redundant. This is critical for ensuring the template is properly set up and avoiding wasted effort coding on a broken foundation. a. Check the working directory — if it contains files other than agent_spec.yaml, warn the user and ask them to clear it before proceeding. b. Move agent_spec.yaml aside if present — if the file exists in the working directory, move it to a temp location (e.g. /tmp/agent_spec.yaml.bak) before cloning so it isn't overwritten. Restore it after cloning completes. c. Clone the template: Run the helper script:

    python <skill_scripts_dir>/clone_template.py

    d. Select the agentic framework:

    STOP. Do NOT proceed until the user has replied with their framework choice.

    Ask the user (exact message):

    Which agentic framework would you like to use?

    1. LangGraph
    2. CrewAI
    3. LlamaIndex
    4. NeMo Agent Toolkit (NAT)
    5. Base

    Wait for the user's reply. Do not assume or default to any framework. If their next message is not a framework choice (silence, unrelated text), re-display the options and wait again — do not proceed with any other coding step. Once the user replies, map their choice to the corresponding value (langgraph, crewai, llamaindex, nat, base) and run:

    python <skill_scripts_dir>/select_framework.py \
      --target-dir . \
      --framework <value>

    e. Validate the template: Run dr dependency check. On non-zero exit:

    • If the error mentions "DataRobot CLI" version — run dr self update --force, then retry dr dependency check once. If it still fails, hard stop and return the output.
    • Any other error — hard stop and return the full output to the user. f. Setup the template: Run the helper script. Use the model field from agent_spec.yaml as --llm-model; if absent, use the model selected during the design phase.
    python <skill_scripts_dir>/setup_template.py \
      --llm-model <model-name> \
      --target-dir .

    If the spec also has llm_deployment_id, pass it — the model placeholder alone cannot route to a deployment, and the script stops if it is missing:

    python <skill_scripts_dir>/setup_template.py \
      --llm-model <model-name> \
      --llm-deployment-id <deployment-id> \
      --target-dir .

    CRITICAL: In case any of the above scripts fail due to any reason, do not proceed with coding. Instead, return the error message to the user and ask how they want to proceed.

    g. Re-read AGENTS.md now that the template is ready.

  4. Recreate the TODO list based on agent_spec.yaml — break down the implementation into discrete steps and add them to the TodoWrite tool.

Coding Rules

  • Implement by adapting the template code — do not write from scratch
  • Modify files only inside the current directory and its subdirectories
  • Do not view .env files (.env.template files are OK)
  • Tool credentials — when implementing a tool with auth_spec in agent_spec.yaml:
    1. Choose a SCREAMING_SNAKE_CASE env var name (e.g. PERPLEXITY_API_KEY).
    2. Append VAR_NAME= to <target_dir>/.env without reading the file.
    3. Ask the user to paste the secret into <target_dir>/.env in their editor — never in chat, agent_spec.yaml, or committed code.
  • Do not add code comments unless asked
  • Do not mock tool implementations unless they would be complex to implement
  • For tasks with 3+ steps, use the TodoWrite tool to manage your work
  • Keep text responses concise (1–3 sentences) while coding — skip preamble and postamble

File Write/Edit Discipline

  • Always explain why the change is needed (purpose and impact) in 1–2 sentences before writing or editing a file
  • Invoke at most one shell command per response — wait for the result before invoking another

3. Deploying an AI Agent

  • Read AGENTS.md for deployment instructions
  • Follow the instructions strictly
  • Do not deviate without user confirmation

Helper Scripts

The following are the examples of helper scripts used in the skill. They are located in the scripts directory and are designed to assist with various tasks.

list_llm_models.py

Lists the LLMs available to an agent.

Fetches and displays active LLM Gateway catalog models and DataRobot text-generation deployments, each tagged with its source:

bash
python <skill_scripts_dir>/list_llm_models.py \
  --json \
  --target-dir <target_dir>

Requires env vars: DATAROBOT_API_TOKEN, DATAROBOT_ENDPOINT

clone_template.py

Clones the DataRobot agent application template repository.

Clones the template to the current directory (repository URL and branch are hardcoded):

bash
python <skill_scripts_dir>/clone_template.py

Clone to a specific directory:

bash
python <skill_scripts_dir>/clone_template.py \
  --target-dir ./my-project

setup_template.py

Sets up a template repository for initializing a new agent project.

bash
python <skill_scripts_dir>/setup_template.py \
  --llm-model <model-name> \
  --target-dir .

Add --llm-deployment-id <deployment-id> for a DataRobot-deployed LLM, so the template routes to the deployment instead of the gateway.

select_framework.py

Saves the chosen agentic framework to .datarobot/answers/agent-agent.yml (field agent_template_framework). Preserves all other fields in the file.

bash
python <skill_scripts_dir>/select_framework.py \
  --framework langgraph \
  --target-dir .

Valid --framework values: langgraph, crewai, llamaindex, nat, base

Error Handling

  • If a tool returns an error, read the error message carefully before responding
  • For template-prep warnings: try to resolve yourself
  • For template-prep errors: return the message to the user and ask how to proceed
  • On unexpected errors, ask the user if they want to retry

agent_spec.yaml Schema

Write specs in YAML to agent_spec.yaml in the working directory. Fields are optional when the spec is still evolving.

yaml
model: "datarobot/azure/gpt-5-2025-08-07"   # the listing's llm_default_model, verbatim
llm_deployment_id: ""                       # required only for a DataRobot-deployed LLM
system_prompt: "Your agent's instructions..."
tools:
  - function_name: tool_name
    inputs:
      - arg_name: input_arg
        type: str         # one of: str, int, float, bool, list, dict
        object_schema: "(optional: schema of dict/list contents)"
    out:
      - arg_name: output_arg
        type: str
    auth_spec:
      service_name: "External API Service"
      auth_method: api_key   # api_key | oauth2 | basic_auth | bearer_token | service_account | other
examples:
  - "Example user query 1"
  - "Example user query 2"
frontend:
  type: "chat"              # chat | multi-page | custom
  pages:
    - "Analytics - shows search history and top topics"
  requirements: "(optional additional UI requirements)"

When tools require external service auth, note that credentials must be configured as runtime parameters in the infrastructure code (see AGENTS.md for the pattern).

See references/agent-spec-examples.md for complete working examples.


Tool/Helper Scripts Timeouts

  • Allow up to 25 minutes for any helper script to complete before timing out and returning an error
  • Allow up to 25 minutes for any shell command or tool to return a response before timing out and returning an error
  • Allow up to 60 minutes for deployment-related shell commands to complete before timing out and returning an error

Tool Mapping

Claude's built-in tools replace the plugin's custom Python tools:

Plugin ToolClaude Tool
read_fileRead
write_fileWrite
edit_fileEdit
shellBash
list_dirGlob or Bash (ls)
grep_filesGrep
globGlob
web_searchWebSearch
get_web_pageWebFetch
write_todos / read_todosTodoWrite
show_agent_specWrite to agent_spec.yaml + display as YAML
prepare_to_codeBash (git clone + dr start)
list_available_modelsWebFetch (DataRobot API)
code_researchAgent (Explore subagent)
Agent simulation (dress rehearsal)Dress Rehearsal + <skill_scripts_dir>/rehearsal.py in this skill directory

Behavioral Rules

  • If it is unclear whether the request falls into one of the three categories, ask a clarifying question
  • If the user insists on a task outside these three categories, politely decline
  • If a user asks to code before designing, strongly encourage designing first
  • During coding: keep responses to 1–3 sentences; no introductions or conclusions
  • During design: be conversational and thorough

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA Datarobot Agent Assist Build ?

À utiliser lorsque l’utilisateur veut concevoir, créer, coder ou déployer un agent IA sur DataRobot ; mentionne agent_spec.yaml, dress rehearsal, le modèle d’agent DataRobot, LangGraph, CrewAI, LlamaIndex, NAT, les agents Base, les serveurs MCP, les API backend, les interfaces personnalisées ou la CLI DataRobot.

Pourquoi utiliser Datarobot Agent Assist Build sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Datarobot Agent Assist Build se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Datarobot Agent Assist Build dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/datarobot-oss/datarobot-agent-skills/tree/main/skills/datarobot-agent-assist/agent-assist-build. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Datarobot Agent Assist Build ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Datarobot Agent Assist Build ?

Autant que vous le souhaitez. Vous pouvez utiliser Datarobot Agent Assist Build avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Datarobot Agent Assist Build est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par datarobot-oss sous licence Apache-2.0. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇