An autonomous LLM goldplating loop. Give it a goal — it builds an MVP, then searches the web for inspiration and improves the app every iteration, forever, saving each version to disk.
Runs entirely free. Uses free-tier LLM APIs (Gemini Flash, Groq, Cerebras, Ollama) — no paid tokens.
- Takes a goal:
python main.py "a pomodoro timer" - Builds a working single-file HTML app (MVP)
- Searches DuckDuckGo for UI/UX inspiration relevant to the goal
- Uses that inspiration to goldplate the app — better features, better design
- Saves every version to
D:\Projects\<goal-slug>\v1\,v2\, etc. - Loops forever until you press Ctrl+C
pip install -r requirements.txtAdd your API keys as plain text files in D:\AI\:
D:\AI\gemini— Google AI Studio (free, 1500 req/day)D:\AI\groq— Groq (free tier)D:\AI\cerebras— Cerebras (free tier)
Ollama works automatically if running locally (no key needed).
# Run forever
python main.py "a todo app"
# Run for N iterations then stop
python main.py "a calculator" --max 5
# Custom output directory
python main.py "a weather app" --dir C:\MyProjectsD:\Projects\a-todo-app\
v1\index.html ← MVP
v1\meta.json ← build metadata
v2\index.html ← first goldplate (web-inspired)
v2\meta.json
...
journal.jsonl ← full run log
Open any index.html directly in a browser — no server needed.
See ARCHITECTURE.md for the full TDD build spec (9 phases, test gate after each).
Key design: APEX's free-tier keychain + Growing Spine's executive loop pattern. Validator catches bad/truncated LLM output before saving. DuckDuckGo search requires no API key.
MIT