Project Name
AI Villagers / BotNextDoor
Problem Statement
Most AI-powered games today use artificial intelligence as a background tool—automating movement or generating filler content —rather than making it central to gameplay. Players rarely engage in meaningful, emotionally resonant interactions with AI characters who possess memory, autonomy, and preferences.
AI Villagers is here to fill the gap. We’re building a new kind of multiplayer strategy game with dynamics that is not previously possible before the age of LLMs. In this world, you must persuade intelligent, opinionated AI villagers to join your community—not through combat or quest completion, but by building relationships and negotiating values.
Solution Overview
AI Villagers is a persistent online multiplayer game that uses AI NPCs as central agents, not background tools. These NPCs make independent decisions based on player actions, conversation tone, and their own internal personalities. Every AI decision is stored on-chain for transparency and verifiability, leveraging Metis SDK and Alith for dialogue inference and logic execution.
Players must strategically build environments, manage relationships, and hold intelligent conversations to convince AI NPCs to live—and stay—in their village. With AI-powered decision-making, personality modeling, and persistent conversational memory, the game becomes a social simulation of diplomacy, resource management, and emotional intelligence.
Core Gameplay Mechanics
1. Village Building (Strategic Design Layer)
Players build out their village using a grid-based system. Each tile contributes to environmental stats such as comfort, pollution, efficiency, and aesthetics. Different villagers are drawn to different traits (e.g., minimalists vs. techies vs. nature lovers). There’s no one-size-fits-all solution—your environment must align with your target NPCs.
Some NPCs also carry inventories containing unique resources or “building blocks” that only become available to the village they reside in. These inventories refill at a fixed rate, adding strategic value to recruiting and retaining specific villagers.
2. NPC Decision-Making (AI-Powered Logic + On-Chain Scoring)
To prevent players from gaming AI decisions, the recruitment process relies on a hybrid scoring system:
- Base Score (Non-AI, Deterministic): Based on static environmental factors like resource availability, pollution levels, or infrastructure.
- NPC Affinity Score (AI, Context-Free): Determined by the tone and sentiment of player conversations—players who are rude or manipulative will get penalized.
- NPC Preference Score (AI, Context-Aware): Based on deeper personality modeling and evolving preferences over time.
These scores are combined and compared against a threshold to determine whether the NPC joins the village. Final decisions and scores are made via on-chain AI inference using Alith, ensuring transparency and resistance to manipulation.
To interact, players must choose:
- [Chat]: Send a message to the NPC (on-chain, costs a small ETH fee per message).
- [Convince]: Trigger an on-chain decision using prior interactions and environmental data.
There are daily chat limits, encouraging thoughtful and strategic engagement over spamming.
3. Strategic Recruitment & Competitive Diplomacy (PvP + PvE Blend)
Villagers can only reside in a limited number of villages simultaneously. If a new player convinces an NPC already housed in another village, the system will drop the village with the lowest cumulative affinity score—causing migrations that simulate soft PvP dynamics. NPCs can migrate over time if their satisfaction falls, adding tension and competition.
Some of the features below still need to be fleshed out, but ideally players can:
- Form guilds and coordinate recruitment efforts (TBD)
- Trade resources freely with others to build alliances.
- Use NPC relationships (stored as a dynamic matrix of inter-NPC affinity scores) to attract clusters of villagers who like one another.
Villages may also be geographically mapped on a larger grid. We’re exploring how proximity affects competition and migration threshold.
4. Conversational Strategy & Social Risk
A key innovation is the publicly queryable conversation history stored on-chain. Players can:
- Reference past conversations from themselves or others.
- Use excerpts as “evidence” during persuasion attempts.
- Your word may be used against you when others try to convince their NPC to migrate
This mechanic encourages players to treat NPCs with respect and emotional intelligence, as every word may come back to affect gameplay. We want to make a game such that talking to an AI in this game is more like talking to a real person you would meet than issuing commands.
Leaderboard & Rewards
Players are ranked by the weighted cumulative total stay-time of NPCs in their village. The longer an NPC stays, the more points you earn. Top-ranked players may receive NFTs, token rewards, or cash prize.
This reward system encourages not only recruitment but long-term relationship building—a village that NPCs want to stay in.
Tech Stack
- Frontend: Next.js
- Game Engine: Phaser
- Backend: Django / Express
- On-Chain AI: Alith + Metis SDK
- Indexing: The Graph
Community Engagement
Players and early community members will be invited to beta test and submit suggestions for NPC personalities, character traits, and village archetypes. Community-designed characters may be added to the official pool of villagers.