Skip to main content
Version: 1.45

Agentic Workflows

AI agents are most effective when they can deploy code, run tests, and get feedback from real environments, not just read and write files locally. Okteto gives agents isolated, live environments driven by the same Okteto CLI and okteto.yaml that human developers use. The Okteto plugin for Claude Code packages that knowledge as agent skills: install it once, and in any project your agent knows which commands to run, which to never run, and how to discover your services.

note

Agentic Workflows are about bringing your own agent tooling to Okteto environments. To launch and manage agents from the Okteto Dashboard instead, see Okteto AI.

Installing the plugin

Run these commands in Claude Code:

/plugin marketplace add okteto/okteto-claude-plugins
/plugin install okteto

The plugin needs the Okteto CLI installed and configured with your Okteto instance. Your project doesn't need an okteto.yaml yet. If it's missing, the onboarding skill creates one.

Updating the plugin

Claude Code doesn't update third-party plugins automatically by default. To get the latest version of the plugin, run:

/plugin marketplace update okteto-plugins

To apply updates automatically at startup instead, run /plugin, go to the Marketplaces tab, select okteto-plugins, and choose Enable auto-update.

Platform teams can enable updates for an entire organization by adding the marketplace to Claude Code's managed settings with auto-update turned on:

{
"extraKnownMarketplaces": {
"okteto-plugins": {
"source": {
"source": "github",
"repo": "okteto/okteto-claude-plugins"
},
"autoUpdate": true
}
},
"enabledPlugins": {
"okteto@okteto-plugins": true
}
}

This pre-installs the marketplace and the plugin for every developer and keeps both current without anyone running update commands.

Skills and commands

The plugin installs two skills and one slash command:

What it doesWhen it activates
okteto skillTeaches the agent the Okteto CLI: deploying with okteto deploy, building with okteto build, running tests with okteto test, reading services from okteto.yaml, and the commands it must never run (like okteto up).The project has an okteto.yaml, or you mention Okteto.
okteto-onboarding skillDiscovers your services from Docker Compose files, Helm charts, Kubernetes manifests, or Dockerfiles; drafts an okteto.yaml; and validates it with okteto validate, okteto build, and okteto deploy.The project has no okteto.yaml and you ask to set it up for Okteto.
/dev-setup commandValidates the manifest, runs okteto deploy --wait, prints the environment URLs, and guides you into a dev session on the service you pick.You run it.

Example prompts

What you say to the agent determines what happens:

PromptWhat the agent does
"Set this repo up for Okteto."Creates and validates an okteto.yaml (onboarding skill)
"I have okteto up running for the api service. Check the logs for errors and run the test suite."Works inside your dev session with okteto exec (collaborative)
"The /api/orders endpoint returns a 500 on an empty cart. Investigate and fix it."Debugs against your live environment (collaborative)
"Deploy the environment, add a /health endpoint to the api service, run the tests, and open a PR."Handles deploy, code, test, and PR end to end (autonomous)
"Pick up PROJ-123, implement it against a live environment, and open a PR when the tests pass."Handles the full ticket lifecycle (autonomous)

Collaborative and autonomous modes

Agents work in one of two modes. Pick based on whether you want to stay in the loop.

CollaborativeAutonomous
Who drivesYou and the agent, togetherThe agent, end to end
Triggered byYou, in your IDE or terminalA ticket, webhook, or CI pipeline
EnvironmentYou run okteto up; the agent runs okteto exec inside itThe agent runs okteto deploy + okteto build directly
Feedback loopFile sync and hot-reload, instantDeploy, test, and fix until tests pass
Best forPair-programming, interactive debuggingTicket-to-PR automation, batch tasks

In both modes the agent follows the same command rules. The one to know up front: okteto up is interactive and hangs if an agent runs it, so agents never run it. In collaborative mode you start it yourself, and in autonomous mode it isn't part of the workflow.

Next steps