Skip to main content

Python SDK

The official Python SDK for Danube AI provides a clean, Pythonic interface for accessing services, tools, skills, and the context your agents read 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

Context

Context is what an agent should know before it works for you: your organization’s documents and your personal ones, merged into one markdown text.

Workflows

Wallet

API keys

Webhooks

Agents

Device authorization

Error Handling

The SDK provides specific exception types for different error conditions:

Configuration Options

Models

Service

Tool

ToolResult

Workflow

WorkflowExecution

Source Code

The SDK is open source and available on GitHub: