Datarobot Agent Templates

by datarobot-community• 19•• Scanned•Claim this listing•Request removal
Productivity & Workflowagentic aicrewaidatarobotlanggraphllamaindex

DataRobot Agentic Workflow Templates

Datarobot Agent Templates is an open-source ai agent by datarobot-community, written mainly in Python, with 19 GitHub stars and the Apache-2.0 license. Its code was last updated Jul 31, 2026.

<p align="center"> <a href="https://github.com/datarobot-community/datarobot-agent-templates"> <img src="./.github/datarobot_logo.avif" width="600px" alt="DataRobot Logo"/> </a> </p> <p align="center"> <span style="font-size: 1.5em; font-weight: bold; display: block;">DataRobot Agentic Workflow Templates</span> </p> <p align="center"> <a href="https://datarobot.com">Homepage</a> · <a href="https://docs.datarobot.com/en/docs/agentic-ai/agentic-develop/index.html">Documentation</a> · <a href="https://docs.datarobot.com/en/docs/get-started/troubleshooting/general-help.html">Support</a> </p> <p align="center"> <a href="https://github.com/datarobot-community/datarobot-agent-templates/tags"> <img src="https://img.shields.io/github/v/tag/datarobot-community/datarobot-agent-templates?label=version" alt="Latest Release"> </a> <a href="/LICENSE"> <img src="https://img.shields.io/github/license/datarobot-community/datarobot-agent-templates" alt="License"> </a> </p>

[!WARNING] DEPRECATED: This repository is deprecated and no longer maintained or updated. Refer to the new DataRobot Agent Application template for all future agentic workflows.

This repository provides ready-to-use templates for building and deploying agentic workflows with multi-agent frameworks. Agentic templates streamline the process of setting up new workflows with minimal configuration requirements. They support local development and testing, as well as deployment to production environments within DataRobot.

[!IMPORTANT] This repository updates frequently. Make sure to update your local branch regularly to obtain the latest changes.


Table of contents


Available templates

This repository includes templates for four popular agent frameworks and a generic base template that can be adapted to any framework of your choice. Each template includes a simple example agentic workflow with two agents and three tasks.

FrameworkDescriptionGitHub RepoDocs
CrewAIA multi-agent framework with focus on role-based agents.GitHubDocs
Generic BaseA barebones template that can be adapted to any framework.--
LangGraphMulti-agent orchestration with state graphs.GitHubDocs
Llama-IndexA framework for building RAG systems.GitHubDocs
NeMo Agent ToolkitA framework for connecting enterprise agents to data sources and tools.GitHubDocs

Installation

[!CAUTION] This repository is only compatible with macOS and Linux operating systems. If you are using Windows, consider using a DataRobot codespace, Windows Subsystem for Linux (WSL), or a virtual machine running a supported OS.

Ensure that you have the following tools installed and on your system at the required version (or newer). It is recommended to install the tools system-wide rather than in a virtual environment to ensure they are available in your terminal session.

Prerequisite tools

The following tools are required to install and run the agent templates. For detailed installation steps, see Installation instructions in the DataRobot documentation.

ToolVersionDescriptionInstallation guide
dr-cli>= 0.2.22The DataRobot CLI.dr-cli installation guide
git>= 2.30.0A version control system.git installation guide
uv>= 0.9.0A Python package manager.uv installation guide
Pulumi>= 3.163.0An Infrastructure as Code tool.Pulumi installation guide
Taskfile>= 3.43.3A task runner.Taskfile installation guide

[!IMPORTANT] You will also need a compatible C++ compiler and build tools installed on your system to compile some Python packages.

[!TIP] Make sure to install the tools system-wide rather than in a virtual environment so they are available in your terminal sessions.

Create and deploy your agent

[!CAUTION] Ensure that all prerequisites are installed before proceeding.

This guide walks you through setting up an agentic workflow using one of several provided templates. It returns a Markdown (.md) document about your specified topic based on the research of a series of agents. The example workflow contains these two agents:

  • Researcher: Gathers information on a given topic using web search.
  • Writer: Creates a document based on the research.

Clone the agent template repository

The method for cloning the repository is dependent on whether your DataRobot application instance—either Managed SaaS (cloud) or Self-Managed (on-premise).

Cloud users

You can either clone the repository to your local machine using Git or download it as a ZIP file.

git clone https://github.com/datarobot-community/datarobot-agent-templates.git
cd datarobot-agent-templates

On-premise users

Clone the release branch for your installation using Git, replacing [YOUR_DATA_ROBOT_VERSION] with the version of DataRobot you are using:

git clone -b release/[YOUR_DATA_ROBOT_VERSION] https://github.com/datarobot-community/datarobot-agent-templates.git
cd datarobot-agent-templates

[!TIP] To customize or track your own workflows, you can fork this repository, change the remote URL, or create a new repository.

Locate your DataRobot API key and endpoint

The section after this requires you to add your DataRobot API key and endpoint to the environment variables file. See the DataRobot API keys and endpoints documentation for specific steps on how to locate them.

Configure environment variables

Create an .env file in the root directory before running any commands:

  1. Copy the sample environment file.
cp .env.template .env
  1. Edit the file with your preferred text editor.
nano .env  # or vim .env, code .env, etc.
  1. Paste the DataRobot API key and endpoint that you copied in Locate your DataRobot API key and endpoint into your .env file. Leave other variables at their default values during setup.
# Your DataRobot API token.
# Refer to https://docs.datarobot.com/en/docs/api/api-quickstart/index.html#configure-your-environment for help.
DATAROBOT_API_TOKEN=<YOUR_API_KEY>

# The URL of your DataRobot instance API.
DATAROBOT_ENDPOINT=<YOUR_API_ENDPOINT>

Start and choose an agent framework

Run the helper script to start development:

task start

[!TIP] If you encounter errors with task start, ensure that you've completed all prerequisite steps.

Specify which of the four available templates you would like to use during the task start process:

DirectoryFrameworkDescription
agent_crewaiCrewAIRole-based multi-agent collaboration framework
agent_generic_baseGenericBase template for any framework
agent_langgraphLangGraphState-based orchestration framework
agent_llamaindexLlama-IndexRAG-focused framework
agent_natNeMo Agent ToolkitNVIDIA NeMo Agent Toolkit framework
<details> <summary><b><i>Which template should I choose?</i></b></summary>

While all templates can use DataRobot tools and the DataRobot LLM Gateway, the ideal scenario for each can vary.

CrewAI: A simple way to think about the CrewAI template is that it focuses on 'Who'. It is best suited to solving problems that require roles and collaboration, and excels at quickly prototyping multi-agent teams of specialists to collaborate on creative or analytical tasks.

LangGraph: The LangGraph template focuses on 'How', and is ideal for problems that can be solved with process and auditing. It excels at building reliable systems where you need granular control, and can build incredibly robust systems with error handling and human approval loops. LangGraph's process control makes it ideal for workflows that require human approval before calling DataRobot prediction tools, or for building robust error handling around Data Registry operations.

LlamaIndex: LlamaIndex focuses on the 'What', and is best suited to solving problems that require data and expertise. It excels at building powerful RAG-based agents that are experts in a specific, document-heavy domain. It can be combined with DataRobot's Vector Database for semantic search, Aryn DocParse for document processing, and Search Data Registry for discovering relevant datasets.

Generic base: The Generic base template is a clean slate for situations where you need a barebones foundation that you can fully customize. Select this template if you already have experience developing and modifying agentic workflows, or if you need to build a custom agentic workflow from scratch. Generic base provides maximum flexibility for integrating custom DataRobot agentic tools or building workflows that don't fit standard patterns.

NeMo Agent Toolkit: The NeMo Agent Toolkit template focuses on 'How well', and is ideal for problems that require optimization, observability, and performance monitoring. It excels at enhancing existing agent workflows with built-in profiling, observability integrations, and evaluation systems without requiring you to replatform. It can be combined with DataRobot tools and observability platforms like Phoenix, Weave, and Langfuse to provide end-to-end visibility into agent performance and costs.

</details>

When prompted to setup the Python environment and install prerequisites, type y and press Enter.

After selection, setup will finish, leaving only files relevant to the template specified in your branch. To switch frameworks later, re-clone the repository and run the steps above again.

[!TIP] Run task (with no parameters) from the root directory to see all available commands. Aside from start, none are necessary to complete installation.

Test your agent for local development

Now your agent is ready to be tested locally using the CLI. Local testing requires a DataRobot connection for LLM communication. Ensure your .env file has the correct API token and endpoint, as detailed in Configure environment variables.

Run the following command to test your agent:

# Replace <agent> with the task command of your selected agent. Type `task` for help.
# You can run task <agent>:dev in a separate window or use `START_DEV=1` to run the local agent inline
task <agent>:cli START_DEV=1 -- execute --user_prompt 'Tell me about Generative AI'

Depending on the framework you selected, the test output will vary. An example of the output is shown below:

{
  "id": "5379a74f-045e-4720-9c1b-3feb560d77ee",
  "choices": "[Truncated for display]",
  "created": 1761327008,
  "model": "datarobot-deployed-llm",
  "object": "chat.completion",
  "service_tier": null,
  "system_fingerprint": null,
  "usage": {
    "completion_tokens": 0,
    "prompt_tokens": 0,
    "total_tokens": 0,
    "completion_tokens_details": null,
    "prompt_tokens_details": null
  },
  "pipeline_interactions": "[Truncated for display]",
  "datarobot_association_id": "3eb947b0-8a58-4088-a873-5a9f4aeeaeb4",
  "trace_id": "19e357620b00cee0130314cc58646ddf"
}

Continue to the next section to deploy and test in a production-like environment.

Deploy your agent

Next, deploy your agent to DataRobot, which requires a Pulumi login. If you do not have one, use pulumi login --local for local login or create a free account at the Pulumi website.

task deploy

During the deploy process, you will be asked to provide a Pulumi stack name (e.g., myagent, test, etc.) to identify your DataRobot resources. Once you have provided one, the deploy process provides a preview link. Review the Pulumi preview and approve changes by typing yes or pressing Enter.

[!NOTE] If prompted to perform an update, select yes and press Enter.

Deployment takes several minutes. When complete, a resource summary with important IDs/URLs is displayed:

Outputs:
    AGENT_CREWAI_DEPLOYMENT_ID                                    : "1234567890abcdef"
    Agent Custom Model Chat Endpoint [agentic-test] [agent_crewai]: "https://[YOUR_DATAROBOT_ENDPOINT]/api/v2/genai/agents/fromCustomModel/1234567890abcdef/chat/"
    Agent Deployment Chat Endpoint [agentic-test] [agent_crewai]  : "https://[YOUR_DATAROBOT_ENDPOINT]/api/v2/deployments/1234567890abcdef/chat/completions"
    Agent Execution Environment ID [agentic-test] [agent_crewai]  : "68fbc0eab1af04e6982ff7b1"
    Agent Playground URL [agentic-test] [agent_crewai]            : "https://[YOUR_DATAROBOT_ENDPOINT]/usecases/68fbc0eafb98d9d6d59c65db/agentic-playgrounds/1234567890abcdef/comparison/chats"
    LLM_DEFAULT_MODEL                                             : "datarobot/azure/gpt-4o-mini"
    USE_DATAROBOT_LLM_GATEWAY                                     : "1"

Resources:
    + 10 created

Duration: 2m12s

Find your deployment ID

The deployment ID is displayed in the terminal output after running task deploy. In the example output at the end of the previous section, the deployment ID is 1234567890abcdef.

For more details, see Model information in the DataRobot documentation.

Test your deployed agent

Use the CLI to test your deployed agent. In the following command, replace <YOUR_DEPLOYMENT_ID> with your actual deployment ID from the previous step:

# Replace <agent> with the task command of your selected agent. Type `task` for help.
task <agent>:cli -- execute-deployment --user_prompt 'Tell me about Generative AI' --deployment_id <YOUR_DEPLOYMENT_ID>

[!NOTE] The command may take a few minutes to complete.

Once the repsonse has been processed, the response displays. The output below is an example, but your actual response will vary.

Execution result preview:
{
  "id": "f47cb925-39e0-4507-a843-5aa8b9420b01",
  "choices": "[Truncated for display]",
  "created": 1762448266,
  "model": "datarobot-deployed-llm",
  "object": "chat.completion",
  "service_tier": null,
  "system_fingerprint": null,
  "usage": {
    "completion_tokens": 0,
    "prompt_tokens": 0,
    "total_tokens": 0,
    "completion_tokens_details": null,
    "prompt_tokens_details": null
  },
  "datarobot_association_id": "461e6489-505b-43f9-84c3-3832ef0e3a25",
  "pipeline_interactions": "[Truncated for display]"
}

Develop your agent

Once setup is complete, you are ready customize your agent, allowing you to add your own logic and functionality to the agent. See the following documentation for more details:

Get help

If you encounter issues or have questions, try the following:

Datarobot Agent Templates alternatives

View more →

Similar ai agents in Productivity & Workflow, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.

NameStarsLicenceLast updatedScan
Datarobot Agent Templates (this page)
datarobot-community
19Apache-2.0Jul 31, 2026Scanned, no flagged issues
Paperclip
paperclipai
110kMITNov 1, 2026Scanned, no flagged issues
Ppt Master
hugohe3
72kMITOct 30, 2026Scanned, no flagged issues
Llama Index
run-llama
53kMITOct 26, 2026Scanned, see report
Nanobot
HKUDS
50kMITOct 31, 2026Scanned, no flagged issues
Sim
simstudioai
30kApache-2.0Nov 1, 2026Scanned, see report