A LLM-based competitive Pokémon team-building script, built during my free time.
This repo contains utilities to automate research and team building workflows using LLMs. It includes a research agent for generating insights and outputs, and a team builder script for assembling teams.
Next step: add battles between LLMs!
- Team research, construction and serialization (
team_builder.py). - Stores generated outputs under the
outputs/folder. - Rules reference for formats and constraints under
rules/. - Built with the datapizza-ai framework
Requirements: Python 3.10+ is recommended.
- Create and activate a virtual environment:
python3 -m venv .venv
source .venv/bin/activate- Install dependencies (if a
requirements.txtis provided):
pip install -r requirements.txt- Put your LLM API keys (currently supported: OpenAI and Anthropic) in a
.envfile:
ANTHROPIC_API_KEY=your_key
OPENAI_API_KEY=your_key-
Adjust your config and prompts by modifying the
config.pyandprompts.pyfiles. If you changeFORMAT, make sure to add a{FORMAT}.txtinrules/folder with the rules of your format. -
Build and evaluate teams with the team builder:
python team_builder.pyteam_builder.py: utilities to construct and manipulate Pokémon teams. It consists of a researcher agent, looking for candidate Pokémon compatible to the format, and a compiler agent, building the team from the list of Pokémon provided.prompts.py: contains the prompts used for the agents.config.py: contains the format and the LLMs to use.outputs/: directory containing model outputs and experiment artifacts.rules/VGC.txt: rule descriptions and constraints used by the tools.
Results generated by runs are stored under outputs/. Example subfolders from prior experiments are included (for example, outputs/anthropic-claude-sonnet-4-6/).
