---
title: Inference PyDo SDK Reference
description: PyDo modules for managing serverless inference, dedicated inference endpoints, agents, and knowledge bases from Python.
product: Inference
url: https://docs.digitalocean.com/products/inference/reference/pydo/
last_updated: "2026-09-30"
---

> **For AI agents:** The documentation index is at [https://docs.digitalocean.com/llms.txt](https://docs.digitalocean.com/llms.txt). Markdown versions of pages use the same URL with `index.html.md` in place of the HTML page (for example, append `index.html.md` to the directory path instead of opening the HTML document).

# Inference PyDo SDK Reference

Inference provides a single control plane for managing inference workflows. It includes a Model Catalog where you can view available foundation models, including both DigitalOcean-hosted and third-party commercial models, compare model capabilities and pricing, use routing to match inference requests to the best-fit model, and run inference using serverless or dedicated deployments.

[PyDo](https://github.com/digitalocean/pydo) is the official DigitalOcean Python client library. Install it with `pip install pydo`.

The Inference modules are:

- [Dedicated Inference](https://docs.digitalocean.com/reference/pydo/reference/dedicated_inferences/index.html.md): Manage dedicated inference endpoints, including their accelerators, CA certificate, sizes, GPU model configuration, and access tokens. Dedicated Inference is available in [public preview](https://docs.digitalocean.com/platform/product-lifecycle/index.html.md#public-preview). You can opt in from the [**Feature Preview** page](https://cloud.digitalocean.com/account/feature-preview).
- [Serverless Inference](https://docs.digitalocean.com/reference/pydo/reference/inference/index.html.md): Access and use serverless inference models.
- [Agent Platform](https://docs.digitalocean.com/reference/pydo/reference/genai/index.html.md): Build agents with pre-built or custom foundation models, add function and agent routes, and create retrieval pipelines backed by knowledge bases.
- [Agent Inference](https://docs.digitalocean.com/reference/pydo/reference/agent_inference/index.html.md): Integrate agents into your applications using an agent-specific endpoint.

For install instructions, quickstart examples, and the SDKs available for other languages, see [SDK and Client Libraries](https://docs.digitalocean.com/reference/libraries/index.html.md).