title: AMD Routing Agent Demo
emoji: π§
colorFrom: red
colorTo: gray
sdk: docker
app_port: 7860
pinned: false
short_description: Token-efficient tiered LLM routing cascade β live demo
AMD Routing Agent β Live Demo
This Space runs the judge-facing dashboard (routing_agent.webapp) for the
Hybrid Token-Efficient Routing Agent built for AMD Hackathon ACT II, Track 1.
Submit a prompt and watch it get routed through the Tier 0 (deterministic
solver, zero tokens) β Tier 1 (cheapest adequate model) β Tier 2 (escalation)
cascade, with live token/cost/savings reporting.
Main repository (source of truth, full README, PLAN, SECURITY audit): https://github.com/SebAustin/amd-routing-agent
This file is packaging only. See /Users/sebastienhenry/Documents/Hackathons/AMD Dev Hackathon/DEPLOYMENT.md
in the main repo for how this Space is assembled and deployed.
How the orchestrator assembles this Space repo
This spaces/README.md and Dockerfile.spaces live in the main GitHub repo
but are not used as-is by Hugging Face β the Space is a separate git
repo that the orchestrator assembles from selected files out of the main
repo. This keeps one source of truth (GitHub) while producing a
Spaces-compatible layout (HF requires README.md + Dockerfile at the
Space repo root).
Assembly steps (performed by the orchestrator, not by this file):
- Create/clone the Space repo
SebAustin/amd-routing-agent-demo. - Copy
Dockerfile.spacesfrom the main repo root β Space repo root, renamed toDockerfile. - Copy
spaces/README.md(this file) β Space repo root, renamed toREADME.md(the YAML front-matter above is what HF parses for the Space card β title/emoji/sdk/app_port). - Copy
src/(therouting_agentpackage) β Space reposrc/. - Copy
evals/policies/(routing policy YAML only β not the fullevals/evalset/corpus orevals/reports/, to keep the Space image lean) β Space repoevals/policies/. - Copy
pyproject.toml,uv.lock, and the main repo'sREADME.md(the package's own readme, required by hatchling at build time β seeDockerfile.spacescomments) β Space repo root. - Set Space secrets (see main repo
DEPLOYMENT.mdfor the exact gated command β this step is never performed by copying a file; it is ahfCLI / web UI action against the Space's own secret store). - Push the assembled Space repo to the Hugging Face remote.
The harness/scoring Dockerfile at the main repo root is untouched by any of
this β it stays the default docker run entry point for the scoring
harness (ENTRYPOINT ["python", "-m", "routing_agent.adapter"]).
Dockerfile.spaces is only ever used for the Space variant described above.