中文文档 | English
OpenManus Go is a Go language rewrite of OpenManus, supporting multi-agent systems, tool calling, flow control, and secure sandboxing.
- Go 1.21 or higher
- OpenAI API key configuration
-
Clone the repository:
git clone https://github.com/HildaM/openmanus-go.git cd openmanus-go
-
Install dependencies:
go mod tidy
-
Configure API key: Edit
config/config.toml
and replaceapi_key
with your OpenAI API key.
Run the main program:
go run cmd/main.go
Run task flow:
go run cmd/flow/main.go
Run MCP service:
go run cmd/mcp/main.go
cmd/
: Command line entry pointsmain.go
: Main program entryflow/
: Task flow entrymcp/
: MCP service entry
internal/
: Internal packagesagent/
: Agent implementations (ReAct, SWE, Browser, DataAnalysis, etc.)tool/
: Tool collection (file operations, Shell, Python execution, etc.)flow/
: Flow controlllm/
: LLM clientmcp/
: MCP protocol implementationsandbox/
: Secure sandboxprompt/
: Prompt managementconfig/
: Configuration management
pkg/
: Public packageslogger/
: Logging utilities
config/
: Configuration files
- ReAct Agent: Reasoning-Acting loop agent
- SWE Agent: Software engineering agent
- Browser Agent: Browser automation agent
- Data Analysis Agent: Data analysis agent
- MCP Agent: MCP protocol agent
- Manus Agent: Core agent
- File operation tools
- Shell command execution
- Python code execution
- Web API calls
- Data analysis tools
- Sandbox environment execution
- Permission control
- Secure code execution
Welcome to submit Issues or Pull Requests!
MIT