Looking for the JS/TS version? Check out LangChain.js.
pip install langchain-runloopimport os
from runloop_api_client import RunloopSDK
from langchain_runloop import RunloopSandbox
api_key = os.environ["RUNLOOP_API_KEY"]
client = RunloopSDK(bearer_token=api_key)
devbox = client.devbox.create()
sandbox = RunloopSandbox(devbox=devbox)
try:
result = sandbox.execute("echo hello")
print(result.output)
finally:
devbox.shutdown()Runloop sandbox integration for Deep Agents.
See our Releases and Versioning policies.
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.