manus-open  by whit3rabbit

Containerized sandbox for AI agent interaction with terminal/browser environments

Created 6 months ago
431 stars

Top 68.9% on SourcePulse

GitHubView on GitHub
Project Summary

Manus Sandbox provides a containerized environment for AI agents to interact with terminal and browser interfaces programmatically. It enables LLMs to execute real-world tasks like running commands, automating browser actions, and managing files within a secure, isolated space, bridging the gap between AI decision-making and direct system interaction.

How It Works

The system comprises an AI agent, an API proxy, and a Dockerized sandbox container. The AI agent sends API requests, which are authenticated, rate-limited, and routed by the API proxy to the appropriate service within the sandbox. The sandbox, built with FastAPI, hosts services for terminal interaction, browser automation via a modified browser-use library (using Playwright), and file/text operations. Communication for terminal sessions is real-time via WebSockets, while browser actions are driven by LLM-formatted JSON responses specifying element interactions and navigation.

Quick Start & Requirements

  • Install/Run:
    docker build -t manus-sandbox .
    docker run -p 8330:8330 manus-sandbox
    
  • Prerequisites: Docker, Python 3.11, Chromium browser (within the container).
  • Links: browser-use library, reconstruction gist.

Highlighted Details

  • Enables AI agents to perform complex, multi-step tasks involving both terminal and web browser interactions.
  • Utilizes a structured JSON response format for LLMs to control browser actions, including element interaction and state management.
  • The browser-use library is adapted for Claude API integration, managing browser sessions and DOM manipulation.
  • Includes a Python API client for seamless integration with LLM execution environments.

Maintenance & Community

The project is a reconstruction from bytecode, with acknowledgements to Claude 3.7 for assistance. The browser-use component is a modified open-source library. No specific community channels or active maintenance indicators are present in the README.

Licensing & Compatibility

The browser-use component is MIT licensed, though the license was missing from the original source. The overall licensing for the Manus Sandbox project itself is not explicitly stated.

Limitations & Caveats

The README notes that multi-layered authentication (API token verification at the proxy and within the FastAPI app) is "NOT IMPLEMENTED IN THIS CODE." The project is a reconstruction from bytecode, implying potential incompleteness or subtle behavioral differences from an original, actively maintained codebase.

Health Check
Last Commit

4 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
8 stars in the last 30 days

Explore Similar Projects

Starred by Kevin Hou Kevin Hou(Head of Product Engineering at Windsurf), Eric Zhu Eric Zhu(Coauthor of AutoGen; Research Scientist at Microsoft Research), and
29 more.

browser-use by browser-use

0.6%
70k
SDK for AI agent browser control
Created 10 months ago
Updated 1 day ago
Feedback? Help us improve.