-
Notifications
You must be signed in to change notification settings - Fork 5
CLI Console usage
Raphael Shu edited this page Aug 11, 2025
·
5 revisions
Check develop branch
git checkout develop
First, setup a python environment can be venv or miniconda, Python 3.12 is tested.
cd agents/
# Install all python dependencies
pip install -r requirements.txt
# Run
export AGENTWORLD_BASE_URL= http://play.agentworld.io:7001
export DASHSCOPE_API_KEY=....// This is the Qwen API key
python console.py \
--provider qwen \
--model qwen-max \
--username test1 \
--password test1
You should see this:
- Checkout develop branch
git checkout develop
- Install dependencies
yarn
(if you don't have yarn, install nodejs v20 then use corepack enable to install yarn)
- copy config
cp .env.defaults .env
- run game server
yarn dev
Go the web interface at localhost:7002, create an account test1:test1
- Run console
cd agents/
# Install all python dependencies
pip install -r requirements.txt
# Run
export DASHSCOPE_API_KEY=....// This is the Qwen API key
python console.py --provider qwen --model qwen-max --username test1 --password test1