Skip to main content

Runloop sandbox integration for Deep Agents

Project description

langchain-runloop

PyPI - Version PyPI - License PyPI - Downloads Twitter

Looking for the JS/TS version? Check out LangChain.js.

Quick Install

pip install langchain-runloop
import os

from langchain_runloop import RunloopProvider

api_key = os.environ["RUNLOOP_API_KEY"]
provider = RunloopProvider(api_key=api_key)

sandbox = provider.get_or_create()
try:
    result = sandbox.execute("echo hello")
    print(result.output)
finally:
    provider.delete(sandbox_id=sandbox.id)

Boot from a named blueprint (create-if-missing, same idea as LangSmith snapshots):

sandbox = provider.get_or_create(snapshot="my-blueprint")

Or pin via env: RUNLOOP_SANDBOX_BLUEPRINT_NAME, RUNLOOP_SANDBOX_BLUEPRINT_ID (ID wins; skips auto-build).

🤔 What is this?

Runloop sandbox integration for Deep Agents.

📕 Releases & Versioning

See our Releases and Versioning policies.

💁 Contributing

As an open-source project in a rapidly developing field, we are extremely open to contributions, whether it be in the form of a new feature, improved infrastructure, or better documentation.

For detailed information on how to contribute, see the Contributing Guide.

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_runloop-0.0.6.tar.gz (131.4 kB view details)

Uploaded Source

Built Distribution

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

langchain_runloop-0.0.6-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file langchain_runloop-0.0.6.tar.gz.

File metadata

  • Download URL: langchain_runloop-0.0.6.tar.gz
  • Upload date:
  • Size: 131.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for langchain_runloop-0.0.6.tar.gz
Algorithm Hash digest
SHA256 d8d947e847e833ab592ea8fac112c2b6f6ed9e16a7da191fd163c0be88e0edf3
MD5 083006034ada83ee662b2064128fea9d
BLAKE2b-256 1f8705856339962c03959058fe238de899df71e65b042ffbe0a1979e5d0a5bcc

See more details on using hashes here.

File details

Details for the file langchain_runloop-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_runloop-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c886cecbe4d1e197a34865ca42c81bcbb1ffd99cd18e164cb092c5ac95f6dcbf
MD5 dcc11e7374f505ae141b7ad4168abf36
BLAKE2b-256 7d51cb2a70a0f26f8baba64425c7c2bb08279d5387093faee4c8daf2b523ce19

See more details on using hashes here.

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