pleach
Integrate

@pleach/transport-azure-openai

First-party Azure OpenAI Service transport for cloud-routed Pleach runtimes — managed-identity credentials, deployment-name routing, and Azure-specific cost-event emission.

Not yet published. @pleach/transport-azure-openai is marked private in this monorepo and is not on npm — npm install @pleach/transport-azure-openai will not resolve today. This page documents the planned surface; the package publishes in a later cut.

@pleach/transport-azure-openai is the Azure OpenAI Service route for a Pleach session whose buyer reaches OpenAI models through their Azure tenancy rather than the direct OpenAI API. It implements the AgentProvider interface from @pleach/core against Azure OpenAI's REST surface, so the cascade decisions and audit shape are the same as any other provider — only the transport and the credential source change.

What it provides

  • An AgentProvider implementation against the Azure OpenAI Service per the cloud-routed-agent.mdx transport-vs-family split.
  • Managed-identity credential resolution — workload-bound, short-lived tokens from the Azure identity layer, per the IAM-federated credentials section of cloud-routed-agent.mdx.
  • Deployment-name routing, since Azure OpenAI's resource model addresses models by deployment name rather than vendor model id (cloud-routed-agent.mdx roadmap entry for this SKU).
  • Azure-specific cost-event emission so the audit row carries the cloud, region, and deployment dimensions Azure Cost Management rolls up by.

Where it fits

@pleach/transport-azure-openai plugs into the same provider slot on SessionRuntime that the direct-API providers fill — it satisfies the AgentProvider contract documented in Providers. For the architectural shape of a cloud-routed deployment — transport vs family, IAM federation, region as a hard constraint, cost reconciliation — see Cloud-routed agent.

Install

npm install @pleach/transport-azure-openai

API surface

The provider factory signature, the managed-identity credential option shape, the deployment-name routing fields, and the emitted cost-event payload all live on the package's npm page: @pleach/transport-azure-openai. This page is placement orientation — what the SKU is for and where it slots into the substrate. The npm README is the source of truth for the constructor and option shapes; if a claim here disagrees with the published README, the README wins.

Where to go next

On this page