Skip to main content

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


Download files

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

Source Distribution

langchain_baponi-0.1.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

langchain_baponi-0.1.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

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

Hashes for langchain_baponi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9bd5dd25e6d124f842b85723e0086f3583d047a5e0722518642364c4d3aaa9ef
MD5 5483bd519ea8a17da57e1d87a035c57b
BLAKE2b-256 7dfd0ecb411248ce548c306b09b14403dad31508e26140854a80e71443dd1a17

See more details on using hashes here.

File details

Details for the file langchain_baponi-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_baponi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c3756e5c7e586b8a6893326d581dfb9c1c9910ded2adedd055961b792cc13794
MD5 e9eed9176f50977a7a50738a459220c2
BLAKE2b-256 c8da7a9b1d66019dbdf86712a07bbabab2eb930bb3ed2502a2fdcf99cc9d20e4

See more details on using hashes here.

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