manus-open  by whit3rabbit

Containerized sandbox for AI agent interaction with terminal/browser environments

created 4 months ago
421 stars

Top 71.0% 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

3 months ago

Responsiveness

1 day

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

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems).

web-ui by browser-use

0.7%
14k
Web UI for AI browser agent
created 7 months ago
updated 2 months ago
Feedback? Help us improve.