You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Raphael Shu edited this page Aug 11, 2025
·
5 revisions
=== Option 1: Connection play.agentworld.io
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:
=== Option 2: Connect to local game
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