Skip to content

Conversation

@eyurtsev
Copy link
Collaborator

@eyurtsev eyurtsev commented Feb 9, 2026

Remove SandboxProvider and related abstractions from the SDK. The SDK doesn't really benefit from it. We'll likely only use it from within the CLI.

@github-actions github-actions bot added breaking Breaking change! cli Related to `deepagents-cli` deepagents Related to the `deepagents` SDK / agent harness infra Repo meta changes internal User is a member of the `langchain-ai` GitHub organization and removed infra Repo meta changes breaking Breaking change! labels Feb 9, 2026
@github-actions github-actions bot added breaking Breaking change! infra Repo meta changes and removed infra Repo meta changes breaking Breaking change! labels Feb 10, 2026
@eyurtsev eyurtsev marked this pull request as ready for review February 10, 2026 02:48
@eyurtsev eyurtsev requested a review from mdrxy as a code owner February 10, 2026 02:48
Copilot AI review requested due to automatic review settings February 10, 2026 02:48
@eyurtsev eyurtsev merged commit c6dedbf into master Feb 10, 2026
30 checks passed
@eyurtsev eyurtsev deleted the move-sandboxprovider-to-cli branch February 10, 2026 02:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the SandboxProvider abstraction (and related types/tests) from the deepagents SDK and reintroduces a slimmer sandbox provider interface inside the CLI, reflecting that sandbox lifecycle management is primarily a CLI concern.

Changes:

  • Removed SandboxProvider/metadata/list abstractions and their unit tests from the SDK.
  • Added a CLI-local SandboxProvider interface (sync + async wrappers) and updated CLI integrations to use it.
  • Updated CLI providers to drop the unused list() surface and adjusted Runloop provider error handling for missing sandboxes.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
libs/deepagents/tests/unit_tests/test_sandbox_provider.py Removes SDK unit tests tied to SandboxProvider abstractions being deleted.
libs/deepagents/deepagents/backends/sandbox.py Removes SDK SandboxProvider/list/metadata/error types, leaving BaseSandbox focused on backend operations.
libs/cli/deepagents_cli/integrations/sandbox_provider.py Introduces CLI-local sandbox provider interface + async wrappers.
libs/cli/deepagents_cli/integrations/sandbox_factory.py Switches factory typing/imports to the new CLI-local provider interface.
libs/cli/deepagents_cli/integrations/runloop.py Updates provider base class, removes list(), and adds SandboxNotFoundError mapping on retrieve.
libs/cli/deepagents_cli/integrations/modal.py Updates provider base class and removes list() stub.
libs/cli/deepagents_cli/integrations/langsmith.py Updates provider base class and removes list() stub.
libs/cli/deepagents_cli/integrations/daytona.py Updates provider base class and removes list() stub.
libs/cli/deepagents_cli/integrations/init.py Updates module docstring to reflect broader integrations scope.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

breaking Breaking change! cli Related to `deepagents-cli` deepagents Related to the `deepagents` SDK / agent harness infra Repo meta changes internal User is a member of the `langchain-ai` GitHub organization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant