Key Concepts
Hokusai coordinates a shared routing layer for AI systems. The first router focuses on coding tasks, but the same protocol can support other decision layers where outcome data improves future choices.
Router Concepts
Task
The user request or work item submitted by an integrating harness. Examples include bug fixes, refactors, feature work, documentation updates, test repair, and code review.
Task Packet
A normalized internal task descriptor used for comparison. It captures stable features such as language, domain, task type, complexity, repository-size bucket, test requirements, and risk. Budget and available models remain separate routing inputs.
Choice Layer
The routing model that compares the current task packet with historical tasks and outcomes. It selects based on observed success, cost, latency, and reliability, not static provider rankings.
Route
The recommended model, rationale, confidence, alternatives, and identifiers returned for one routing request. A multi-stage harness requests a route separately for each stage.
Evaluation
The measured result of execution. Useful signals include task success, tests, human acceptance, review score, regressions, cost, latency, and retry count.
Feedback
Optional outcome data returned by the harness after routing and execution. Feedback turns completed tasks into training examples for future routing decisions, but it is not required to receive a recommendation.
Protocol Concepts
Contributor Rewards
Contributors can earn rewards when their data, evaluations, or improvements create measurable performance lift in the router. Rewards are tied to verified improvement, not to speculative claims.
Fee Stream
Routing calls can pay per-decision fees. Those fees support the protocol economics behind the router and connect usage to contributor ownership.
DeltaOne
DeltaOne is Hokusai's unit for verified performance improvement. In router contexts, the relevant improvement is better routing behavior: higher task success, lower cost for equal quality, faster accepted results, or improved reliability under evaluation.
Smart Contracts
Hokusai uses smart contracts for token issuance, fee routing, access control, and governance around protocol parameters. Most integrators do not need to start here, but the contract documentation is available for implementation and audit work.