truefoundry 0.172.50 · tfy-llm-gateway 0.172.14
LLM Gateway
Applies only if you use Enkrypt AI guardrails: the integration now uses Enkrypt's latest endpoint. Before upgrading, append
_v2to the Guardrail Name on existing Enkrypt policies so they keep working; new policies are unaffected.
Action Required
If you use Enkrypt AI guardrails, append _v2 to the Guardrail Name of each existing Enkrypt policy before upgrading, or those guardrails stop enforcing.
The
ai_gateway_agent_*Prometheus metrics, including the request, tool-call and MCP connect series, are no longer emitted now that TrueFoundry-managed agents are removed. Update any dashboards or alerts that use them. Read moreAction Required
Update any dashboards or alerts that scrape the ai_gateway_agent_* metrics.
OpenAI models on classic AWS Bedrock can now use the Responses API directly.
OpenAI deployments on Microsoft Foundry now support Responses API passthrough.
Databricks models served through Unity AI Gateway, named as
catalog.schema.model, now work through the gateway alongside Model Serving endpoints.The
/v1/messages/count_tokensendpoint now works with virtual models.Self-hosted models can now forward the caller's authorization token to the upstream provider.
Claude Max and Claude Team subscriptions can now be used with credential passthrough without expected
401,403,429or529responses putting virtual model targets into cooldown.Complexity-based routing now accepts a custom classifier prompt for each virtual model.
Enkrypt AI guardrails can now point at a regional Enkrypt API host with
base_urland send staticuser_metadatawith each check, along with the signed-in TrueFoundry user.The gateway's Prometheus
/metricsendpoint can now be turned off withDISABLE_PROMETHEUS_METRICS; OTLP metrics export keeps working.Perplexity models now support the Responses API (
/v1/responses); pick the Responses model type on the Perplexity provider account.Fiddler guardrails now accept a custom
base_url, so you can connect to private or POV Fiddler deployments.Codex sub-agent requests and collaboration tools now work correctly on AWS Bedrock Mantle.
Gateway metrics now tell apart models that don't exist from models blocked by access controls.
The
ai_gateway_gateway_http_statusPrometheus metric now counts successful requests too, including streams where the client disconnects.Perplexity models now run on Perplexity's Agent API, ahead of the Sonar API's retirement. Existing Sonar model names keep working on
/v1/chat/completions, still return citations and search results, and are billed at the cost Perplexity reports.The gateway now accepts browser (CORS) requests only from your control plane URL by default. Add other origins with
CORS_ALLOWED_ORIGINS, or set it to*to allow all origins.Complexity-based routing now turns on sticky routing by default, recognizing a conversation from the end-user ID and user messages without needing session identifiers.
Anthropic requests rejected by Anthropic's classifier without generating output are no longer billed, and Anthropic server-side retries and compaction attempts are priced with the model and cache rates of each attempt.
Anthropic server-tool mappings are now read from the provider configuration, so catalog changes take effect without restarting the gateway.
Provider credentials that use identity-based authentication, such as AWS Bedrock roles and Google Workload Identity Federation, now expire when the provider's token actually expires.
Request traces now record load balancer cooldown events when a target is skipped because it is unhealthy or has breached its SLA.
- Fix
Azure PII guardrails now handle requests with empty or whitespace-only messages correctly while still scanning the rest of the content for PII.
- Fix
Responses API errors such as
invalid_promptandcontext_length_exceedednow return400instead of502, so the load balancer no longer retries them on another target. - Fix
Chat Completions requests with structured output or function tools that leave out
strictno longer fail with400when the gateway sends them through the Responses API, so saved prompts work again. - Fix
Rate limits, load balancing rules, guardrails and budgets that target the
everyoneteam now apply to every user again, even when the team's member list is empty. - Fix
Cursor tool calling now handles ApplyPatch and provider-specific tool formats, including tool calls and results sent in follow-up requests.
- Fix
Claude models on AWS Bedrock Mantle no longer fail with
400errors when using structured output or a configured project.
MCP
MCP Gateway now emits the Prometheus and OTLP metrics
ai_gateway_mcp_requestsandai_gateway_mcp_request_latency_ms, labelled by server, method, outcome and virtual server, so you can build dashboards and alerts for MCP usage and failures.MCP OAuth 2.0 client-credentials and JWT bearer authentication now support Microsoft Entra certificates. Read more
MCP tool approval policies now always apply to matching tool calls; the
MCP_TOOL_APPROVAL_ENABLEDsetting that turned them off has been removed.MCP Gateway now uses MCP protocol version 2026-07-28 with upstream servers and falls back automatically to earlier versions for servers that don't support it yet. Read more
Notification streams over HTTP GET no longer close right away for virtual, OpenAPI and stdio MCP servers, so clients stop reconnecting over and over.
MCP Gateway now remembers the protocol version and transport it agreed with each upstream MCP server, so tool calls connect more reliably and recover from expired sessions.
Agent Gateway
Remote agents can now authenticate outbound requests with Okta's OAuth 2.0 token exchange. Read more
The gateway and control plane now accept an actor token next to the access token, so on-behalf-of calls carry both the caller and the agent acting for them.
Agents and remote agents can now sign outbound proxy requests with AWS Signature Version 4, using credentials set in the agent manifest. Read more
Managed agents on a self-hosted gateway are now turned on with
tags.managedAgentsin thetfy-llm-gatewaychart, which needsgatewayIdand a Redis. The agents LTS write job now follows this setting instead of always being on.- Fix
Agent-to-agent calls through the gateway that use per-user outbound auth, such as Okta on-behalf-of, JWT bearer or token exchange, no longer fail with a
422error.
Metrics & Traces
Request traces now show gateway spans that belong to a distributed trace started by an external service.
Self-hosted operators can now run extra trace storage compaction jobs, for example one per tenant, with
deltaFusionCompaction.additionalJobsin the Helm values.The Request Traces page loads faster, because traces and filters are now fetched at the same time.
- Fix
Minor security fixes. Upgrade to
0.172.50. - Fix
Virtual MCP server traces no longer show the Best Effort icon when Best Effort Mode is off.
- Fix
Exporting model metrics to CSV, and the API code snippets for them, work again for tenants that don't have flexible metrics turned on.
- Fix
Gateway metrics charts for cache hit rate, cache cost savings, error rate and provider cache usage now load correctly.
AI Deploy
Spark jobs now support the same start, failure and completion notifications as regular jobs, through email, Slack, PagerDuty and Microsoft Teams.
Self-hosted operators can now configure how image builds are retried using the
tfyBuild.truefoundryWorkflows.buildRetryStrategyHelm value. It sets the retry limit, retry policy, an optional retry expression and an optional backoff, so a build can skip retries when it fails a security or policy gate (for example, a Checkmarx policy failure). Defaults are unchanged: up to 2 retries, always.- Fix
Fixed the image build service failing to install when
global.resourceTieris set tosmall. - Fix
Services protected with JWT authentication now allow browser CORS preflight (
OPTIONS) requests instead of rejecting them withRBAC: access denied. - Fix
The workflow executions page no longer breaks when a run has a date that can't be read.
- Fix
Logs for Spark job executors show up in the console again.
- Fix
The volume browser no longer fails to read its password when External Secrets Operator is turned on.
TrueForge
Note
TrueForge is GA only on TrueFoundry SaaS.
TrueForge is in Beta for customers with a Self-Hosted Control Plane with limited support. See details.
TrueForge introduces a new way to build, run and manage agents. Full Announcement
- Build and chat with agents on TrueForge, and create schedules that run agents automatically at the times you choose.

- Track and manage agent sessions to understand agent activity and interactions.

- Agents are now created in TrueForge, so TrueFoundry-managed agents are no longer used. The agent registry brings together agents created in TrueForge and agents from external identity providers in one place.
Action Required
If you use TrueFoundry-managed agents, set trueforge.enabled, trueforge.truefoundry.devSandboxServerEnabled and redis.enabled to true in the Helm values. This adds TrueForge server, controller, sandbox and Redis pods, so make sure the cluster has enough compute. Existing agents migrate within 30 minutes; during that time they don't show in the UI but keep working through the API. The TrueForge integration is in Beta: send feedback to [email protected].
- Build and chat with agents on TrueForge, and create schedules that run agents automatically at the times you choose.
Names of TrueForge agents, skills, MCP servers, models and schedules may now use only lowercase letters, numbers and hyphens (2–64 characters). Existing names containing
.or_are renamed automatically on upgrade, so update any scripts or API calls that use the old names.Action Required
Update scripts and API calls that use TrueForge names containing
.or_.TrueForge and the bundled control-plane Redis are now off by default in the
truefoundrychart. To keep running TrueForge, settrueforge.enabled: trueand either setredis.enabled: trueor configureexternalRedis.Action Required
To keep TrueForge, set
trueforge.enabled: trueand eitherredis.enabled: trueorexternalRedisbefore upgrading.The older agents feature is now off by default: the gateway chart no longer deploys the sandbox server or the agents LTS write job, and the
tags.managedAgentsHelm value has been removed. To keep using it, setagentsLtsWriteJob.enabledandsandbox.devMode.enabledtotrueundertfy-llm-gateway, with Redis and agatewayIdconfigured.Action Required
To keep the older agents feature, set
agentsLtsWriteJob.enabledandsandbox.devMode.enabledtotrueundertfy-llm-gateway.TrueFoundry-managed agents and their session history can now be migrated to TrueForge, and the gateway can pass agent session API calls to TrueForge so existing SDK clients keep working.
Self-hosted control planes now install TrueForge by default through the
truefoundryHelm chart, together with a bundled Redis or your own Redis set throughexternalRedis. Settrueforge.enabled: falseto turn it off. Read moreTrueForge now has a Python SDK (
trueforge-sdkon PyPI) alongside the TypeScript SDK, and an agent's Use in Code panel shows Python samples.TrueForge can now connect to Postgres using a client certificate and a custom CA, set with
sslCertPath,sslKeyPathandsslCaPathundertrueforge.externalPostgres.Self-hosted control planes can now keep the TrueForge Redis password out of Helm values: set
externalRedis.existingSecret: trueand create thetrueforge-credsSecret yourself with aREDIS_URLkey.TrueForge can now run its own sandbox server instead of sharing the gateway's. Turn it on with
trueforge.truefoundry.devSandboxServerEnabledin the Helm chart.The TrueForge agent library now loads agents a page at a time and searches them by name, and schedules use a searchable agent picker.
TrueForge agents now have a description, and agents migrated from TrueFoundry keep the description they had.
TrueForge in the
truefoundrychart now uses the control plane's Postgres database and shared Redis by default, instead of its own bundled databases.Model and MCP calls made by TrueForge agents now include the session and agent details as metadata in the gateway's request logs.
TrueForge agents now get a TrueFoundry token as soon as their identity is set up, so they can authenticate without a separate step to create one.
TrueForge server and controller pods no longer mount the Kubernetes service account token by default. Set
automountServiceAccountToken: truein the TrueForge chart values if you need it.Setting
trueforge.enabledin the Helm values now also turns on TrueForge in the console, stops writes to TrueFoundry-managed agents, and runs TrueForge database migrations only when TrueForge is enabled.The gateway now sends agent session calls to TrueForge automatically when TrueForge is turned on in the control plane, so there is no separate gateway setting to keep in sync;
PROXY_AGENT_SESSIONS_TO_TRUEFORGEhas been removed.This release includes TrueForge
0.2.2. Read the TrueForge changelog- Fix
On self-hosted control planes, TrueForge now reliably connects to the control-plane PostgreSQL database configured in
truefoundry-creds, instead of sometimes falling back to the default bundled database settings. - Fix
Saved TrueForge agents now sign in to MCP servers with the user's identity, so per-user OAuth for MCP servers works correctly.
- Fix
TrueForge's bundled Redis no longer clashes with the gateway's Redis when both are turned on in the
truefoundrychart. - Fix
Agents migrated to TrueForge now keep the users, teams and other subjects that had access to them.
- Fix
Switching to another session in TrueForge no longer cancels an agent run that is still in progress, and assistant messages now show the time the turn finished.
- Fix
Long skill version menus in TrueForge now scroll, and clicking a menu's scrollbar no longer closes it before you pick an option.
- Fix
The
truefoundryHelm chart no longer fails to render when TrueForge is enabled andglobal.controlPlaneURLis not set. - Fix
Creating an agent from TrueForge now requires permission to create agents; updating an existing one still requires manage access to it.
- Fix
Fixed requests from the control plane to TrueForge, which failed on self-hosted installs with TrueForge enabled because they used the wrong service address.
- Fix
Scheduled TrueForge agents that sign in with a TrueForge API key no longer fail because the control plane URL is missing.
Platform
This version has major changes and needs a careful upgrade.
Action Required
Upgrade to 0.166.17 (tfy-llm-gateway 0.166.5) first, never directly to 0.172.x. Control plane only: follow the steps. Control plane with additional gateway planes: contact TrueFoundry support before upgrading. After upgrading, check that the Tenant Errors page stays at zero for 15 minutes.
- Fix
External OAuth token validation now also checks the token audience. Upgrade to
0.172.50.Action Required
If you use External OAuth, set servicefoundryServer.env.EXTERNAL_OAUTH_AUDIENCES to your client ID in the Helm values before upgrading.
If any MCP server or model fails to resolve a secret referenced in its auth, no MCP server or model updates are sent to the gateways until it is fixed.

Action Required
Check the Tenant Errors page for secret resolution errors.
Personal access tokens (PATs) have safer defaults, and security settings are enabled by default for new tenants. New PATs must have an expiry, default to 30 days and can last at most 365 days; users can hold 3 PATs by default. Existing PATs keep working, but creating or renewing one beyond the tenant or platform limit is rejected.
Action Required
Review tenant security settings and existing personal access tokens before upgrading. New or renewed tokens above the lifetime limit are rejected.
A new Identity and Access Management (IAM) experience gives you more control over who can access your agents and resources. Full Announcement
- Grant users and teams access to agents and other resources.

- Define who can access an agent and which resources the agent can access.

- Configure and manage permissions for different resources and access patterns.

- Grant users and teams access to agents and other resources.
Microsoft Foundry provider accounts now discover the available model deployments from the project endpoint.
Provider integrations now support video models, with per-second pricing that can vary by resolution, and ComfyUI is available as a self-hosted model server type.
A new permission lets subjects read audit logs, so you can create custom roles that grant audit log access to specific users or teams.
Audit entries can now include the client's IP address and event source, visible to users with audit log access.
Traces and gateway metrics can now be filtered by Agent Identity, making it easier to monitor and troubleshoot specific agents.
Tenants can now set an optional security contact email in Security Settings.
Control plane services and the gateway can now talk to each other over mutual TLS, turned on with
global.mTLSin the Helm values.Self-hosted control planes can now set
global.proxy.rewriteUpstreamHostin the Helm values so the proxy sends the in-cluster service address as theHostheader, with the browser host inX-Forwarded-Host. Use it with Istio authorization policies that match on the destination host. It is off by default.The
tfy-llm-gatewaychart can now use a Redis you already run through the newexternalRedisvalues, including username and password auth, TLS and Redis Sentinel.Users who create a workspace, agent, MCP server or other resource are now given manager access to it, so it no longer takes a tenant admin to reach it.
Users with only read access to agents and provider accounts no longer see stored credentials; admins and managers see masked previews.
Outbound URL protection (SSRF guard) now has separate monitor and enforce modes, set with
ENABLE_SSRFandENFORCE_SSRF. By default it logs requests to blocked destinations without stopping them.Stored OAuth credentials for MCP servers and agents are now refreshed before they expire, so users are asked to sign in again less often.
Access to existing virtual account and agent identity tokens is now recorded in audit logs as
GET_TOKEN.Credentials for clusters, settings, MCP servers and outbound auth are now encrypted at rest in the control plane database.
The agent registry now shows each remote agent's identity provider and type, who can access it and what it can access, and marks agents that come from TrueForge.
Granted permissions on provider integrations now show which provider account each one belongs to.
Agents from TrueForge can no longer be edited or deleted in the agent registry, and they link to TrueForge, where they are managed.
Budget V2 usage is now backed up hourly by default and restored automatically after data loss. Read more
Remote agents still on the older self-hosted manifest are now moved automatically to the current remote agent format, with their own agent identity, so they appear and work like other remote agents in the agent registry.
The updated Access Control drawers on resources and the new virtual account form are now on by default.
Helm installs now stop early with a clear error when
global.databaseis only partly filled in, instead of creating an incompletetruefoundry-credsSecret.Provider integration forms no longer show the authorized subjects field, since access is now managed from Access Control, and editing an integration shows the YAML changes for review before saving.
Self-hosted installs now deploy the manifest service by default, even when workflow admin is disabled. Set
sfyManifestService.enabled: falsein your Helm values to keep the previous behavior.The Agents section of the sidebar is now a single Agents Registry entry for every tenant; the old Agent Playground and Agent Sessions pages have been removed.
Viewing a resource's permission grants or activity logs now requires manage access to it (for provider integrations, manage access to their provider account), and the Access Control and Activity Logs menu items are disabled with a tooltip for users without it.
The budget
my-usageendpoint now accepts virtual account tokens and returns the budget usage that applies to that virtual account. Read moreNew tenants now keep traces for 30 days by default on the default data routing destination.
HashiCorp Vault integrations now retry
412,429and5xxerrors and cache AppRole tokens, cutting down on authentication and standby consistency failures.Slow or long-running uploads through the control plane's built-in proxy (
tfy-proxy) no longer fail with an idle timeout while the request body is being sent.- Fix
Forms for per-user MCP server credential overrides now show the right fields for users who can't manage the server, and for OAuth2 servers, which used to show an empty form.
- Fix
Fixed control-plane ServiceMonitors being rejected on install or upgrade when monitoring is enabled, because their scrape interval was empty.
- Fix
Fixed dev mode installs not finding the bundled database when the Helm release is not named
truefoundry. - Fix
Secret lists load faster for tenants with many secrets.
- Fix
Removing a role from a user or team in Access Control now updates the list right away, instead of leaving the role visible and failing on a second delete.
- Fix
Users who can read an agent can now list its permission grants.
- Fix
Alerts for aggregate budgets now read the budget's usage correctly, so they fire when a threshold is crossed.
- Fix
Members of a team that owns a virtual account can now see that virtual account's permission grants.
- Fix
OAuth sign-in and token refresh for MCP servers now follow redirects from the identity provider, with each hop checked by outbound URL protection.
- Fix
Team memberships from your identity provider's team claim and team manager roles are now resolved correctly when checking a user's access.
- Fix
When TrueForge is turned on, the button on a skill version now reads Try in TrueForge and opens TrueForge, instead of going to an Agent Playground page that returned 404.
- Fix
Access changes now take effect right away in cases where they used to stay cached until the cache expired.
- Fix
Approving a device login, for example from the Mac setup script, with an expired session now sends you to sign in again and then back to the approval page, instead of failing with an invalid refresh token error.
- Fix
Signing in during a device login now returns you to the device approval page instead of the home page.
- Fix
tfy applyaccepts MCP server manifests that leave out the OAuth2grant_typeor the headerauth_levelagain, filling in the defaults as it did before 0.167.0. - Fix
Streaming responses to POST requests through the console no longer get cut off after 60 seconds.