DigitalOcean Gradient™ AI Platform Reference

Validated on 2 Apr 2026 • Last edited on 9 Apr 2026

DigitalOcean Gradient™ AI Platform lets you build fully-managed AI agents with knowledge bases for retrieval-augmented generation, multi-agent routing, guardrails, and more, or use serverless inference to make direct requests to popular foundation models.

The DigitalOcean API

The DigitalOcean API lets you manage resources programmatically with standard HTTP requests. All actions available in the control panel are also available through the API.

  • GradientAI Platform API: Create, delete, and manage knowledge bases and generative AI agents. You can also use the API to add agent and function routes to agents, add data sources to knowledge bases, and start indexing jobs.

  • Agent Inference: Interact with agents using an agent-specific endpoint.

  • Serverless Inference API: Interact directly with foundation models for chat completions, or generating image, audio and text-to-speech.

  • Dedicated Inference API: Manage your dedicated inference deployments. Dedicated Inference is available in public preview. You can opt in from the Feature Preview page.

The DigitalOcean Command Line Client, doctl

doctl is the command-line interface for the DigitalOcean API. It supports most of the same actions available in the API and DigitalOcean Control Panel.

doctl gradient supports managing Gradient AI Platform resources from the command line. See the doctl documentation or use doctl gradient --help for more information.

The Gradient Command Line Interface, gradient public

Use gradient, the CLI which comes with the Agent Development Kit, to build, test, and deploy agent workflows from within your development environments.

The DigitalOcean Gradient AI Platform SDK

Use the official DigitalOcean Python client library for:

You can also use the official DigitalOcean TypeScript library or Go library.

The Gradient™ SDK will be deprecated in a future release.

More Resources

Agent Evaluation Metrics

A list of available agent evaluation metrics and their definitions.

Agent Tracing Data

Understand the information agent tracing captures and how it helps you debug and optimize your agents.

Chunking Parameters

Reference for chunking parameters, their recommendations, and their constraints across supported embedding models.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.