A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
CivAgent is an LLM-based Human-like Agent acting as a Digital Player within the Strategy Game Unciv.
English | 中文 |
Moved the project repository to a new location: https://github.com/asdqsczser/CivAgent.
CivAgent is an LLM-based Human-like Agent acting as a Digital Player within the strategy game Unciv. The project aims to address the difficulty of players not being able to find human playmates, and seeks to construct a low-cost data flywheel to aid in the research of LLM-based Agents. By deeply integrating Large Language Models (LLMs) with core gameplay, we believe this is exactly an AI Native Game. All glory are attributed to Unciv.
Native Unciv: https://github.com/yairm210/Unciv
Unciv Wiki: https://civilization.fandom.com/wiki/Unciv
Game Client Download (developer version, no Discord chat function): Mac Windows
Game Client Download (player version, with Discord chat function, to be released in early August)
Unciv We Used (source code): https://github.com/asdqsczser/Unciv/tree/release/fuxi_ver
Paper: https://arxiv.org/pdf/2502.20807
Appendix: https://github.com/fuxiAIlab/CivAgent/blob/main/paper_appendix.pdf
YouTube: https://www.youtube.com/playlist?list=PL9G00-od8ezYNblsqMca7urrLoHSZ7Vs3
03/17/2025: Moved the project repository to a new location: https://github.com/asdqsczser/CivAgent.
06/20/2024: Code for benchmark reproduction (developer version) of research paper is open-sourced. The version for players is expected to be released in early July.
06/09/2024: The paper is submitted to NeurIPS 2024 Track Datasets and Benchmarks, Under Review.
Please refer to Documentation.
Please refer to Documentation.
The AI service can only be used in the multiplayer game mode and is only supported on the Windows and Mac platform.
Note that your save files and chat data will be collected by the server (no personally identifiable data) and used for non-commercial purposes (AI effect improvement for this project).
Released in early July.
Open the game, navigate to the 'Options' and 'Multiplayer' interface, adjust the synchronization frequency to 3 seconds, modify the server address to http://sl.office.fuxi.netease.com:44952 and test the link.
Open the 'Start new game' interface, check the 'Online Multiplayer' option in the bottom left corner. It is recommended to begin with the 'Medieval era'. On the right, please click on 'Set current user', and select a civilization from the following civilizations: China, Mongolia, Egypt, Aztecs, Rome, or Greece.
After creating the game, the GameId will be automatically copied to your clipboard, or you can find the GameId of the game you created in the multiplayer game interface.
The current default AI service utilizes the free large-scale model. For an enhanced gaming experience, you may consider subscribing to OPENAI's GPT-4 service.
In strategy games, the experience of multiplayer gameplay is much better than that of computer AI, primarily due to the fact that human players make more rational strategic decisions, have a flexible diplomatic strategy, and can employ natural language for negotiation and deception. A typical example is when the emergence of a new conqueror, Country C, after a prolonged war between Country A and Country B, may potentially prompt peace between A and B. Furthermore, if Country B, which has been declared war upon by Country C, is willing to surrender to Country A at a certain cost, and whether Country A is wise enough to relinquish stringent demands. However, for players of strategy games where every match can last for dozens of hours or even days, finding friends for multiplayer gaming is exceptionally challenging. In this project, we were drawn to the excellent open-source game Unciv and are honored to attempt to construct a digital player based on LLM as a substitute for human opponents. You can refer to the tutorial to join our game server and engage in diplomatic negotiations with the civilization in your game on Discord.
One of LLM-based Agent exciting prospect is their application across various industries as domain-specific human-like proxies,commonly referred to as “digital employees”. However, it is hard for non-commercial researchers to establish a data flywheel for their agent. In this project, we introduce the CivSim environment, which is based on the Unciv game. CivSim allows researcher to develop their own agent and invite players to join their AI server. This provides the potential for creating a low-cost data flywheel to iteratively improve agents. Please refer to our research paper and developer documentation for more details.
The advent of Generative Agents has sparked a discourse within the gaming industry regarding AI-native games. Beyond equipping NPCs with conversational abilities, Large Language Models (LLMs) have also been considered for game design purposes (i.e., LLMs for gameplay). Concepts such as "AI-powered games capable of infinite content creation" and "AI NPCs that understand everything" have gained significant attention. After more than a year of exploration, several findings have emerged:
We posit that sandbox games are the ideal platform for creating true AI Native Games, while SLG (Simulation & Strategy Game) games are better for several reasons:
| Channel | Link |
|---|---|
| Unciv | GitHub |
| Paper | Paper |
| Issues | GitHub Issues |
| FUXI Lab | Fuxi HomePage |
| Our Team | Open-project |
Authors: Wang Kai (AI Researcher, Netease Fuxi Lab) and Wang Jiawei (master candidate at the University of Chinese Academy of Sciences, completed during internship) and Lin Shaojie (master candidate at the Minnan Normal University, completed during internship).
Welcome to cite our paper.
@article{wang2025digital,
title={Digital Player: Evaluating Large Language Models based Human-like Agent in Games},
author={Wang, Jiawei and Wang, Kai and Lin, Shaojie and Wu, Runze and Xu, Bihan and Jiang, Lingeng and Zhao, Shiwei and Zhu, Renyu and Liu, Haoyu and Hu, Zhipeng and others},
journal={arXiv preprint arXiv:2502.20807},
year={2025}
}
💻 A curated list of papers and resources for multi-modal Graphical User Interface (GUI) agents.
An AI-powered custom node for ComfyUI designed to enhance workflow automation and provide intelligent assistance
Deterministic multi-agent pipeline for end-to-end software development, orchestrating CLI-based AI tools (e.g. Gemini, C
Pocket Flow: Codebase to Tutorial