Skip to main content

Python SDK

The official Python SDK for Danube AI provides a clean, Pythonic interface for accessing services, tools, skills, and user identity through the Danube platform.

Installation

Quick Start

Authentication

The SDK uses your Danube API key for authentication. You can provide it in two ways:
Get your API key from the Danube Dashboard.

Async Support

For better performance in async applications, use AsyncDanubeClient:

API Reference

Services

Tools

Skills

Identity

Workflows

Sites

Error Handling

The SDK provides specific exception types for different error conditions:

Configuration Options

Models

Service

Tool

ToolResult

Workflow

WorkflowExecution

AgentSite

Source Code

The SDK is open source and available on GitHub: