Skip to content

feat(providers): add Smol Machines sandbox backend - #941

Open
BinBin He (BinSquare) wants to merge 4 commits into
langchain-ai:mainfrom
BinSquare:binsquare/smol-sandbox-provider
Open

BinBin He (BinSquare) wants to merge 4 commits into
langchain-ai:mainfrom
BinSquare:binsquare/smol-sandbox-provider

Conversation

@BinSquare

@BinSquare BinBin He (BinSquare) commented Oct 10, 2026 •

Copy link
Copy Markdown

Adds @langchain/smol, a Deep Agents sandbox backend that executes commands and transfers files inside local or Smol Cloud microVMs, with explicit target selection, native branch and checkpoint access, and a bounded Cloud lifetime by default.

Validation: 6 unit tests and 96 live integration tests passed, including the shared backend contract on KVM, a real Deep Agent shell tool call, copy-on-write branch isolation, and Cloud command/file transfers; package typecheck, lint, build, and npm pack --dry-run passed. The adapters reject Cloud filenames currently altered by the forwarding layer until smol-machines/smolcloud#622 is deployed.

@changeset-bot

changeset-bot Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 7a5b746

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@langchain/smol Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Oct 10, 2026

Copy link
Copy Markdown

BinBin He (@BinSquare) is attempting to deploy a commit to the LangChain Team on Vercel.

A member of the Team first needs to authorize it.

@socket-security

socket-security Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedsmolmachines@​1.26.18310010096100

View full report

@pkg-pr-new

pkg-pr-new Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

deepagents-acp

npm i https://pkg.pr.new/langchain-ai/deepagentsjs/deepagents-acp@941

deepagents

npm i https://pkg.pr.new/langchain-ai/deepagentsjs/deepagents@941

@langchain/sandbox-standard-tests

npm i https://pkg.pr.new/langchain-ai/deepagentsjs/@langchain/sandbox-standard-tests@941

@langchain/daytona

npm i https://pkg.pr.new/langchain-ai/deepagentsjs/@langchain/daytona@941

@langchain/deno

npm i https://pkg.pr.new/langchain-ai/deepagentsjs/@langchain/deno@941

@langchain/modal

npm i https://pkg.pr.new/langchain-ai/deepagentsjs/@langchain/modal@941

@langchain/node-vfs

npm i https://pkg.pr.new/langchain-ai/deepagentsjs/@langchain/node-vfs@941

@langchain/quickjs

npm i https://pkg.pr.new/langchain-ai/deepagentsjs/@langchain/quickjs@941

@langchain/smol

npm i https://pkg.pr.new/langchain-ai/deepagentsjs/@langchain/smol@941

commit: 7a5b746

@BinSquare

Copy link
Copy Markdown
Author

Additional packaging check: installed this PR’s pkg.pr.new @langchain/smol preview alongside published deepagents@1.14.2 in an empty project, imported the package, created a real local KVM VM, ran a command through the installed provider, and deleted the VM successfully.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant