Skip to main content

langchain-baponi

Baponi sandbox provider for LangChain Deep Agents.

Baponi runs your Deep Agent's code in isolated sandboxes, available as a managed cloud service or self-hosted inside your own Kubernetes cluster or VPC. Sandboxes have no network access by default, with egress opt-in.

This package is a thin wrapper: it installs baponi[deepagents], which registers the baponi sandbox provider for the Deep Agents Code CLI. You can also use baponi[deepagents] directly.

Install

pip install langchain-baponi

Use with Deep Agents

from langchain_baponi import BaponiSandbox
from deepagents import create_deep_agent

with BaponiSandbox() as sandbox:  # reads BAPONI_API_KEY
    agent = create_deep_agent("anthropic:claude-sonnet-4-6", backend=sandbox)
    result = agent.invoke({"messages": [{"role": "user", "content": "Analyze this dataset and summarize it"}]})
    print(result["messages"][-1].content)

Use with Deep Agents Code (dcode)

dcode --install langchain-baponi --package
export BAPONI_API_KEY=sk-...
dcode --sandbox baponi

Get an API key at console.baponi.ai. Full guide: baponi.ai/docs/guides/deep-agents.

License

Apache-2.0

Metadata

Release files for langchain-baponi 0.1.1

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

Source distribution (sdist)

Source distribution for langchain-baponi 0.1.1
File Size Uploaded
langchain_baponi-0.1.1.tar.gz 7.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-baponi 0.1.1
File Interpreter ABI Platform
langchain_baponi-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.6 kB

Release files / langchain_baponi-0.1.1.tar.gz

Download URL langchain_baponi-0.1.1.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9eb3ab238e8b1d7ae89f16d70d67bf6eeb79f71d995e6dabe546b099c57a7fd6
BLAKE2b-256 checksum
How to use checksums
0109778e391f4dd984460ee0f8894137885ff3f1ee685931182f647d7fb08912
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Release files / langchain_baponi-0.1.1-py3-none-any.whl

Download URL langchain_baponi-0.1.1-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
48d2d550b3ce384256f9e3410b48a3940e249d85813c744f763aefa6b0ab759a
BLAKE2b-256 checksum
How to use checksums
0d259a92d2943b01da3f5f8ae97aebeb94640883c2da68fa82cef3f5d4d59f78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

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