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.5

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.5
File Size Uploaded Provenance Actions
cocoonstack_sandbox_langchain-0.1.5.tar.gz 9.7 kB With provenance Details for cocoonstack_sandbox_langchain-0.1.5.tar.gz

Built distribution (wheel)

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

Total release size: 18.5 kB

Release files / cocoonstack_sandbox_langchain-0.1.5.tar.gz

Download URL cocoonstack_sandbox_langchain-0.1.5.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f21551cfc0681b58a2ebe67ad8b6977e0ed3a5f4415a11056761dd2faca9a5b1
BLAKE2b-256 checksum
How to use checksums
e958c6343bda130f76ca04e90825c7cdc52a27a742141e28d4b798e1428098cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 5, 2026.

Transparency log

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

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

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 Oct 5, 2026.

Transparency log

Security for cocoonstack-sandbox-langchain 0.1.5

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.5.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 Oct 5, 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