Skip to main content

cocoonstack-sandbox-openai

pip install cocoonstack-sandbox-openai

OpenAI Agents SDK sandbox provider backed by cocoon microVMs: implements the SDK's BaseSandboxClient/BaseSandboxSession pair over the sync cocoonstack-sandbox SDK, bridged with asyncio.to_thread.

from cocoonsandbox_openai import CocoonSandboxClient, CocoonSandboxClientOptions

options = CocoonSandboxClientOptions(addr="10.0.0.5:7777", api_token="...")
session = await CocoonSandboxClient().create(options=options)

One session is one claimed sandbox; delete releases it, resume reattaches from serialized state (node address, api token, sandbox id and token, owner). Exec maps to streaming run, workspace persist/hydrate to tar pull/push, exposed ports to local port proxies. Requires Python >= 3.10 (the openai-agents floor).

Full reference: https://cocoonstack.github.io/sandbox/openai-adapter

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cocoonstack_sandbox_openai-0.1.2.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cocoonstack_sandbox_openai-0.1.2-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file cocoonstack_sandbox_openai-0.1.2.tar.gz.

File metadata

File hashes

Hashes for cocoonstack_sandbox_openai-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b917f361cccc7e474ab267c2d944e73eb61c14b420dfc965d199b9047cd6cf1e
MD5 b6230bbe641e121a8716d4f722f6793e
BLAKE2b-256 2d6b60b88bd428ca8be1c368dbf4750df0b8560f2901d4684a80f54093bb3872

See more details on using hashes here.

Provenance

The following attestation bundles were made for cocoonstack_sandbox_openai-0.1.2.tar.gz:

Publisher: publish-pypi.yml on cocoonstack/sandbox

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cocoonstack_sandbox_openai-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for cocoonstack_sandbox_openai-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b5543ee4c5d8884a67a11e2e771d69ac1cb0a0df14774aa742a5b06d2f6cd4ec
MD5 24640f639ce2252ee08825dd59835bc9
BLAKE2b-256 e372e556e45dfb629057b947c421a4d82a61df1cdfbe0d4ba59dfc95605c7cda

See more details on using hashes here.

Provenance

The following attestation bundles were made for cocoonstack_sandbox_openai-0.1.2-py3-none-any.whl:

Publisher: publish-pypi.yml on cocoonstack/sandbox

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.3

2 files

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

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