Skip to main content

PPIO sandbox integration for Deep Agents

Project description

langchain-ppio

langchain-ppio provides a PPIO sandbox backend for Deep Agents.

Install

uv add langchain-ppio

Quick Start

import os
from pathlib import Path

from ppio_sandbox.core import Sandbox
from langchain_ppio import PPIOSandbox

# Optional: load API key from local file
if not os.getenv("PPIO_API_KEY") and Path("ppio_key").exists():
    os.environ["PPIO_API_KEY"] = Path("ppio_key").read_text().strip()

sandbox = Sandbox.create()
backend = PPIOSandbox(sandbox=sandbox)

result = backend.execute("echo hello")
print(result.output)

sandbox.kill()

Run Smoke Test

uv run langchain-ppio-smoke

The smoke command will read PPIO_API_KEY from environment variables first, then fallback to a local ppio_key file.

Build & Publish With uv

uv build
uv publish

Project details


Download files

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

Source Distribution

langchain_ppio-0.0.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

langchain_ppio-0.0.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file langchain_ppio-0.0.1.tar.gz.

File metadata

  • Download URL: langchain_ppio-0.0.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for langchain_ppio-0.0.1.tar.gz
Algorithm Hash digest
SHA256 466d22cfb17d8e06570ab2e834f7c37c62e8723db5cc95ba56c6829b92c0c815
MD5 4e5be67cd26dd41158a4d87d82f6ab36
BLAKE2b-256 54e5c01bfb6f9243324fe7b89b58390ff87297108f9045039da51df2083a35bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for langchain_ppio-0.0.1.tar.gz:

Publisher: publish-pypi.yml on zson-two/langchain-ppio

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

File details

Details for the file langchain_ppio-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: langchain_ppio-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for langchain_ppio-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 71b98dc544b3daddc759049b33c08d8b732b24c7639c7e545b910f319c00a79d
MD5 f90f3f3fb829b9fd5f00494d1ce110af
BLAKE2b-256 20a8706eb9216b811c99e5109906ddd3309bc301237fd062aaa1232039357216

See more details on using hashes here.

Provenance

The following attestation bundles were made for langchain_ppio-0.0.1-py3-none-any.whl:

Publisher: publish-pypi.yml on zson-two/langchain-ppio

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page