How to Destroy Agents Using the Control Panelpublic
Validated on 9 Oct 2024 • Last edited on 5 Feb 2025
The DigitalOcean GenAI Platform lets you work with popular foundation models and build GPU-powered AI agents with fully-managed deployment, or send direct requests using serverless inference. Create agents that incorporate guardrails, functions, agent routing, and retrieval-augmented generation (RAG) pipelines with knowledge bases.
Destroy an Agent Route Using Automation
Destroying an agent using the DigitalOcean API requires the unique identifier of the agent you want to destroy. To obtain a list of agents with their unique identifiers, use the /v2/gen-ai/agents
endpoint.
Destroy an Agent Using the Control Panel
To destroy an agent from the control panel, click GenAI Platform from the left menu. From the agent’s More menu, select Destroy. In the Destroy Agent window, enter the agent’s name to confirm that you want to destroy the agent and then click Destroy.
Destroying an agent removes all endpoints for the agent. If you are routing to the agent from other agents, you need to update the primary agent’s routing instructions. However, other agents that the agent routes to, attached knowledge bases or custom models used by the agent are preserved.