Pinned post
role-model is here: a model router for Pi that works with (almost) any cloud model as well as local models.
Set up your pool of models, whether GPT 5.5 and DeepSeek V4, or Qwen 27B and Qwen 35B running locally, or combine and route between your local model for general chat and tool use and cloud models for more difficult tasks.
role-model is a router runtime and and a forward-looking routing protocol that can enable consumer applications like Pi to classify its requests with required capabilities, task-type and suitable roles for better matching between task, role, and model.
pi-role-model is a package for Pi that lets Pi manage and interact with role-model. role-model works perfectly with Pi even without the package - just configure your models in role-model, then configure role-model as your provider in Pi and choose routing alias.
Install the package for Pi:
’pi install npm:@try-works/pi-role-model’
Then let your agent install and configure the role-model runtime or point it to:
‘github.com/try-works/role…’
role-model is in an early alpha release - let me know bugs, issues or usability questions. also, tell me if it just happens to work perfectly for you!
there's lots more to do and you can help by installing and running role-model, and by reposting this tweet!
thx
Set up your pool of models, whether GPT 5.5 and DeepSeek V4, or Qwen 27B and Qwen 35B running locally, or combine and route between your local model for general chat and tool use and cloud models for more difficult tasks.
role-model is a router runtime and and a forward-looking routing protocol that can enable consumer applications like Pi to classify its requests with required capabilities, task-type and suitable roles for better matching between task, role, and model.
pi-role-model is a package for Pi that lets Pi manage and interact with role-model. role-model works perfectly with Pi even without the package - just configure your models in role-model, then configure role-model as your provider in Pi and choose routing alias.
Install the package for Pi:
’pi install npm:@try-works/pi-role-model’
Then let your agent install and configure the role-model runtime or point it to:
‘github.com/try-works/role…’
role-model is in an early alpha release - let me know bugs, issues or usability questions. also, tell me if it just happens to work perfectly for you!
there's lots more to do and you can help by installing and running role-model, and by reposting this tweet!
thx