{"id":47724198,"url":"https://github.com/charlesyuan02/legends-za-teambuilder","last_synced_at":"2026-04-02T20:04:29.187Z","repository":{"id":345880636,"uuid":"1187731559","full_name":"CharlesYuan02/legends-za-teambuilder","owner":"CharlesYuan02","description":"An actor-critic agent pipeline made w/ Google ADK to suggest a final Pokemon for my team in Legends Z-A.","archived":false,"fork":false,"pushed_at":"2026-03-21T04:54:41.000Z","size":2216,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-21T20:41:42.666Z","etag":null,"topics":["adk-python","agents"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CharlesYuan02.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-21T04:44:06.000Z","updated_at":"2026-03-21T04:55:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/CharlesYuan02/legends-za-teambuilder","commit_stats":null,"previous_names":["charlesyuan02/legends-za-teambuilder"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/CharlesYuan02/legends-za-teambuilder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CharlesYuan02%2Flegends-za-teambuilder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CharlesYuan02%2Flegends-za-teambuilder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CharlesYuan02%2Flegends-za-teambuilder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CharlesYuan02%2Flegends-za-teambuilder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CharlesYuan02","download_url":"https://codeload.github.com/CharlesYuan02/legends-za-teambuilder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CharlesYuan02%2Flegends-za-teambuilder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31314847,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adk-python","agents"],"created_at":"2026-04-02T20:04:25.137Z","updated_at":"2026-04-02T20:04:29.180Z","avatar_url":"https://github.com/CharlesYuan02.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Legends Z-A Teambuilder\n\n![Cover image](docs/cover-image.png)\n\nLLMs still suck at Pokemon — so I fixed that with a generator-critic pipeline.\n\nWhen I needed a 6th team member for Pokemon Legends Z-A, ChatGPT suggested Pokemon that weren't in the game and Gemini invented Mega Evolutions that don't exist. After correcting them, I realized the recommendations were just my own bias parroted back to me — a failure mode that hits real AI systems too.\n\nSo I built this: a generator-critic agentic pipeline using [Google ADK](https://google.github.io/adk-docs/) and Gemini that actually self-corrects.\n\n**How it works:**\n1. A **generator** proposes 3 team candidates.\n2. A **critic** (with Google Search access) fact-checks every Pokemon, move, item, and mechanic against real game data.\n3. A **refiner** fixes what the critic flags.\n\nLoops until the critic finds zero issues, or 5 iterations — whichever comes first.\n\n## Setup\n\n**Prerequisites:** Python 3.13+, [uv](https://docs.astral.sh/uv/)\n\n1. Clone the repo and install dependencies:\n\n```bash\nuv sync\n```\n\n2. Copy `.env.example` to `.env` and add your Google API key:\n\n```bash\ncp .env.example .env\n```\n\n```\nGOOGLE_API_KEY=your_key_here\n```\n\n3. Run:\n\n```bash\nuv run main.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlesyuan02%2Flegends-za-teambuilder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharlesyuan02%2Flegends-za-teambuilder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlesyuan02%2Flegends-za-teambuilder/lists"}