OpenManus Quickly build LLM-driven AI intelligent agents

OpenManus is an open-source, general AI agent framework by FoundationAgents, implemented in Python to rapidly build chain-of-thought LLM-based agents with intelligent task-processing capabilities. It supports reinforcement learning tuning methods (e.g., GRPO) to enhance performance in complex workflows. Licensed under MIT, the project boasts over 45.7k stars and more than 50 contributors, enabling easy deployment and customization for AI-driven automation.

OpenManus Quickly build LLM-driven AI intelligent agents

Source code: https://github.com/FoundationAgents/OpenManus/tree/main

Installation

We provide two installation methods. Method 2 (using uv) is recommended for faster installation and better dependency management.

Method 1: Using conda

  1. Create a new conda environment:
conda create -n open_manus python=3.12conda activate open_manus
  1. Clone the repository:
git clone https://github.com/mannaandpoem/OpenManus.gitcd OpenManus
  1. Install dependencies:
pip install -r requirements.txt

Method 2: Using uv (Recommended)

  1. Install uv (A fast Python package installer and resolver):
curl -LsSf https://astral.sh/uv/install.sh | sh
  1. Clone the repository:
git clone https://github.com/mannaandpoem/OpenManus.gitcd OpenManus
  1. Create a new virtual environment and activate it:
uv venv --python 3.12source .venv/bin/activate  # On Unix/macOS# Or on Windows:# .venv\Scripts\activate
  1. Install dependencies:
uv pip install -r requirements.txt

Browser Automation Tool (Optional)

playwright install

Configuration

OpenManus requires configuration for the LLM APIs it uses. Follow these steps to set up your configuration:

  1. Create a config.toml file in the config directory (you can copy from the example):
cp config/config.example.toml config/config.toml
  1. Edit config/config.toml to add your API keys and customize settings:
# Global LLM configuration
[llm]
model = "gpt-4o"
base_url = "https://api.openai.com/v1"
api_key = "sk-..."  # Replace with your actual API key
max_tokens = 4096
temperature = 0.0

# Optional configuration for specific LLM models
[llm.vision]
model = "gpt-4o"
base_url = "https://api.openai.com/v1"
api_key = "sk-..."  # Replace with your actual API key

Quick Start

One line for run OpenManus:

python main.py

Then input your idea via terminal!

For MCP tool version, you can run:

python run_mcp.py

For unstable multi-agent version, you also can run:

python run_flow.py

Libre Depot original article,Publisher:Libre Depot,Please indicate the source when reprinting:https://www.libredepot.top/5652.html

Like (0)
Libre DepotLibre Depot
Previous 6 hours ago
Next 05/05/2025 4:09 am

Related articles

Leave a Reply

Your email address will not be published. Required fields are marked *