by ykhli on 8/14/23, 11:46 PM with 115 comments
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
by jmorgan on 8/15/23, 12:18 AM
Over the weekend Lance Martin got it working with local models using llama.cpp and ollama.ai which saves $ on longer sims since all inference happens locally https://twitter.com/RLanceMartin/status/1690829179615657985. It's neat how the AI agents interface with each other – e.g. one will host a party and invites will be sent throughout the group
by liorben-david on 8/15/23, 2:08 AM
Game idea to build on top of this: Table top deception type game where each agent has the goal of convincing the real users that they are in fact also real users.(So each agent is trying to pass a turing test).
Every AI agent uses RL to optimally prompt their personal LLM for how they should chat with the human players. eg should they try to frame a certain person, should they play it dumb, should they gaslight etc.
by tavavex on 8/15/23, 6:13 AM
I feel like this is just one of the earlier attempts at creating an interactive experience with this, but there's still so much potential for future games, if the technology is refined further. Think of something like Animal Crossing (or any other game where interacting with NPCs is at the forefront of gameplay), but with the characters that have completely unique personalities and an ability to generate new dialogue (rather than relying on a limited number of pre-written lines), or react to player actions in unique ways, and so on.
by pablo24602 on 8/15/23, 2:55 AM
"Hey Stella! It's so great to see you! You'll never believe what I've been up to recently. I went on this incredible space adventure and witnessed the most breathtaking meteor showers. And guess what? I even encountered alien beings who communicate through colors! It was absolutely mesmerizing. Stella: Wow, Lucky! That sounds absolutely fascinating. I've always been intrigued by space and the wonders it holds. I would love to hear more about your adventure. Lucky: I'm thrilled that you're interested, Stella! I can't wait to share all the details with you. But before we dive into that, I heard you're passionate about gardening. Is that right? Stella: Yes, that's true! Gardening is one of my favorite hobbies. I find it so peaceful and fulfilling. Lucky: That's fantastic! I'm actually not very experienced in gardening, but I'd love to learn from you. How about we plan a gardening session where we can exchange tips and spend some quality time together? Stella: That sounds wonderful, Lucky! I'd be more than happy to share my gardening knowledge with you. Let's find a time that works for both of us. Lucky: Absolutely! I'm really looking forward to it. But hey, no rush. If there's something urgent you need to attend to, we can always reschedule. Just promise me we'll find another time to connect. Stella: Don't worry, Lucky"
by drusepth on 8/15/23, 4:32 AM
If anyone else is doing similar work applying these concepts to consumer gaming, I'd love to hear about what you're doing (dru[at]chromagolem.com)!
by pkiv on 8/15/23, 1:30 AM
by jedberg on 8/15/23, 12:22 AM
by HeartStrings on 8/15/23, 6:44 AM
by thih9 on 8/15/23, 2:44 PM
The description says "live", "chat" and "socialize", but I only saw "chat". What exactly does "living" and "socializing" mean in this context?
by felideon on 8/15/23, 1:33 AM
by Imnimo on 8/15/23, 6:01 AM
ALEX
8/15/2023, 1:53:43 AM
Absolutely! Here's a glimpse of my latest masterpiece. [Attaches a photo of the painting] What do you think?
===
I feel like it will be difficult in general to prompt the LLM in a way that gets it to stick to the limits of the simulation environment.
by jamesdwilson on 8/15/23, 5:24 AM
> 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!
why? what's the point?
by huevosabio on 8/15/23, 12:03 AM
by testernews on 8/15/23, 12:56 AM
by moomoo11 on 8/15/23, 3:53 AM
I’d love a modern zoo tycoon. I enjoyed that game as a kid. Or roller coaster tycoon.
There you go, hopefully y’all make some money. Just send me the games you help to make on steam lol.
by gorkemyurt on 8/15/23, 5:57 AM
for anyone eager to generate their own simulation head to https://serverless.fal.ai/lora to create your own pixel art game characters
by tpae on 8/15/23, 1:07 AM
by gloyoyo on 8/15/23, 1:08 AM
by mysterydip on 8/15/23, 2:35 PM
Seems like it might need some adjusting :)
by imdsm on 8/15/23, 10:45 AM
by xwdv on 8/15/23, 12:26 AM
by andsoitis on 8/15/23, 3:48 AM
Is it meant to be like a zoo, where humans gawk at other creatures?
by leke on 8/15/23, 4:45 AM
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.
by jwmoz on 8/15/23, 8:42 AM
by drewtato on 8/15/23, 1:50 AM
by afriday11 on 8/15/23, 12:19 AM
by haolez on 8/15/23, 2:07 AM
by dadrian on 8/15/23, 12:23 AM
by digitcatphd on 8/15/23, 4:37 AM