Skip to content
  • Auto
  • Light
  • Dark

Agentic Cloud API

DigitalOcean Gradient™ AI Agentic Cloud API allows access to AI resources such as GPU Droplets, Knowledge Bases, Serverless Inference, and Agents. Developers can programatically create, update, and delete AI resources.

You can generate a new API key in the console

For example, you can list your available Agents, by using the SDK.

Python
import os
from gradient import Gradient
api_client = Gradient(
access_token=os.environ.get("DIGITALOCEAN_ACCESS_TOKEN_KEY") # default
)
api_response = api_client.agents.list()
if api_response.agents:
print(api_response.agents[0].name)