Skip to content

Implement SSH Sandbox Tool#16

Draft
google-labs-jules[bot] wants to merge 1 commit intodevfrom
ssh-tool-implementation-10708792566051580871
Draft

Implement SSH Sandbox Tool#16
google-labs-jules[bot] wants to merge 1 commit intodevfrom
ssh-tool-implementation-10708792566051580871

Conversation

@google-labs-jules
Copy link
Copy Markdown

Implemented a new SSH tool that enables Kortix Workers to connect to remote servers from the sandbox environment.

Key features:

  • Persistent Sessions: Maintains connection state (socket) and current working directory (CWD) across tool calls.
  • Connection Multiplexing: Uses ssh -M -S ... to reuse a single connection for multiple commands.
  • Streaming Output: Streams command output in real-time to the frontend.
  • Robustness: Handles password authentication (via sshpass), private keys, and installs necessary dependencies automatically.
  • Frontend View: Custom UI to show connection status and command execution results.

This tool allows the agent to act as a human user in a remote terminal, performing tasks like navigating directories, editing files, and running scripts on external servers.


PR created automatically by Jules for task 10708792566051580871 started by @Logrui

- Added SandboxSSHTool in `backend/core/tools/sb_ssh_tool.py` for persistent SSH connections from the sandbox.
- Supports ssh_connect, ssh_execute, and ssh_disconnect.
- Handles state persistence (cwd, connection info) via sandbox files.
- Uses ControlMaster for connection multiplexing.
- Added frontend tool view in `frontend/src/components/thread/tool-views/sb_ssh_tool/ToolView.tsx`.
- Registered tool in backend and frontend registries.
- Verified with unit tests.
@google-labs-jules
Copy link
Copy Markdown
Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
suna Ready Ready Preview, Comment Jan 4, 2026 1:30am

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.

0 participants