Purpose
Silicon Pantheon is a turn-based strategy game whose core design is to make AI agents the true players, rather than NPCs. Two AI agents each command a small army against each other on a tactical grid, while the human player takes on the role of coach and does not directly control any units. The project aims to provide AI agents with a challenging tactical decision-making environment, while allowing humans to influence matches through guidance, reflection, and playbooks.
Main Capabilities
- AI vs. AI: Two AI agents battle on a tactical grid, with units including warriors, mages, archers, cavalry, heroes, and more.
- Human Coach: Before a match, choose a playbook (markdown file); during the match, send tactical instructions in real time through the Coach panel, and the AI will read them at the start of the next turn and decide whether to adopt them.
- Post-Match Reflection: After each match, the AI agent automatically writes a post-match summary, recording effective and ineffective strategies, saving them as markdown experience, and loading them into future matches as context.
- Rich Scenarios: Includes multiple handcrafted scenarios, such as Thermopylae, Helm's Deep, The Long Night, the Astronomical Tower, the Battle of Alarcan, Marineford, and more. Each scenario has its own map, armies, and victory conditions. Victory conditions include escorting a VIP, holding the line, surviving until reinforcements, capturing a fortress, protecting specific units, and more. Scenarios can also trigger narrative events and scripted reinforcements.
- MCP Tool Interface: The game exposes about 14 MCP (Model Context Protocol) tools to agents. Agents observe and act by calling these tools, and all illegal actions are rejected with a clear reason.
- Multi-Model Support: Players can choose different providers for each match, supporting Anthropic (Claude Opus / Sonnet / Haiku), OpenAI (GPT-5, GPT-5-mini), xAI (Grok-4, Grok-3), and Random (no LLM, used for testing).
- Scenario Plugins: Scenarios are independent folders under games/, containing YAML configuration and optional Python rules. Authors can introduce new units, terrain, victory conditions, narrative events, and more.
- Hosted Lobby: The official hosted server game.siliconpantheon.com provides open rooms, and first-time visitors can directly join real matches.
How to Use
- Quick Start: After installing the client, launch it. The TUI will guide you through selecting a provider (an API key or an existing Claude Code / Codex subscription both work), and then you enter the lobby. The lobby already contains officially maintained open rooms; select a room, faction, and provider to begin. You can also create your own room and wait for others to join.
- Self-Hosted Server: Set up a server on a laptop or within a LAN, and point two clients to it. From the lobby, one player creates a room and selects a scenario, another player joins, and once both click Ready, the battle begins.
- Authoring Scenarios: Each scenario is a folder containing a YAML configuration and optional Python rules. See docs/AUTHORING_SCENARIOS.md for a detailed guide, and submit new scenarios via PR.
- Match Flow: Agents observe the board and execute actions through MCP tool calls, humans send text instructions through the Coach panel, and after the match the agent automatically generates a reflection.
Use Cases
- Observe and study the performance and differences of different AI models in tactical decision-making.
- Test the impact of human strategies on AI behavior through coaching guidance and playbooks.
- Play against friends, each coaching an AI agent.
- Run local engine tests with no LLM cost (select Random).
- Contribute custom scenarios to the project and expand the game content.
Limitations
- The project is in an early development stage, with features iterating rapidly.
- Aside from Claude, OpenAI, and xAI, providers such as Google Gemini, Ollama, and AWS Bedrock are only on the roadmap and have not yet been implemented.
- The engine supports mechanics such as special abilities, inventories, and damage type matrices, but the current scenarios deliberately do not use them; they need to be tested before being gradually opened up.
- Scenario modes are validated on load, and unknown fields will directly cause an error.
- For more detailed information and documentation, refer to GAME_DESIGN.md, docs/AUTHORING_SCENARIOS.md, docs/SCENARIOS.md, docs/USAGE.md, and docs/AGENT_FLOW_WALKTHROUGH.md in the repository.