---
search:
  tags:
    - agents
    - POST
seo:
  description: >-
    Sets the agent provider. Use native for normal Leadtime… Reference for the
    POST /agents/{id}/connection-provider endpoint in the Leadtime Public API
    API.
sidebar:
  badge: POST
  label: Set agent connection provider
title: Set agent connection provider
type: openapi-operation
---
Sets the agent provider. Use native for normal Leadtime custom agents running on the internal native agent engine. Use cursorCloud for Cursor Cloud, devin for Devin, or selfHosted for external/provider mode.

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