Deploying AgentVerse is recommended to be installed manually via a Git clone, and the process consists of four key steps:
- Code Fetch: Use
git clone --depth 1
Download the latest code - Environment Installation: Run
pip install -e .
Installing core dependencies - Model Configuration: Set the environment variables according to the type of model used:
- OpenAI services need to be configured
OPENAI_API_KEY
- Local LLaMA needs to be installed
requirements_local.txt
- Separate service startup required for vLLM mass inference
- OpenAI services need to be configured
- Tool Support: If you need a web browser or other tools, you need to install BMTools additionally.
Special note: Python version needs to be ≥3.9, the memory requirement is higher when using local models (e.g. LLaMA-2-7b needs at least 10GB video memory), it is recommended to verify the compatibility of the environment first.
This answer comes from the articleAgentVerse: An Open Source Framework for Deploying Multi-Intelligence Collaboration and SimulationThe