2.0.0b7 (2026-06-28)
Features Added
- Container protocol version
2.0.0support: added the platform identity header constantsx-agent-user-id(USER_ID) — the global, cross-agent per-user partition key — andx-agent-foundry-call-id(FOUNDRY_CALL_ID) — the opaque per-request call identifier — to the_platform_headersmodule. - Added
FOUNDRY_AGENT_IDenvironment variable support exposing the agent's stable GUID viaAgentConfig.agent_guidand theresolve_agent_guid()helper. - Added a request-scoped platform context:
FoundryAgentRequestContext,get_request_context(),set_request_context(), andreset_request_context(). Protocol packages bind the inbound per-request call ID and user ID so that handler code (and the SDK HTTP pipeline) can read them.FoundryAgentRequestContext.platform_headers()builds the headers to forward on outbound Foundry 1P calls — the per-request call ID only;x-agent-user-idis not forwarded (it is not accepted/trusted by 1P services and is used only for container-side state partitioning).
Breaking Changes
- Replaced the
x-agent-user-isolation-key/x-agent-chat-isolation-keyheader constants (USER_ISOLATION_KEY/CHAT_ISOLATION_KEY) withx-agent-user-id(USER_ID) andx-agent-foundry-call-id(FOUNDRY_CALL_ID) per container protocol version2.0.0.