[PR #3416] docs: Add Capsule code interpreter integration #3468

Open
opened 2026-06-05 18:23:12 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/3416
Author: @mavdol
Created: 4/2/2026
Status: 🔄 Open

Base: mainHead: docs/add-capsule-integration


📝 Commits (2)

  • 1e6f3f8 docs: add documentation for Capsule code execution integration
  • e8e7a24 docs: update Capsule integration documentation and terminology for consistency

📊 Changes

4 files changed (+194 additions, -0 deletions)

View changed files

📝 src/oss/python/integrations/providers/all_providers.mdx (+8 -0)
src/oss/python/integrations/providers/capsule.mdx (+34 -0)
src/oss/python/integrations/tools/capsule.mdx (+150 -0)
📝 src/oss/python/integrations/tools/index.mdx (+2 -0)

📄 Description

Overview

Adds documentation for langchain-capsule, a LangChain integration that lets agents safely execute Python and JavaScript code in isolated WebAssembly sandboxes.

Two execution modes are covered:

  • Stateless tools (CapsulePythonTool, CapsuleJSTool) — each call runs in a fresh sandbox
  • Session-based REPL tools (CapsulePythonREPLTool, CapsuleJSREPLTool) — variables and state persist across calls, with support for file import/export

Type of change

Type: New documentation page

Related issues/PRs

Checklist

  • I have read the contributing guidelines, including the language policy
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed

Additional notes

langchain-capsule is a community-maintained package (PyPI, GitHub) built on top of Capsule, a WebAssembly-based sandboxing runtime.

Files added/changed:

  • src/oss/python/integrations/providers/capsule.mdx — new provider page
  • src/oss/python/integrations/tools/capsule.mdx — new tool guide
  • src/oss/python/integrations/providers/all_providers.mdx — added Capsule card
  • src/oss/python/integrations/tools/index.mdx — added to code interpreter table and all-tools grid

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/3416 **Author:** [@mavdol](https://github.com/mavdol) **Created:** 4/2/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `docs/add-capsule-integration` --- ### 📝 Commits (2) - [`1e6f3f8`](https://github.com/langchain-ai/docs/commit/1e6f3f841640f3190f70818cd2ec1fd03829c5d4) docs: add documentation for Capsule code execution integration - [`e8e7a24`](https://github.com/langchain-ai/docs/commit/e8e7a2462ef02c8a4c2a512ae1216cdc3a072291) docs: update Capsule integration documentation and terminology for consistency ### 📊 Changes **4 files changed** (+194 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/python/integrations/providers/all_providers.mdx` (+8 -0) ➕ `src/oss/python/integrations/providers/capsule.mdx` (+34 -0) ➕ `src/oss/python/integrations/tools/capsule.mdx` (+150 -0) 📝 `src/oss/python/integrations/tools/index.mdx` (+2 -0) </details> ### 📄 Description ## Overview Adds documentation for [`langchain-capsule`](https://github.com/mavdol/langchain-capsule), a LangChain integration that lets agents safely execute Python and JavaScript code in isolated WebAssembly sandboxes. Two execution modes are covered: - **Stateless tools** (`CapsulePythonTool`, `CapsuleJSTool`) — each call runs in a fresh sandbox - **Session-based REPL tools** (`CapsulePythonREPLTool`, `CapsuleJSREPLTool`) — variables and state persist across calls, with support for file import/export ## Type of change **Type:** New documentation page ## Related issues/PRs - GitHub issue: langchain-ai/langchain#35518 ## Checklist - [x] I have read the [contributing guidelines](README.md), including the [language policy](https://docs.langchain.com/oss/python/contributing/overview#language-policy) - [x] I have tested my changes locally using `docs dev` - [x] All code examples have been tested and work correctly - [x] I have used **root relative** paths for internal links - [x] I have updated navigation in `src/docs.json` if needed ## Additional notes `langchain-capsule` is a community-maintained package ([PyPI](https://pypi.org/project/langchain-capsule/), [GitHub](https://github.com/mavdol/langchain-capsule)) built on top of [Capsule](https://github.com/mavdol/capsule), a WebAssembly-based sandboxing runtime. Files added/changed: - `src/oss/python/integrations/providers/capsule.mdx` — new provider page - `src/oss/python/integrations/tools/capsule.mdx` — new tool guide - `src/oss/python/integrations/providers/all_providers.mdx` — added Capsule card - `src/oss/python/integrations/tools/index.mdx` — added to code interpreter table and all-tools grid --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 18:23:12 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#3468