Baponi sandbox provider for LangChain Deep Agents
Project description
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": [("human", "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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file langchain_baponi-0.1.0.tar.gz.
File metadata
- Download URL: langchain_baponi-0.1.0.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bd5dd25e6d124f842b85723e0086f3583d047a5e0722518642364c4d3aaa9ef
|
|
| MD5 |
5483bd519ea8a17da57e1d87a035c57b
|
|
| BLAKE2b-256 |
7dfd0ecb411248ce548c306b09b14403dad31508e26140854a80e71443dd1a17
|
File details
Details for the file langchain_baponi-0.1.0-py3-none-any.whl.
File metadata
- Download URL: langchain_baponi-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3756e5c7e586b8a6893326d581dfb9c1c9910ded2adedd055961b792cc13794
|
|
| MD5 |
e9eed9176f50977a7a50738a459220c2
|
|
| BLAKE2b-256 |
c8da7a9b1d66019dbdf86712a07bbabab2eb930bb3ed2502a2fdcf99cc9d20e4
|