{"name":"switch","repo":"osolmaz/switch","url":"https://midorreal.com/project/osolmaz-switch","repository":"https://github.com/osolmaz/switch","description":"A framework for building decision-model harnesses for any kind of task. Your program offers the model a short list of next steps, and the model picks one at a time until it can answer.","facts":{"license":{"value":"MIT","source":"https://github.com/osolmaz/switch","checked":"21 Nov 2026"},"language":{"value":"TypeScript","source":"https://github.com/osolmaz/switch","checked":"21 Nov 2026"},"last_release":{"value":"v0.1.1, 29 Oct 2026","source":"https://github.com/osolmaz/switch/releases","checked":"21 Nov 2026"},"releases":{"value":"1","source":"https://github.com/osolmaz/switch/releases","checked":"21 Nov 2026"},"contributors":{"value":"1","source":"https://github.com/osolmaz/switch/graphs/contributors","checked":"21 Nov 2026"},"archived":{"value":"no","source":"https://github.com/osolmaz/switch","checked":"21 Nov 2026"}},"stars":451.0,"writeup":{"what_it_is":"switch is a harness framework for decision models. It runs an agent loop for finite choices: the program turns the state of a task into typed questions (bool, choice or score), and the model answers them with probabilities. Each step's answers feed a transition function that produces the next state, until the run ends.","audience":"Developers building decision-model harnesses, such as eval judges or domain-specific agents","claims":[{"kind":"specific","claim":"Works with any decision model that pi-ai lists as a classifier","excerpt":"switch works with any decision model that [pi-ai](https://www.npmjs.com/package/@earendil-works/pi-ai) lists as a","status":"not_checked"},{"kind":"specific","claim":"Requires Node.js 22.18 or newer","excerpt":"switch needs Node.js 22.18 or newer.","status":"not_checked"},{"kind":"specific","claim":"Records every state, question and answer of a run in one trace file that can be replayed without a model","excerpt":"Every state, question and answer of a run, in one file. A replay reads it and asks no model.","status":"not_checked"},{"kind":"broad","claim":"Can make a judge cheaper by loading only the parts of documents the model needs","excerpt":"the decision model navigates the documents and takes in only what it","status":"too_broad"}],"alternatives":[],"written_by":"AI, from the project's README","date":"2026-10-31"},"why_now":null,"owner_supplied":null,"score":{"verdict":"sleeper","hype":29,"reality":60,"gap":-31,"momentum":null,"confidence":85,"version":"score-2.0","rule":"verdict-2.0","calculated_at":"2026-11-22T08:00:00+00:00","verdict_source":"rule"},"early_read":null,"changes":[{"date":"2026-10-29T18:05:23+00:00","text":"Latest release v0.1.1","source":"https://github.com/osolmaz/switch/releases"},{"date":"2026-10-25T14:12:42+00:00","text":"Repository created","source":"https://github.com/osolmaz/switch"}],"cite":"switch is a GitHub project at https://github.com/osolmaz/switch written mainly in TypeScript, described there as \"A framework for building decision-model harnesses for any kind of task. Your program offers the model a short list of next steps, and the model picks one at a time until it can answer\".","attribution":"Data from Mid or Real, https://midorreal.com/project/osolmaz-switch, checked 22 November 2026. Attribution with a link is required.","still_real":null}