# DigitalOcean Gradient™ AI Platform Reference 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](https://docs.digitalocean.com/reference/index.html.md) lets you manage resources programmatically with standard HTTP requests. All actions available in the control panel are also available through the API. You can use the API to [create, delete, and manage knowledge bases and generative AI agents](https://docs.digitalocean.com/reference/api/reference/gradientai-platform/index.html.md) . You can also use the API to add agent and function routes to agents, add data sources to knowledge bases, and start indexing jobs. You can use the Dedicated Inference API to manage your dedicated inference deployments. 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). For more information, see [Dedicated Inference API](https://docs.digitalocean.com/reference/api/digitalocean/index.html.md#tag/Dedicated%20Inference). ## The DigitalOcean Command Line Client, doctl [`doctl`](https://github.com/digitalocean/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`](https://github.com/digitalocean/doctl) supports managing Gradient AI Platform resources from the command line. See the [`doctl` documentation](https://docs.digitalocean.com/reference/doctl/reference/gradient/index.html.md) or use `doctl gradient --help` for more information. ## The Gradient Command Line Interface, gradient (public) Use [`gradient`](https://github.com/digitalocean/gradient-adk), 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 Gradient™ AI Platform SDK](https://gradientai-sdk.digitalocean.com/api/python) to manage Gradient AI Platform resources, including knowledge bases and generative AI agents, from Python applications. ## More Resources [Agent Evaluation Metrics](https://docs.digitalocean.com/products/gradient-ai-platform/reference/agent-evaluation-metrics/index.html.md): A list of available agent evaluation metrics and their definitions. [Chunking Parameters](https://docs.digitalocean.com/products/gradient-ai-platform/reference/chunking-strategies/index.html.md): Reference for chunking parameters, their recommendations, and their constraints across supported embedding models. [Agent Tracing Data](https://docs.digitalocean.com/products/gradient-ai-platform/reference/agent-tracing-metrics/index.html.md): Understand the information agent tracing captures and how it helps you debug and optimize your agents. [DigitalOcean Gradient™ AI Platform API Reference](https://docs.digitalocean.com/products/gradient-ai-platform/reference/api/index.html.md): The DigitalOcean Gradient™ AI Platform API endpoints are organized into the following groups: