Installation
We provide two installation methods. Method 2 (using uv) is recommended for faster installation and better dependency management.
Method 1: Using conda
- Create a new conda environment:
conda create -n open_manus python=3.12
conda activate open_manus
- Clone the repository:
git clone https://github.com/mannaandpoem/OpenManus.git
cd OpenManus
- Install dependencies:
pip install -r requirements.txt
Method 2: Using uv (Recommended)
- Install uv (A fast Python package installer and resolver):
curl -LsSf https://astral.sh/uv/install.sh | sh
- Clone the repository:
git clone https://github.com/mannaandpoem/OpenManus.git
cd OpenManus
- Create a new virtual environment and activate it:
uv venv
source .venv/bin/activate # On Unix/macOS
# Or on Windows:
# .venv\Scripts\activate
- Install dependencies:
uv pip install -r requirements.txt
Configuration
OpenManus requires configuration for the LLM APIs it uses. Follow these steps to set up your configuration:
- Create aÂ
config.toml
 file in theÂconfig
 directory (you can copy from the example):
cp config/config.example.toml config/config.toml
- 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 unstable version, you also can run:
python run_flow.py