Skip to main content

Monza sandbox integration for LangChain Deep Agents

Project description

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 sandbox
  • template – Devcontainer template when creating a sandbox (default: python-3.12)
  • name – Optional human-readable name for a new sandbox
  • timeout – Default command timeout in seconds (default: 30 minutes)

Links

License

MIT

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_monza-0.0.1.tar.gz (113.9 kB view details)

Uploaded Source

Built Distribution

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

langchain_monza-0.0.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file langchain_monza-0.0.1.tar.gz.

File metadata

  • Download URL: langchain_monza-0.0.1.tar.gz
  • Upload date:
  • Size: 113.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for langchain_monza-0.0.1.tar.gz
Algorithm Hash digest
SHA256 cc4fd6f635f03920f010fe35478c583d8c08ab26f3e7fe98f73d99714bc4d8e5
MD5 aa639f9211d54834dbf939820aa5b3c9
BLAKE2b-256 c98efebc71bb0f8bc00adba8fc12a2fc9ff3f08c024e651241aa44555294ad97

See more details on using hashes here.

Provenance

The following attestation bundles were made for langchain_monza-0.0.1.tar.gz:

Publisher: release.yml on Glyph-Software/langchain-monza

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file langchain_monza-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_monza-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7f6c69c5dfe598cc52227ef85505d7dd303e95b8931d37acd695f0b0bbea14af
MD5 f5b4c91272c4b35a10103307ff1968dd
BLAKE2b-256 5723a31453d0bea524cecf8d0ac7458fc7c329106279d198972c38b6b68fd98b

See more details on using hashes here.

Provenance

The following attestation bundles were made for langchain_monza-0.0.1-py3-none-any.whl:

Publisher: release.yml on Glyph-Software/langchain-monza

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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