langchain-monza
Monza sandbox integration for Deep Agents.
This package provides a MonzaSandbox backend that talks to the Monza Go service over HTTP for file operations and command execution inside isolated devcontainer sandboxes.
Installation
pip install langchain-monza
Or with uv:
uv add langchain-monza
Usage
from langchain_monza import MonzaSandbox
# Create a new sandbox (default: python-3.12 template, Monza at http://localhost:8080)
with MonzaSandbox(template="python-3.12") as sandbox:
result = sandbox.execute("python --version")
print(result.stdout)
# Or attach to an existing sandbox
sandbox = MonzaSandbox(sandbox_id="existing-id")
sandbox.execute("ls -la")
sandbox.close()
Configuration
base_url– Monza backend URL (default:http://localhost:8080)sandbox_id– Optional; if set, attaches to an existing sandboxtemplate– Devcontainer template when creating a sandbox (default:python-3.12)name– Optional human-readable name for a new sandboxtimeout– Default command timeout in seconds (default: 30 minutes)
Links
License
MIT
Metadata
Release files for langchain-monza 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| langchain_monza-0.0.1.tar.gz | 113.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| langchain_monza-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 118.9 kB
Release files / langchain_monza-0.0.1.tar.gz
| Download URL | langchain_monza-0.0.1.tar.gz |
|---|---|
| Size | 113.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc4fd6f635f03920f010fe35478c583d8c08ab26f3e7fe98f73d99714bc4d8e5
|
|
BLAKE2b-256 checksum How to use checksums |
c98efebc71bb0f8bc00adba8fc12a2fc9ff3f08c024e651241aa44555294ad97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.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.
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 Mar 14, 2026.
Transparency logRelease files / langchain_monza-0.0.1-py3-none-any.whl
| Download URL | langchain_monza-0.0.1-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f6c69c5dfe598cc52227ef85505d7dd303e95b8931d37acd695f0b0bbea14af
|
|
BLAKE2b-256 checksum How to use checksums |
5723a31453d0bea524cecf8d0ac7458fc7c329106279d198972c38b6b68fd98b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.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.
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 Mar 14, 2026.
Transparency log