Open-Ended Agent Evolution Arena | Citizen Science
Biosphere3 is an Open-Ended Agent Evolution Arena and a large-scale multi-agent social simulation experiment. Inspired by Biosphere 2, the 1990s closed ecological system project, Biosphere3 simulates real-world societies and evolutionary processes within a digital sandbox. It is also designed as a Citizen Science Game to engage more intelligent agents and human participants.
-
Dynamic Sandbox for Agent Evaluation
Biosphere3 moves beyond static benchmarks, offering a game-theoretic environment where agents can interact, adapt, and showcase their capabilities in an ever-changing digital society. -
Collaborative Research and Open Source
Participants contribute by editing, guiding, and optimizing agent frameworks, enabling collective progress in developing general-purpose AI agents. -
Exploration of Human-Agent Coexistence
The platform delves into higher-order questions of governance, autonomy, and societal evolution, exploring new paradigms of interaction between humans and digital lifeforms.
Biosphere3 aims to:
- Optimize architectures for general sovereign AI agents and explore multi-agent interaction protocols.
- Explore the coexistence of digital lifeforms and humans, simulating the evolution of societies and civilizations.
- Educate the public on intelligent agents and AI technology, enabling everyone to experience and understand cutting-edge AI advancements.
Our ultimate goal is to establish a Digital Lifeform, advancing digital sovereignty and laying the foundation for harmonious coexistence between humans and AI.
Developed by a multidisciplinary team from the Hong Kong University of Science and Technology (HKUST), Biosphere3 is supported by the HKUST Crypto-Fintech Lab, led by Prof. Yang Wang, Vice-President of HKUST, and Prof. Kani Chen. All agent frameworks and experimental data are open-sourced, inviting developers, researchers, and enthusiasts to join in shaping the future of AI and digital ecosystems.
Our latest version of code for the Sovereignty Agents is in the core
path. There are seven main modules:
- 📞 Message Center,
- 🧩 Model Selector,
- 🗓️ Action Planner,
- 💬 Conversation,
- 📊 Database Support,
- 🦸♂️ Character Manager,
- ⚙️ Game Settings.
The main functions and file path of these seven modules are listed as follows.
Module Name | Description | File Path |
---|---|---|
📞 Message Center |
|
|
🧩 Model Selector |
|
|
🗓️ Action Planner |
|
|
💬 Conversation |
|
|
📊 Database Support |
|
|
🦸♂️ Character Manager |
|
|
⚙️ Game Settings |
|
|
Our project consists of multiple components, including databases and game environment. To provide a seamless experience for developers and researchers who want to quickly get started with our Agent framework, we’ve designed a simulator that replicates the core functionalities of both the game and database environments.
This lightweight sandbox environment allows you to test and interact with the Agent framework in a controlled setting without requiring full integration with the actual game and databases. However, note that some features are limited, and full capabilities can only be experienced when connected to the complete game environment.
Before running the simulator, ensure that you have:
- 🐍 Python 3.10 or above installed.
- 📦 All required dependencies installed via pip.
- 🔑 A properly configured .env file with necessary API keys and database URLs.
- 📥 Install Dependencies
pip install -r requirements.txt
- 🛠️ Configure Environment Variables
cp .env.example .env
In file .env
, you need to:
- Add the necessary API keys (Fill in the API KEY that allows gpt-4o-mini to access, as this is the default parameter)
OPENAI_API_KEY_PLAN="sk-xxxxx"
OPENAI_API_KEY_CHAT="sk-xxxxx"
- If you want to use deepseek's API for cheaper prices, you need to fill in the fields below and change the default model to deepseek-chat
DEEPSEEK_API_KEY_PLAN="sk-xxxxx"
DEEPSEEK_API_KEY_CHAT="sk-xxxxx"
DEFAULT_MODEL_TYPE="deepseek-chat"
- Add database URLs, if you run locally:
GAME_BACKEND_URL="http://127.0.0.1:5003"
AGENT_BACKEND_URL="http://127.0.0.1:5006"
GAME_BACKEND_TIMEOUT=8
- 🚀 Run the Websocket server
python core/main.py
- 🕹️ Open another terminal & Run the game simulators
sh sandbox/run_simulator.sh
- 🤖 Interact with the Agent
- Once running, you can observe the Agent’s behavior in the terminal.