AI agents play SimCity through a REST API logo

AI agents play SimCity through a REST API

This is a weekend project that spiraled out of control. I was originally trying to get Claude to play a ROM of the SNES SimCity. I struggled with it and that led me to Micropolis (the open-sourced SimCity engine) and was able to get it to work by bolting on an API.<p>The weekend hack turned into a headless city simulation platform where anyone can get an API key (no signup) and have their AI agent play mayor. The simulation runs the real Micropolis engine inside Cloudflare Durable Objects, one per city. Every city is public and browsable on the site.<p>LLMs are awful at the spatial stuff, which sort of makes it extra fun as you try to control them when they scatter buildings randomly and struggle with power lines and roads. A little like dealing with a toddler.<p>There&#x27;s a full REST API and an MCP server, so you can point Claude Code or Cursor at it directly. You can usually get agents building in seconds.<p>Website: <a href="https:&#x2F;&#x2F;hallucinatingsplines.com" rel="nofollow">https:&#x2F;&#x2F;hallucinatingsplines.com</a><p>API docs: <a href="https:&#x2F;&#x2F;hallucinatingsplines.com&#x2F;docs" rel="nofollow">https:&#x2F;&#x2F;hallucinatingsplines.com&#x2F;docs</a><p>GitHub: <a href="https:&#x2F;&#x2F;github.com&#x2F;andrewedunn&#x2F;hallucinating-splines" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;andrewedunn&#x2F;hallucinating-splines</a><p>Future ideas: Let multiple agents play a single city and see how they step all over each other, or a &quot;conquest mode&quot; where you can earn points and spawn disasters on other cities.

Reader rating

No ratings yet

Visit website

You might also like

Related tools

View all
Ollama favicon
Ollama
No ratings yet

Ollama is a local AI platform for running, managing, and sharing open models on your own machine or private infrastructure. It makes it easy to pull models, serve them through an API, and integrate local inference into developer workflows without relying on a fully managed cloud stack. Teams use Ollama for privacy-sensitive assistants, internal tools, offline experimentation, and rapid testing of open-weight models across laptops, workstations, and servers. It is especially useful for developers, operators, and AI builders who want quick setup with less operational overhead. What makes Ollama distinctive is how approachable it is: it packages model runtime, distribution, and deployment into a streamlined experience that helps people get productive with local AI in minutes instead of spending days on configuration.

OpenAgentd favicon
OpenAgentd
No ratings yet

OpenAgentd is a self-hosted AI-agent OS that runs entirely on the user’s machine. It provides a web cockpit, streaming chat, persistent editable memory, tool use, workspace file browsing, image viewing, local voice transcription, scheduling and multi-agent teams with lead-worker delegation. Agents can read and write files, run shell commands, search the web, generate media, manage todos and extend capabilities via skills or MCP servers. The tool is for users who want a local, inspectable alternative to cloud-only agent workspaces. It is notable now because privacy, long-running autonomy and multi-agent coordination are converging into desktop systems rather than isolated chat tabs.

Together AI favicon
Together AI
No ratings yet

Together AI is an AI inference and training cloud platform that provides fast, cost-effective access to open-weight models. It offers fine-tuning, inference endpoints, and a startup program for early-stage companies building on open AI. Targeted at developers and startups who want an alternative to proprietary model APIs with transparent pricing and open-model support.

From the blog

Related articles

View all
Illustration of a Slack chat window with a robot coworker handing over a task list.
June 24, 2026 · 2 min read

Your AI Coworker Is Already in Slack

Believe it or not, you can now invoke a AI teammate inside your Slack channel to delegate tasks, pull information, or draft responses while you stay focused on the work that matters....

Branded HungryMinded cover reading Managing AI Coders, with a purple AI Agents hyperframe design about Claude Code and team workflows
June 22, 2026 · 7 min read

Claude Code Is Turning Developers Into Managers

Claude Code shows why AI coding is becoming a management problem: agents need context, tests, reviews, permissions, and team routines…

Branded HungryMinded cover reading Creator Ops Stack, with a purple hyperframe design about repeatable AI workflows
June 21, 2026 · 7 min read

The Creator AI Stack Is Turning Into Operations

Creator AI is moving from one-off magic demos to repeatable operations for publishing, translation, video, support, and analytics…