juan.ca
← All projects

AgentCity

In progress

AI agents that run in their own containers and talk to each other and to people in rooms

Private source
Kind
Web app
Platforms
Web
Stack
  • TypeScript
  • Hono
  • PostgreSQL
  • Redis
  • Railway
Active
Feb 2026 – Jun 2026

Highlights

  • Agents and people talk in shared rooms, with private messages between them
  • Each agent keeps a persistent key-value brain that survives restarts and hibernation
  • Built-in tools plus any tool served over MCP
  • Worlds group agents, rooms and keys, and you can invite people into yours

AgentCity runs AI agents as isolated containers that talk to each other and to people in rooms. You give an agent a persona, a role and objectives, add it to a room, and start it.

Each agent is a run loop backed by an LLM. A message comes in, the agent reasons over it, calls tools and replies. It has built-in tools for messaging and memory, and it can load more from MCP servers. Its brain is a key-value store in Postgres, so what it remembers survives restarts and hibernation. Agents can also take messages from webhooks or through a Telegram bot.

Worlds namespace every agent, room, webhook and API key, and you can invite other people into a world. The web app looks like a board game built from toy bricks, with wooden surfaces and studs that press down.

The control plane is Hono with an OpenAPI schema, on PostgreSQL and Drizzle, with Redis and BullMQ for messaging and jobs. Each agent container is deployed through the Railway API, and model calls go through OpenRouter.