a16z-infra / ai-town

A MIT-licensed, deployable starter kit for building and customizing your own version of AI town - a virtual town where AI characters live, chat and socialize.

Home Page:https://convex.dev/ai-town

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Easily Sync Character Data

ianmacartney opened this issue · comments

Let's make it easier to jam on Character data.

Problem:

You have to run init (often through npm run dev) for the world to add new characters. Once they're there, you can't re-sync the json.

Solutions:

  • Edit the data directly in the dashboard, under agentDescriptions. This will not update in the UI (see playerDescriptions for that) but will be used for prompts.
  • Let's add a function to re-sync the data from the init script with the active agents. You can run it when you edit.
  • Or have a way to export the data from the dashboard into a json file so you can capture changes