Skip to main content

cocoonstack-sandbox-langchain

pip install cocoonstack-sandbox-langchain

LangChain tools backed by cocoon microVM sandboxes: a CocoonToolkit claims one sandbox lazily on first tool use and exposes it as StructuredTools an agent can call — shell exec, file read/write, and directory listing, with disk state persisting across calls.

from cocoonsandbox_langchain import CocoonToolkit
from langgraph.prebuilt import create_react_agent  # langgraph is a separate install

with CocoonToolkit("10.0.0.5:7777", api_token="...") as kit:
    agent = create_react_agent(model, kit.get_tools())
    agent.invoke({"messages": [("user", "run the tests in /work")]})

from_checkpoint="ck_..." branches the sandbox from a checkpoint's captured moment instead of a clean template — agents resume from prepared state (dependencies installed, repo cloned) in milliseconds.

Sync-native (each tool's function calls the stdlib-only cocoonstack-sandbox SDK directly); async agents get a coroutine bridged via asyncio.to_thread.

Full reference: https://cocoonstack.github.io/sandbox/langchain

Metadata

Release files for cocoonstack-sandbox-langchain 0.1.7

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

Source distribution (sdist)

Source distribution for cocoonstack-sandbox-langchain 0.1.7
File Size Uploaded Provenance Actions
cocoonstack_sandbox_langchain-0.1.7.tar.gz 9.7 kB With provenance Details for cocoonstack_sandbox_langchain-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cocoonstack-sandbox-langchain 0.1.7
File Interpreter ABI Platform Actions
cocoonstack_sandbox_langchain-0.1.7-py3-none-any.whl Python 3 none any Details for cocoonstack_sandbox_langchain-0.1.7-py3-none-any.whl

Total release size: 18.5 kB

Release files / cocoonstack_sandbox_langchain-0.1.7.tar.gz

Download URL cocoonstack_sandbox_langchain-0.1.7.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8939e78349838493196178160004c41902291416f7435684112450d37bdb13ba
BLAKE2b-256 checksum
How to use checksums
196c1be0c2496385d77e829e68ec4d4e17f2e0a69929a56bcedf0413a337eaee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Release files / cocoonstack_sandbox_langchain-0.1.7-py3-none-any.whl

Download URL cocoonstack_sandbox_langchain-0.1.7-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2cae47df732d3af793302dc3bc91190868fec319aba0937fe8efa057bf667aa1
BLAKE2b-256 checksum
How to use checksums
c26ef3f2e7ef82dfd16d1f997cb8231441175f29877350677c0c9e4d613b5616
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Security for cocoonstack-sandbox-langchain 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for cocoonstack_sandbox_langchain-0.1.7.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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