r/PiCodingAgent • • Sep 18 '26

Plugin I added Jev as a classifier for pi-automode! Faster, cheaper, better auto mode

https://github.com/czottmann/pi-automode/pull/49

Please, check if out if you already have jev access. It works incredibly well and I am so excited for system one agents for this use case!

124 Upvotes

32 comments sorted by

8

u/Equivalent_Idea8839 Sep 18 '26

i've read all I could about Jev and I still can't figure out a use for it.

Can someone tldr; me? How can it help me coding with a SOTA model?

10

u/NotTryingToConYou Sep 18 '26

It won't. Jev doesn't generate text. auto mode is a great example for it. Some other good use cases are here: https://www.youtube.com/watch?v=QbYBRjOaGOo

Kind of hand waving analogy, but think of Jev as instinct instead of intelligence - fast but less informative thinking.

1

u/Equivalent_Idea8839 Sep 19 '26

It seems best use case is for spam? And that sort of thing.

1

u/Gullible_Bag_8423 Sep 19 '26

Would be great for sentiment analysis

11

u/OneMoreName1 Sep 18 '26

From what I see, its basically a cheap and fast smart classifier. If you ever felt like you wanted an llm to do some jobs like that, jev is what you want now

4

u/Equivalent_Idea8839 Sep 18 '26

anti-spam prevent tool for form submissions? etc?

classifying bot account submission?

4

u/OneMoreName1 Sep 18 '26

I have seen people even say it could be good as an adblocker, so, probably.

1

u/Equivalent_Idea8839 Sep 19 '26

good as an adblocker,

Any idea how? I wanna try something like that. Like throw html elements or maybe endpoints. And block locally.

6

u/TheTerrasque Sep 18 '26

There is a similar open version out: https://github.com/NandhaKishorM/laya

The examples there made it click for me. It's sort of a freeform classifier of sort

1

u/trimorphic Sep 19 '26

I wonder how good it would be at telling you if a number is prime, and related questions.

3

u/quinncom Sep 19 '26

Wait, this link just goes to an open PR. Did Carlo agree to merge it yet?

2

u/NotTryingToConYou Sep 19 '26

Not yet, I was just too excited to share lol

1

u/pungggi Sep 19 '26

Who is carlo

1

u/quinncom Sep 19 '26

Carlo is the creator of pi-automode, which OP submitted their Jev feature to.

3

u/Subsector3990 Sep 19 '26

Jev looks super interesting but i can't get over the name. 21 Jump street is all i can think about

4

u/NotTryingToConYou Sep 19 '26

If it helps, I believe the name comes from Jevon's paradox.

2

u/sozesghost Sep 19 '26

Jeevon deez.

18

u/fingerthief Sep 18 '26

I expect we’ll see loads of these types of packages soon, I was able to put together a command guard in no time that outperforms my previous setup.

https://tannermidd.github.io/specpi-jev-guard/

3

u/schmurfy2 Sep 20 '26

Kubectl apply and delete were greenlit 😨

1

u/fingerthief Sep 20 '26

indeed! The limits of what triggers an ask or deny are customizable, but more importantly I don't think this should be a sole tool that is expected to stop every potential command.

I run it in combination with a policy style permission system that would deny these types of things as a policy.

16

u/ECrispy Sep 18 '26

How about using laya? The author has posted a few threads here about his work, it also looks to be faster and can run on your cpu

4

u/TheTerrasque Sep 18 '26

there is also a PR for a web service in the repo, and qwen easily wrapped it into a small web server for me earlier (before that pr). So just make it configurable endpoint.

3

u/OneMoreName1 Sep 18 '26

This is something I would be interested in more

4

u/addiktion Sep 20 '26 edited Sep 20 '26

Nice, I'd like to see the open source version Laya supported. No price or network latency attached then for auto classifying this kind of work as it can run locally.

1

u/learning-to-programm Sep 20 '26

This is probably not the right place to be asking this question, but there's one thing i don't understand about these agent/models routers... Isn't cheaper in the long run to work with just a single model or provider due to the ridiculously low prices on cache hits? I mean, if a task needs to be escalated to a smarter model, that's one thing, but re-routing a conversation, task, etc, seems like it would be quite inefficient in terms of costs, even if you're doing the easy task -> cheap model, hard task -> big/expensive model thing.

1

u/Funnnny Sep 23 '26

take GPT-6 for example, cached input for gpt-6-sol is double the price for input from gpt-6-luna, and gpt-6-astra is even 10 times more expensive. It makes sense to use a cheaper model to do the blunt work and have another model verify it.

1

u/learning-to-programm Sep 23 '26

Yes, but the point was, if you're re routing your chat/task/session history, etc, to different models based on the "difficulty" or something, then you're "plain-writing" the conversation to different models rather cache-writing and cache-reading from a single one. Long term, doesn't it make the routing strategy more expensive?

Especially with GPT 6 and the new codex updates, didn't they reduce the cache from something like 24 hours to just 30 min? So if you start a session with a big model (say, for planning), work on it with a smaller one, and then come back to Big Model after > 30min, then you're not taking advantage of the cache window and will pay higher price. And depending on how long you take on that review, when you come to smaller model again, you might have missed your cache window there too.

1

u/Funnnny Sep 24 '26

Think about all the token you will save during a 30min session.

The point is, cached token for a big model will be a lot more expensive than even a fresh input token for a smaller model.

Break down the task into smaller task, give it (with a fresh context) to a subagent, and then waste a little more to validate the task.

1

u/TriodeTopologist Sep 25 '26

What kinds of workflows are yall using where you use classifiers? Is it good for image sorting, document sorting, audio too?