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.
https://convex.dev/ai-town
MIT License
7.69k stars 708 forks source link

Agent Protocol support #143

Open thomafred opened 1 year ago

thomafred commented 1 year ago

Having the ability add new models/agents using the agent protocol would make it very easy to integrate new agents without having to modify the original codebase.

ianmacartney commented 1 year ago

This is awesome - do you have ideas for what that would look like for AI Town or similar? E.g. what would the "Task" and "Steps" be for an agent? Some ideas:

The other direction is maybe more interesting: would the AI Town server expose that API and a 3rd party can call it to perform actions as the agent?

I also am curious how much data needs to be queried out of band - e.g. fetching a conversation history.

@thomafred I know you posted this a while ago, but curious if you had something specific in mind or wanted to lead the charge here