sabi
Sabi is an adaptive inference scheduling layer for AI agents, positioned between a coding host (Claude Code, Codex, OpenCode, Command Code, etc.) and the models it can call, deciding the model, reasoning effort, and provider needed for the next turn based on each turn's trajectory evidence (tool calls, results, failures, context pressure, capabilities, and provider status). It offers two forms: an in-process mod for Command Code, and a local OpenAI-compatible proxy; it also provides controller hooks for three types of task handoff: continue, delegate, and spawn. The project is MIT-licensed, installs at the user level, and supports borrowed authentication of the host's own credentials, route receipts, a local dashboard, and update self-checks.