Skip to main content

Generic helpers for GenAI

Project description

DataRobot Logo

DataRobot GenAI Library

Homepage · PyPI · Support

License PyPI version

Features

  • AG-UI integration — Agents expose a standard AG-UI event stream (RunAgentInput in, lifecycle + text + tool-call events out), so UIs and the DataRobot platform can render runs consistently without bespoke adapters per framework.
  • Multi-agent systems out of the box — First-class patterns for planner/writer crews, LangGraph multi-node graphs, and LlamaIndex AgentWorkflow handoffs; wrap them with one helper and keep the same streaming contract.
  • Unified LLM layer (DataRobot-compatible) — One get_llm() entry point per integration (LangGraph, LlamaIndex, CrewAI), all backed by the same LiteLLM-based routing to the DataRobot LLM Gateway, LLM deployments, NIM, or external providers—driven by the same environment and Config, so every component speaks to DataRobot consistently.
  • Utilities for common GenAI workflows.
  • Integrations: CrewAI, LangGraph, LlamaIndex, NAT, MCP.

User-facing walkthrough: docs/README.md.

Installation

  • Requires Python 3.11–3.13.
  • Install:
pip install --upgrade pip
pip install "datarobot-genai"
  • Optional extras:
pip install "datarobot-genai[crewai]"
pip install "datarobot-genai[langgraph]"
pip install "datarobot-genai[llamaindex]"
# Multiple extras
pip install "datarobot-genai[crewai,langgraph,llamaindex]"

Available extras include: crewai, langgraph, llamaindex, nat, drmcp, pydanticai.

Excluded Dependencies

Some transitive dependencies are excluded via exclude-dependencies in pyproject.toml because they are unused by this project. Do not re-add them.

Package Pulled in by Reason for exclusion
uv build tooling Not a runtime dependency
langchain-milvus langchain ecosystem Unused vector store integration
pymilvus langchain-milvus Transitive dep of langchain-milvus
flask nvidia-nat-core 1.6.0 Only used in NAT examples, not core library code (ref)

Development

Prerequisites: Python 3.11–3.14, uv, Task CLI, pre-commit.

uv sync --all-extras --dev
pre-commit install
task test

Semantic versioning

Every change requires a patch version change. It also requires an entry to CHANGELOG.md. Changes breaking backward compatibility requires a minor version change.

Test pypi

To build and publish a dev version of a package, comment /build on a PR.

Publishing

  • PRs (same-repo): comment /build to publish dev builds to TestPyPI (.devN).
  • Merge to main: tags v{version} and publishes to PyPI automatically.
  • Pushing a v* tag also triggers PyPI publish.
  • Optional: task release:tag-and-push creates and pushes v{version} locally.

Links

License

Apache-2.0

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datarobot_genai-0.15.8.tar.gz (242.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datarobot_genai-0.15.8-py3-none-any.whl (357.0 kB view details)

Uploaded Python 3

File details

Details for the file datarobot_genai-0.15.8.tar.gz.

File metadata

  • Download URL: datarobot_genai-0.15.8.tar.gz
  • Upload date:
  • Size: 242.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for datarobot_genai-0.15.8.tar.gz
Algorithm Hash digest
SHA256 e83f63fdd83c581e733c0d3c18310475f17fb4ff3c60fcfa3e0d06733d3b9bb8
MD5 5d7ee82fc962a4f2636ade3ee1bebd46
BLAKE2b-256 6c5e158b7156e4a34b87df14d426792b578f4d8138f999dbbd953328a430792c

See more details on using hashes here.

File details

Details for the file datarobot_genai-0.15.8-py3-none-any.whl.

File metadata

File hashes

Hashes for datarobot_genai-0.15.8-py3-none-any.whl
Algorithm Hash digest
SHA256 867b4dcfbdbfab7f2fecc6e26e6f055f99056551a92399654fe5733b052d0539
MD5 7538440651e40f61c6a608074e88d36a
BLAKE2b-256 4c67af32132135675cb8b7ea5c30a2535d8bfcb105fb6487112197820e2adebd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page