Have you ever wondered what a city populated only by autonomous AI agents would be like? Well that’s exactly what offers Ai Towna simulation platform that transforms Llama gender models into real virtual citizens.
It is therefore a 2D virtual world Where each character has a unique personality, clean motivations and an ability to interact naturally with his neighbors. This is in any case, what the A16Z teams have managed to create by drawing inspiration from Google and Stanford’s research work on the generative agents.
In this pixelated universe which recalls retro RPG, the inhabitants are not simple scripted NPCs which repeat the same phrases in a loop. No, no, no, everyone has a real language model which allows him to develop his own personality, to make all types of decisions independently. But also to maintain natural conversations, to forge relationships with other inhabitants and of course to remember past interactions.
Under his air of a minimalist video game, Ai Town especially hides a technical architecture particularly neat. Indeed, Convex manages the backend, the database and vector research, Llama 3 or other language models animate conversations, Docker ensures insulation and deployment, React And Typescript are there to offer a fluid interface and all that is Pixel Art is generated by AI.
The entire project is especially available In open source on GitHubwhich allows you to deploy your own virtual city and even personalize it according to your desires.
To install AI Town locally, follow these steps:
Clone the deposit:
git clone https://github.com/a16z-infra/ai-town.git
cd ai-town
Then install the outbuildings:
npm install
Configure Ollama for the language model:
ollama pull llama3
Then launch the convex backend:
./convex-local-backend
And finally, start the application:
npm run dev
Once launched, your city will then start to come to life immediately! The inhabitants will move, discuss and develop their relationships in a completely autonomous manner.
AI Town also offers many personalization possibilities. You will only have to modify the file characters.ts
For :
- Create new characters
- Define their personality traits
- Choose their appearance via spritesheets
- Adjust their behavior
Using the card editor Tiledyou will also be able to modify all that is movement rules, interaction zones, sound atmosphere, parameters of the language model, scenario, special events and various social rules.
Beyond its playful aspect, AI Town mainly opens up interesting perspectives for all that is Study of social dynamics But also be able to test different language models in a controlled environment and measure their performance. And game developers will also find their account there, since it allows you to experiment with really intelligent and autonomous NPCs, game mechanics.
A big thank you to Letsar for sharing this great link !!
Source link
Subscribe to our email newsletter to get the latest posts delivered right to your email.
Comments