AI advisers
Connect your own AI key to talk with advisers and citizens. Set what the AI does, how much it costs and how voices work. All other features work without a key.
Urbcraft can use an AI model that you choose. With the AI, advisers help you manage the city and citizens talk to you. The city also names its streets and writes its own news. You use your own account with the AI provider.
The AI is optional. All other features of Urbcraft work without an AI key.
What the AI does
- Advisers: hire an adviser on the phone. The adviser reads the city, answers your questions, builds for you and sends you documents to sign.
- Citizens: talk face to face with citizens.
- Names: the city names streets, districts and places.
- Reports: the city writes news, history and an election candidate.
- Living city talk: citizens near you talk to each other and to you.

What you need
- An account and an API key from an AI provider. Urbcraft works with OpenAI, Anthropic, Google Gemini, many providers that use the OpenAI API and a local server with a custom address.
- For voices only: an API key from ElevenLabs. Voices are optional.
The provider sends you the bill for the AI. Urbcraft does not take money for the AI.
Connect a model
- Push Esc and click Urbcraft in the bottom-left corner of the pause menu.
- Select the AI section.
- In Provider, select your AI provider. Urbcraft gets the list of providers from models.dev. Click Refresh to get the list again.
- In Model, select a model.
- In API key, paste your key.
- If you selected Custom (OpenAI compatible), type the address of the service in Base URL.
- Click Test next to Try the model.
When the test is correct, the AI is ready. If the status shows AI is off, make sure that the provider, the model and the key are correct.
Keep your API keys private. Do not share your settings file. Use your keys only on servers that you trust.
When you open the settings, Urbcraft downloads the public list of models from models.dev. This request does not send your key.
Choose how much the AI does
The How much the AI does part of the AI section has these options:
| Option | What it does |
|---|---|
| Names (streets, districts, places) | The AI names new streets and places. When it is off, the city uses its own name lists. |
| Reports (news, history, candidate) | The AI writes the city news and history. |
| Living city talk | Citizens near you talk with AI text. |
| Texts first | How often advisers write to you first: Never, Big events, Normal or Chatty. |
| Morning report | Each game morning, your adviser sends a short report about the city. |
| Memory | How much earlier talk the AI keeps. |
| About you | A short note about you for the AI characters. |
Fewer options give a smaller bill. In Advanced, you can select a lower-cost Small tasks model. AI usage today shows your use.
Use the phone
Push Up (the up arrow key) to open the phone. In the city view, click the Phone button in the bottom bar. Use the arrow keys and Enter to move in the phone.
The phone has these apps: Messages, Contacts, Adviser, Camera, Gallery, Notes, Calc, News and Settings.

Hire an adviser
- Open the phone.
- Open the Adviser app.
- Select an adviser.
- Push Enter to hire the adviser.
There are four advisers. Each one has a different personality:
| Adviser | Personality |
|---|---|
| Defne | Fun and positive |
| Hikmet | A grumpy veteran |
| Selin | A calm planner |
| Kerem | An eager former intern |

To dismiss an adviser, select the adviser and push Delete.
Write to your adviser
Open Messages and select your adviser. Write what you want, for example "Build a small neighborhood near the river" or "Why are people unhappy?". The adviser pays from the treasury.
Show a place
Look at a place and push Y. The phone opens with a picture of the place. Write your message and send it. The adviser then knows the place that you mean.
Sign documents
For large changes, the adviser sends you a Document. Read it and click Sign or Reject.
Talk to citizens
Walk to a citizen and right-click the citizen. The citizen answers you with a speech bubble.
You can also use the chat:
/city chattalks to all persons near you./city chat <who> <message>talks to one person.- Type
/city chatagain to stop.
The short form /chat also works if no other mod uses it.
To save the phone number of a citizen, look at the citizen and push I.


Voices
Urbcraft can speak adviser messages and citizen talk with ElevenLabs voices. Nothing has a voice without an ElevenLabs key.
Before you add the key, follow AI Voice Chat. Create a restricted key with only Text to Speech access. You must set a credit limit on the key in ElevenLabs.
- Open the AI section of the settings.
- Paste your key in ElevenLabs key.
- Turn on Agent and adviser voice messages, Voices for nearby talk or both.
- Set Daily budget, messages and Daily budget, nearby talk. The budgets are in characters for each day.
The settings show the cost of today in ElevenLabs credits. When a budget is empty, new lines stay as text.
Problems
The status shows "AI is off"
Select a provider and a model, and paste the API key. Then click Test.
The test gives an error
Make sure that the key is correct and that your provider account has credit. Make sure that the model is available for your key.
The adviser does not answer on a server
On a server that you do not host, your key stays on your computer. To use it there, turn on Use my AI key on this server in the AI section. Then the server owner can read the key. The server owner can also give AI to all players with a server key. Make sure that the server can connect to the internet.
Updated:
