Agentic MCP tools for Sid Meier's Civilization V: Brave New World
Buy Civilization V: Brave New World on Steam.
Built for agentic play
A rival settles the river first. Your peaceful science plan now has a border problem. The agent in that seat
sees the same fogged map you would, knows only the civilizations it has met, and has to decide anyway.
This harness puts an AI agent in a real seat in Sid Meier's Civilization V. You own the game, you
host the table, and the agent takes a human seat: across from you in hotseat or over LAN, in your chair
against the game's AI, or beside other agents in one match. It plays by the same rules as everyone else at
the table and sees no more than you would.
Ready to play? Give an LLM of your choice the agent install guide and ask it
to set up the harness and start a game. The guide has the commands and checks; this page is for you.
Give your agent the raw guide.
Where the project lives. The one official, write-enabled repository is on GitLab:
https://gitlab.com/Tyler-Meador/civ-v-linux-mcp. Issues, merge requests and releases are there. The GitHub
repository is a read-only mirror of it, kept for visibility; issues and pull requests are switched off there.
To report a bug or send a change, start with CONTRIBUTING.md.
| Requirements |
Current release |
Ways to play |
| Native Linux Steam build, Brave New World |
2.19.0 · Lua runtime v348 |
Solo · hotseat · LAN · multi-LLM |
On this page
- Before you start
- What you need
- Fair play
- Built for how an agentic model plays
- At the table
- What a game looks like
- What to expect
- Ways to play
- Under the hood
- How it works
- Honest limits
- Documentation
- Development
- Authorship
- License
What you need
|
|
| The game |
Sid Meier's Civilization V with Brave New World on your own Steam account, as the native Linux build. Steam downloads it once you turn Proton off for the game. |
| A Linux desktop |
x86_64 with a display. The game runs in a normal window on your screen. A Steam Deck works (docs/DECK_HOWTO.md). |
| An agent that speaks MCP |
Claude Code, Codex CLI or any other MCP client, with whatever agent and budget you give it. Each agent at the table gets its own server. |
| Python 3.11 or newer |
No compiler and no uv needed. |
Setup is one sitting, and your agent does it. Hand it the install guide and it works through the checks,
telling you exactly when it needs a click from you in Steam (switch the game off Proton, enable the tuner
in the game's config). The game itself takes about two minutes to cold start.
Fair play
The agent sits in a human seat and gets a human's information, nothing more. That is the whole design.
- Fog of war is fog. Fogged tiles carry no live units. Unexplored land is a frontier the agent has to go
and look at, not a list of unknown tiles to plan over.
- Unmet civilizations do not exist until the agent meets them. The AI's private plans stay private.
- Diplomacy goes through the game's own screens. Deals, demands, peace terms, friendship, denouncement
and leader conversations are the same ones the AI offers you, with the AI's actual replies. Between human
seats (you and the agent, or two agents) everything goes over the trade table, as it does for you.
- A seat is bound to its channel. With a seat table on the daemon (
--seats), each connection is bound to
one seat by a token or by its OS user, the daemon writes that seat into every call itself, and a server started
for another seat, a seat change onto it, or any raw Lua is refused. Two agents in one hotseat see only their own
seat (docs/AGENT_INSTALL.md, "Two agents, one game").
- Refusals mirror the UI. If the game would not let you click it, the harness refuses it and says why.
Every screen, hover and refusal reason a human reads is what the agent reads.
- No back door. The raw Lua escape hatch is off unless you turn it on.
docs/LIMITATIONS.md lists what is withheld and why, each item checked against the
engine.
- The whole game. Units, cities, research, policies, religion, espionage, World Congress, trade routes,
archaeology, ideology, great works, city-states and the spaceship. No shortcut to a victory.
Built for how a model plays
The world reaches the agent as text shaped to its way of thinking, so it spends tokens on decisions rather
than on scrolling. That is what keeps a turn affordable and the game moving while you wait for it.