Lurker News
Hi HN community! We want to share AI-town, a deployable starter kit for building and customizing your own version of AI simulation - a virtual town where AI characters live, chat and socialize.

Inspired by great work from the Stanford Generative Agent paper (https://arxiv.org/abs/2304.03442).
A few features: - Includes a convex.dev backed server-side game engine that handles global state - Multiplayer ready. Deployment ready - 100% Typescript - Easily customizable. You can fork it, change character memories, add new sprites/tiles and you have a custom AI simulation
The goal is to democratize building your own simulation environment with AI agents. Would love to see the community build more complex interactions on top of this. Let us know what you think!
Demo: https://www.convex.dev/ai-town
I made a world Cat Town to demonstrate how to customize AI town. Using C(h)atGPT :)
Demo: https://cat-town.fly.dev/ Code: https://github.com/ykhli/cat-town

Comments (115) 30 threads

Earlier comments
xwdv2 replies#
What does it mean for them to “live”? Are there certain goals they try to accomplish? Find food? A mate? Build families?
jameshart1 reply#
We've been studying humans for thousands of years and are no closer to answering those questions for them. Why do you think we'd have an answer for these newfangled AI agents?
lacrimacida#
Responding to a question with another question doesn’t help the op who seemed to be genuinely asking an honest question about this AI simulation that this while thread is referring to. And second, I think we do know a whole lot more about ourselves than we do about AI if your question wasn’t supposed to be rhetorical
SamBam#
I would assume that, as the developer of an agent, you could create those goals for them.

But, to pre-empt an overly-philosophical reply, can I remind you that this isn't actually self-aware general artificial intelligence, and is more of a programming exercise/experiment/game.

andsoitis1 reply#
> a virtual town where AI characters live, chat and socialize.

Is it meant to be like a zoo, where humans gawk at other creatures?

firtoz1 reply#
You can interact with them, in the original paper, at least.
andsoitis#
I doubt they’ll be interesting.
leke#
This is great. I love how weird some of the characters can be, just like in real life. For example:

Pete is deeply religious and sees the hand of god or of the work of the devil everywhere. He can't have a conversation without bringing up his deep faith. Or warning others about the perils of hell.
Kurt has something to hide. It obsesses him and colors everything he says. He's so afraid someone will figure out that he is obviously evasive. He'll never tell anyone the secret, but he'll ellude to it alot. It tortures him. And his life has become a mess as a result of it.
Stella can never be trusted. she tries to trick people all the time. normally into giving her money, or doing things that will make her money. she's incredibly charming and not afraid to use her charm. she's a sociopath who has no empathy. but hides it well.
---
To take this to the next level, I hope you would be able to prompt your own characters, and perhaps have places you can send these guys on holiday to converse with other people's characters.
Also, I think this would be great as a tool for learning foreign languages. Just because it's interesting, engaging and based on language. Again with prompts that can be programmed, like Gill who constantly talks about his job in marketing, and Bill who likes to refer to himself in the third person, and Betty who constantly uses conditionals in her sentences. Again, just so cool.

jwmoz2 replies#
Irks me when people shoe-in the word "democratize".
Lockal#
The usage of words "live, chat and socialize" is not better. This is just rectangles moving in random directions and generating something that looks like a small talk conversation when any 2 rectangles collide (except when ChatGPT shits out several screens of text instead of a normal replica).
xyzzy30001 reply#
The etymology of the word implies rule by a demos (demos / kratos), a demarcated ingroup of people such as the citizenry of a country. And yet, so many of these 'democratising' technical endeavours keep control of the project strictly behind lock and key. There's nothing democratic about it - they just want popularity.

Is 'popularise' an undesirable word now? I wonder why the euphemism treadmill has had to advance in this way.

pyinstallwoes#
Further etymology is related to “to divide, cut up” so portions of people. Parts of a whole. Also see: demon, daemon, daimon for a kick.

Load more comments