~ / sdks-adapters / community-clients / switch
Switch
TypeScript framework for finite-choice agents: application code defines the state, legal next steps, and transitions; a decision model chooses among them. Bounded runs, complete traces, replay, and forking saved runs — the reusable architecture for a decision model inside a multistep agent, with a document-navigation rubric judge as the worked example. Its adapter targets classifier models registered in pi-ai. MIT; ~435 stars in two weeks.
- section
- SDKs & Adapters
- group
- Community clients
- source
- github.com
- repo
- osolmaz/switch
- stars
- 451 ▕███████░░░░░▏
- 7-day gain
- +2
- forks
- 32
- language
- TypeScript
- license
- MIT
- last pushed
- nov 25
- added to list
- nov 8
## history
2026-10-250 → 451 stars2026-11-27
2026-11-0931 → 32 forks2026-11-27
2026-11-096 → 6 open issues2026-11-27