TokenForge Router is a Track 1 hybrid token-efficient routing agent for AMD Developer Hackathon ACT II. It processes `/input/tasks.json`, classifies each task, and first attempts high-confidence local deterministic solving for zero Fireworks tokens. It supports factual QA, math, sentiment, summarization, NER, code debugging, logic, and code generation. When local solving is unsafe, it selects the cheapest sufficient model from the runtime `ALLOWED_MODELS` list and calls Fireworks through `FIREWORKS_BASE_URL`. The system uses answer normalization, validation, and conservative confidence gates to protect accuracy while reducing token use. It is fully Dockerized, writes `/output/results.json`, avoids hardcoded final models, and includes a Streamlit demo for local testing.
Category tags: