singleThreaded-agent

Created by team SingleThreaded on July 08, 2026
Hybrid Token-Efficient Routing Agent

SingleThreaded is a containerized AI agent built for AMD Developer Hackathon ACT II Track 1. It classifies incoming tasks across 8 categories — factual knowledge, math, sentiment, summarization, NER, code debugging, logical reasoning, and code generation — then routes each to the most token-efficient solution. Mathematical tasks are solved deterministically using Python with zero Fireworks tokens. All other tasks are routed to the cheapest capable model from the ALLOWED_MODELS list, with code tasks escalated to a code-specialized model for accuracy. The agent reads from /input/tasks.json and writes results to /output/results.json.

Category tags: