# The DevOps Agent

> What the DevOps Agent is and what it can do: a chat in the control plane that checks, investigates and operates the platform with your permissions, which model it runs on, how it asks before a change, and where its conversations are kept.

The DevOps Agent is a chat in the control plane. You ask in your own words, for example "why is this model slow?", and it reads the platform's state, finds the cause and proposes the next step. It works with the same commands as the pages of the control plane, so what it reports is what the pages show.

The DevOps Agent is a beta feature. An administrator switches it on under **Configuration → Beta features**. The **DevOps Agent** page is then in the menu.

## What you need

One deployed model. The DevOps Agent runs on a model that you deployed on this platform, and you choose it at the top of the page. Nothing leaves your platform: the conversation goes to your own model, not to a service on the internet.

A larger model with a long context gives better answers. The agent keeps at least one replica of its own model running: without it, the agent stops in the middle of its task.

## What it can do

The agent has a skill for each kind of task: short steps that it follows. Examples:

- **Check the state** of the platform or one part of it: inference nodes, GPUs, models, downloads, alerts, certificates, versions.
- **Find out why a model fails or is slow**, from its replicas, error reports, logs and metrics.
- **Find out why an alert fires** and what to do about it.
- **Deploy a model**, add or remove replicas, or redeploy it on a newer version of its profile.
- **Measure the GPU memory** a model really uses, and **tune a model's performance**.

Ask the agent "what can you do?" for the skills of your version. It also reads this documentation, reads the metrics, and draws charts in the conversation.

You can start a conversation from the place of a problem: **Investigate with Agent** in a model's menu, and the same action on an alert on the **Alerts** page. The agent then knows which model or alert you mean.

## What it may do

The agent can do nothing that you cannot do.

- **Acts with** at the top of the page says whose permissions it uses: your own sign-in, or one of your control plane API keys. With a key, the agent may do only what that key's scopes allow. Only a key that you created with **Store API key value** can be chosen.
- **It asks before it changes something.** It says what it is about to do and waits for your answer. For a long task, such as tuning a model, it asks one time for the whole plan.
- **Every action is in the audit log**, as when you do it yourself on a page. With a key, the audit log names the key.
- **It runs nothing on your machines directly.** It has no shell. It acts only through the control plane.

To let the agent look but not change, give it a key whose scopes hold only read permissions.

## Conversations

- The control plane keeps your conversations. You open an earlier one from the list on the page and continue it.
- **Export conversation** saves a conversation as Markdown or JSON, for example to send it to support.
- A long conversation is made shorter for the model automatically: the model reads a summary of the older part. Nothing is deleted, and you still see every message. The message `/compact` does this at once; `/compact keep the replica ids` says what the summary must keep.

## When the agent stops with an error

| What you see | Cause | Next step |
|---|---|---|
| The model selector says **No model deployed** | The agent has no model to run on. | Deploy a model on the **Deploy** page. |
| The run ends and says that the model is not available | The agent's model did not answer, also after two more tries. | Open the **Status** page for the model's state. Choose another model, or send the message again when the model answers. |
| The run ends and says that the conversation is too long for the model | The conversation does not fit the model's context, also after a summary. | Start a new conversation, or choose a model with a longer context. |
| The agent says that it may not do something | Your role, or the key under **Acts with**, does not allow the action. | Choose another key, or ask an administrator. |

A failed run shows the id of its error report. Send that report to support when you need help.

## Your own agent

An agent of your own, for example a coding agent on your laptop, gets the same skills, the same documentation and the same commands through the control plane's MCP endpoint, with a control plane API key. See [Automation via APIs and CLI](/en/platform/docs/v5.10/guides/automation/apis-and-cli/index.md).
