2025-03-26 / @syui

openai

manusと同じようなことを実行する

AIエージェントのmanusが有名ですが、openmanusというものを試してみました。

これは、llmが複数で協調してタスクを行うように調整されたAIエージェントぽいです。manusを使わず、そのやり方を真似ている感じかと思います。

# https://github.com/mannaandpoem/openmanus
$ conda create -n open_manus python=3.12
$ conda activate open_manus
$ git clone https://github.com/mannaandpoem/OpenManus.git
$ cd OpenManus
$ pip install -r requirements.txt

$ cp config/config.example.toml config/config.toml
$ vim config/config.toml
[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
$ python main.py