📈 GH Trending Explorer Updated 2026-11-02 09:34 UTC 🎲 Surprise me

← all repos

osolmaz / switch

git clone https://github.com/osolmaz/switch.git v0.1.1 · 3d ago

A TypeScript framework that runs decision models through an agent loop, where code generates finite typed choices and the model picks one per step.

Why you might care

Useful for evals and classifiers where a full chat model is overkill: the model navigates documents or task states and picks from code-generated options, so it reads only what it needs. Works with decision models listed in pi-ai, such as Jev, and with open models served via llama.cpp.

Categories

Alternatives

LangChainPiDSPy
+21
stars, 24h · #1,888
+~572
stars, 7 days · #483
+414
stars, 30 days · #2,517
414
★ total · +572% this week
29
forks · 3 open issues

Star history (as recorded here)

2026-10-30 · 169 ★ 2026-11-02 · 414 ★
LanguageTypeScript
LicenseMIT
Created2026-10-25 (8d ago)
Last push3d ago
Watchers0
OwnerUser

GitHub topics

Links

README

Loading README…

Blurb generated by claude-haiku-5-5 3d ago. Star deltas marked ~ are extrapolated from partial history.