Skip to main content

Search the Dev Center

Search tutorials, templates, examples, and more.

Pulumi Agents: Your new agentic infra team

Product tour2:17

Pulumi Agents gives you a fleet of agent specialists for common tasks like drift, maintenance, security analysis, and more — all within guardrails.

In this video, Adam walks through an example of a failed deployment in Pulumi Delivery that an agent detects, debugs, and proposes a fix for automatically.

Transcript

0:00

Intro

Coding agents are great at writing code, but when that code breaks, somebody still has to work out why, to debug things, read the error, dig through the logs, trace it back to the line that caused it.

0:11

A failed update in staging

I was working with Claude Code to improve my app's performance, and it opened this pull request. I reviewed it. It looked good, and so I merged it. But it's an infrastructure change, and it's now failing in staging.

0:23

Why infrastructure is hard to debug

Using agents to make changes to cloud infrastructure isn't unusual anymore. More than 40% of operations on Pulumi Cloud now come from agents. But infrastructure has state, and making changes can be tricky. So normally I'd now have to go dig in and try to debug this. But if agents are proposing changes, why not have agents fix them as well? And you can see here a Pulumi agent is already working on a fix less than a second after it failed.

0:49

The deploy troubleshooter

This agent is a deploy troubleshooter. It has its own role and its own instructions defined in code in the same repo as my infrastructure, and its instructions are pretty simple. You know, read the failed update, open a pull request to fix. It can read the stacks and their history, but it can't deploy. I have it set up so that I review and approve its changes.

1:09

A fix, under three minutes later

So under 3 minutes after my failure, there's a pull request. Pulumi Agents already know my infrastructure and their update history and the code, so it can find the cause, and it proposes a fix. See, Claude Code turned on provisioned concurrency, but that only works on a published version of the Lambda function. It can't just point at latest. The fix publishes a version and points to that. Makes sense. So I review it and I merge it, and it goes down the same release path as every other change. But staging passes this time, and so I approve it and it rolls out.

1:41

Agents that start on their own

This agent watches for failed updates. Other agents start on an alert or on infrastructure drift or they run on schedules or they do a security check. They can post what they find, they can ask for approval, they can talk to you right in Slack. Pulumi provides agents for incident investigation, for drift response, for security remediation, or I can just define my own.

2:01

Investigate, report, ask, with guardrails

So this way agents can do the investigation and they can report their findings and they can ask for permissions and every change can go through whatever guardrails you set up. Check out Pulumi Agents today.

More videos

The infrastructure platform for humans and agents.