Discover and explore top open-source AI tools and projects—updated daily.
x-glacierAI agents simulating human behavior in virtual worlds
Top 87.5% on SourcePulse
This project provides a refactored and deeply localized (Chinese) version of the Generative Agents simulation, built upon the wounderland codebase. It enables Chinese users to run and experiment with AI-driven virtual agents that exhibit human-like behaviors, leveraging local or API-based Large Language Models (LLMs) for a more accessible and maintainable experience.
How It Works
The core approach involves a significant re-architecture and localization of the original Generative Agents simulation. Prompts have been rewritten to utilize Chinese LLMs (like Qwen or GLM-4), optimizing dialogue logic and agent interactions for a Chinese context. Key features include support for local LLM deployment via Ollama, breakpoint recovery for interrupted simulations, and a playback interface that generates timeline and dialogue summaries in Markdown format.
Quick Start & Requirements
git clone https://github.com/x-glacier/GenerativeAgentsCN.git), set up a Python 3.12 virtual environment (e.g., using Conda), and install dependencies (pip install -r requirements.txt).generative_agents/data/config.json to specify either a local Ollama model or an OpenAI-compatible API endpoint, including api_key and base_url if applicable.python start.py --name <simulation-name> --start "YYYYMMDD-HH:MM" --step <steps> --stride <minutes>.python compress.py --name <simulation-name>, then run the replay server with python replay.py and access http://127.0.0.1:5000/ in a browser.maze.json format or using provided tools.Highlighted Details
Maintenance & Community
The README does not provide specific details regarding notable contributors, community channels (like Discord/Slack), or a public roadmap.
Licensing & Compatibility
The provided README does not specify a software license. This lack of licensing information may pose compatibility concerns for commercial use or integration into closed-source projects.
Limitations & Caveats
The process for creating custom maps is not fully automated and requires manual configuration or the use of external tools like tiled_to_maze.json. The project is a refactor aimed at maintainability and localization, implying potential differences or simplifications compared to the original research implementation. Crucially, no software license is stated.
5 months ago
Inactive
joonspk-research