Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Foundry Hosting

This package provides the integration of Agent Framework agents and workflows with the Foundry Agent Server, which can be hosted on Foundry infrastructure.

State store

Local persistence

Outside the Foundry hosting environment, state is persisted as JSON files under ~/.agentserver/state_stores by default. Set AGENTSERVER_STATE_ROOT to use a different root directory; the files will be written to its state_stores subdirectory instead.

Each logical store is saved as one JSON file whose name is a URL-safe Base64 encoding of the store name. For example:

  • Agent sessions: YWdlbnRfc2Vzc2lvbnM.json
  • Function approvals: ZnVuY3Rpb25fYXBwcm92YWxz.json
  • Workflow checkpoints: one file per context, encoded from checkpoints/<context_id>

Read more about the Foundry durable state store in the developer guide.

User isolation

When hosted on Foundry, the default state stores automatically isolate data by the platform user ID supplied with each request. Sessions, workflow checkpoints, and function approvals written for one user cannot be read or modified by another user. No additional partitioning configuration is required when using the default stores.

Agent Sessions

ResponsesHostServer persists the Agent Framework AgentSession durably. By default it uses the FoundryAgentSessionStore, backed by Foundry storage when hosted and file-based storage locally. Stored sessions are scoped under agent_sessions.

See the custom storage provider sample for an example that uses an in-memory session store locally and Azure Cosmos DB when hosted.

Workflow checkpoints

ResponsesHostServer persists workflow checkpoints durably. By default, it uses the FoundryCheckpointStore, backed by Foundry storage when hosted and file-based storage locally. Stored checkpoints are scoped under checkpoints.

Function approvals

ResponsesHostServer persists function approvals durably. By default, it uses the FoundryFunctionApprovalStore, backed by Foundry storage when hosted and file-based storage locally. Stored approvals are scoped under function_approvals.

Metadata

Release files for agent-framework-foundry-hosting 1.0.0b260821

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agent-framework-foundry-hosting 1.0.0b260821
File Size Uploaded Provenance Actions
agent_framework_foundry_hosting-1.0.0b260821.tar.gz 31.9 kB Without provenance Details for agent_framework_foundry_hosting-1.0.0b260821.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agent-framework-foundry-hosting 1.0.0b260821
File Interpreter ABI Platform Actions
agent_framework_foundry_hosting-1.0.0b260821-py3-none-any.whl Python 3 none any Details for agent_framework_foundry_hosting-1.0.0b260821-py3-none-any.whl

Total release size: 65.3 kB

Release files / agent_framework_foundry_hosting-1.0.0b260821.tar.gz

Download URL agent_framework_foundry_hosting-1.0.0b260821.tar.gz
Size 31.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a9aae9e4eaef7e2a9a9375e4f93e453702fa4532246b60752d1a579fd2e80925
BLAKE2b-256 checksum
How to use checksums
39ceb895d4d4c931222a61dd804e9e83c3fd4b45ffcc24d502ddc79a0f7f3512
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / agent_framework_foundry_hosting-1.0.0b260821-py3-none-any.whl

Download URL agent_framework_foundry_hosting-1.0.0b260821-py3-none-any.whl
Size 33.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b00a7a70b4c96780ac7f9ca302c62d48d26ce7f10e68a7f4411abb955ea6bb6a
BLAKE2b-256 checksum
How to use checksums
9945967318e3d59523536cfd105fbfe76cb1a540799ca7e782e6e8b5646673f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for agent-framework-foundry-hosting 1.0.0b260821

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page