Skip to main content
Pre-release

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

promigence-openai-agents — OpenAI Agents SDK sandboxes on Promigence

Promigence sandbox client for the OpenAI Agents SDK.

Install

pip install promigence-openai-agents  # Python >= 3.10
export PROMIGENCE_API_KEY=prom_api_...  PROMIGENCE_API_URL=https://api.promigence.ai/v1

Run

from promigence_openai_agents import PromigenceSandboxClient, PromigenceSandboxClientOptions

client = PromigenceSandboxClient()
session = await client.create(options=PromigenceSandboxClientOptions(image="python:3.12-slim", spend_cap=1))
async with session:
    result = await session.exec("python", "-c", "print(1 + 1)", shell=False)
    print(result.stdout.decode())
await client.delete(session)

Help

Every error carries a code, a message and what to do next; the codes are listed at https://www.promigence.ai/docs/errors. Questions: support@promigence.ai.

Metadata

Release files for promigence-openai-agents 0.1.0a1

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

Source distribution (sdist)

Source distribution for promigence-openai-agents 0.1.0a1
File Size Uploaded
promigence_openai_agents-0.1.0a1.tar.gz 37.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for promigence-openai-agents 0.1.0a1
File Interpreter ABI Platform
promigence_openai_agents-0.1.0a1-py3-none-any.whl Python 3 none any Details

Total release size: 76.9 kB

Release files / promigence_openai_agents-0.1.0a1.tar.gz

Download URL promigence_openai_agents-0.1.0a1.tar.gz
Size 37.7 kB
Tags Source
SHA-256 checksum
How to use checksums
173b6d4a008b4d7b5d293446673d4648bd45d5d5d2c9092e5c15397a40f0f9ca
BLAKE2b-256 checksum
How to use checksums
5618bb85f618b56ae0cfdcfbecca452509283dcf5225f35fa38e647ec378afcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / promigence_openai_agents-0.1.0a1-py3-none-any.whl

Download URL promigence_openai_agents-0.1.0a1-py3-none-any.whl
Size 39.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e43c0ad48ba73218efff7f2617eaac670d5c18d4fdd9a477923514aaa442d7a7
BLAKE2b-256 checksum
How to use checksums
9ada284781319f97d8817ea602208c85a2679a6280a6aab986756d2531b111ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

0.1.0a1 This release

2 release 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