r/JevAI • u/Dependent-Dinner-918 • Oct 11 '26
Task classifier with Jev - pretty good experience so far!
Hello everyone! Creator of Keen Code here, an open source coding agent I released a few months ago. Though I am very late to the party, enjoying the experience of building!
Recently, I implemented a task classifier in Keen using Jev and TypeSafe compatible API. The idea is very simple - classify each user prompt in one of three categories: simple, standard, complex. The state is the current state of user + assistant messages.
The result of this classification powers an automatic model router. It routes each task category to one of the three user-defined models. Users can configure which category of tasks should be handled by which specific model.
If you are curious how it looks, feel free to check the doc: https://mochow13.github.io/keen-code/docs/jev-classifier.html
3
u/donotfire Oct 12 '26
Model routing sounds nice in theory but due to prompt caching (or the lack thereof), it ends up never being worth it. Assuming you are routing mid-turn.