Bastion: Accuracy-First Token Router V23

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

Bastion is an accuracy-first, token-efficient general-purpose AI agent for Track 1. It classifies every request into one of eight capability categories, then uses a three-tier routing policy. Narrow, provably safe forms are handled by deterministic code at zero Fireworks tokens. Eligible factual, sentiment, entity extraction, and code tasks can run on a bundled Qwen3.5-4B model; Bastion accepts a local answer only when generated-token confidence and a category verifier both agree. Everything uncertain, rejected, or truncated escalates through Fireworks. Gemma 4 31B is prioritized for multi-step reasoning, knowledge, and summarization, while Kimi specializes in code and provides failover. For difficult reasoning tasks, the model works through the problem while Bastion submits only the clean final answer. Completion caps, retries, model failover, truncation recovery, and strict output validation keep the batch resilient. Bastion protects accuracy first, then spends tokens only where they add value.

Category tags: