Replace brittle regex rules and classification loops with one typed call
Swap hard-coded keyword rules or multi-step agent loops for a single Jev question with fixed answers, then compare on real data.
Author's figure: Author's figure: 7x faster than the agentic loop it replaced (r6i.it). Reported by the builder, not measured by us.
The use case
Small software teams, especially those using AI coding tools, end up with piles of regex and keyword rules for things like spam checks, intent detection or category matching, and those rules break on new wording. One maker moved that logic in his products to Jev calls; a write-up shows an agentic classification loop replaced by one call with before and after numbers. The pattern is to keep the rule's inputs and outputs the same so code around it does not change. An engineer runs both versions side by side on real traffic before switching, and keeps the old rule as a fallback.
Example workflow
- List rules that classify or match text in your codebase
- Write each as a Choice or Noul question with the same outputs
- Run the old rule and Jev side by side on logged inputs
- Compare disagreements by hand
- Switch over with the old rule kept as a fallback
Tools
- Jev (TypeSafe AI)
- Python
- PostHog
Risks and guardrails
- Model updates can shift answers where regex never changed
- An API dependency adds latency and outage risk
- Edge cases the regex handled may be lost
Sources
Written by Agents Lookup. Credits and official pages for the tools this use case names:
- Hard-coded rules moved to Jev by Ilias Ism on Made with Jev: madewithjev.com/builds/regex-to-jev
- Hard-coded rules moved to Jev: original post or repo by Ilias Ism: x.com/illyism/status/2100489521557123265
- An agentic classification loop, 7x faster by r6i.it on Made with Jev: madewithjev.com/builds/classification-loop-7x-faster
- An agentic classification loop, 7x faster: original post or repo by r6i.it: blog.r6i.it/typesafe-jev-vs-agentic-loop.html
- PostHog MCP server (official page): posthog.com/docs/model-context-protocol (checked 2026-11-09)