---
search:
  tags:
    - agents
    - PATCH
seo:
  description: >-
    Updates an agent. For normal custom agents, keep or set connectionProvider
    to… Reference for the PATCH /agents/{id} endpoint in the Leadtime Public API
    API.
sidebar:
  badge: PATCH
  label: Update an agent
title: Update an agent
type: openapi-operation
---
Updates an agent. For normal custom agents, keep or set connectionProvider to native. Do not switch a native custom agent to claudeManaged unless the user explicitly asks for Anthropic/Claude Managed.

<Operation source="api-reference" id="agentscontroller-update" />
