This is a companion repository for the blog post here. The type systems for a generic Agent-Based model is available in ABMTypeSystem, and the type system for the agentic UI can be found in AgenticUITypeSystem.
The toy model is a UI navigator prompted via LLMs. Its implemented in TypeScript. Once you have npm
installed, running npm install
and npm start
should be enough.
The code requires an OpenAI API key to be stored in an .env
file. The key should be stored as OPENAI_API_KEY
.