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

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.6
File Size Uploaded Provenance Actions
cocoonstack_sandbox_langchain-0.1.6.tar.gz 9.6 kB With provenance Details for cocoonstack_sandbox_langchain-0.1.6.tar.gz

Built distribution (wheel)

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

Total release size: 18.4 kB

Release files / cocoonstack_sandbox_langchain-0.1.6.tar.gz

Download URL cocoonstack_sandbox_langchain-0.1.6.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cd0b03d7b2e6e96af1fc793b85e77131e53a13fa41af27f433a2b5cb58b9dfc8
BLAKE2b-256 checksum
How to use checksums
7b56453bc9a16e2ca997b222a8d78bab861d8803812620353d28135cf5c987eb
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 7, 2026.

Transparency log

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

Download URL cocoonstack_sandbox_langchain-0.1.6-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba6538342fe8661e162d2ce998a8849c867730a9a34dfe7d8d28f79d4a23ec96
BLAKE2b-256 checksum
How to use checksums
411e9b77f855f4170199649db993c7010dd3182df6e30a9de01dc027c3f719e6
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 7, 2026.

Transparency log

Security for cocoonstack-sandbox-langchain 0.1.6

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.6.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 7, 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