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.3.tar.gz (9.7 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.3-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for cocoonstack_sandbox_openai-0.1.3.tar.gz
Algorithm Hash digest
SHA256 9732f0f4839ac4e8fb1872072c55a563f00274185603b14a7c3de1b0ab4779ad
MD5 50ee0655f8a7bb19d5b6f9a293cefe16
BLAKE2b-256 5716b0535ab9761793be719b2c07c869f659ca36c69f05f1522134f21f4c2d8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for cocoonstack_sandbox_openai-0.1.3.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.3-py3-none-any.whl.

File metadata

File hashes

Hashes for cocoonstack_sandbox_openai-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 586f2f316fa2fd854d14d79bc17b55c79b57da6320acb3f6b1845d456b97bdc4
MD5 14c58dba513c2919e01635fa805a22ef
BLAKE2b-256 c819846e38589aebba65b26014ce9fdc7427cf0df9b1d27da30fa46b39c17f59

See more details on using hashes here.

Provenance

The following attestation bundles were made for cocoonstack_sandbox_openai-0.1.3-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

This release

0.1.3 This release

2 files

0.1.2

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