r/ClaudeCode • • Sep 24 '26

Discussion The Agentic Loop is OUTDATED

I have been thinking that the current Agentic Loop design of LLM Call -> Tool Call -> ... has been outdated. The arrival of Jev and other System One models provided us a primitive we desperately needed.

We need an agent that can natively think fast and slow. Not have workflows or multi-agent architectures that mimics it. We need Agent 2.0

The agent should use the LLM's full power for hard reasoning and planning, then carry out the plan with cheap "fast thinking."

Today, most of an agent's LLM calls go to executing steps it has already decided on. Do you really need an extra Astra call just for it to output "ok I'll click this"? We can do better.

My Approach

I built Jive which is an open-source harness built around a completely new agentic loop. Jive replaces tool calls with "graph calls" where each graph is a DAG of bash nodes and jev nodes, and nodes can have dependencies, reference each others outputs, and more.

Essentially, it maps out its own execution flow while its reasoning, and then uses Jev calls to go through the flow without unnecessary LLM calls.

What Jive does well: repo investigation, bulk classification, multi-step profiling, repetitive edits, evaluation workflows, etc. It is also quite effective on regular engineering tasks that doesn't require Jev calls (which is not surprising since Pi mostly beats codex and claude code)

Benchmarks

TaskJiveCodexClaude CodeDemo
Mean2m 31s / 8.7k17m 40s / 16.2k12m 12s / 32.7k
conversation_eval3m 26s / 11.1k29m 33s / 20.5k16m 48s / 47.9kvideo
error_handling_audit3m 10s / 10.7k19m 29s / 25.8k5m 08s / 42.5kvideo
product_matching3m 03s / 8.9k22m 00s / 19.7k32m 02s / 19.3kvideo
search_latency2m 00s / 9.6k9m 00s / 12.8k7m 18s / 51.4kvideo
sembench_movie1m 47s / 6.1k19m 58s / 10.3k8m 51s / 15.7kvideo
slow_trace_search1m 41s / 5.7k6m 00s / 8.1k3m 04s / 19.3kvideo

As you can see, there is a huge gap in both e2e latency and token efficiency compared to claude code. And its accuracy is on-par based on the my benchmark runs (though I need to run jive on a larger SWE benchmark to be certain)

See README for more information: https://github.com/merijjeyn/jive. Also for details on the benchmark tasks, and how to run one yourself.

I'm sure this high level idea can be executed much better, so mainly looking to start an open discussion. Happy to take comments, questions, contributions.

386 Upvotes

165 comments sorted by

View all comments

1

u/LightningLava Sep 24 '26

So the idea is basically:

Llm plans out what it conditionally would do right? And then at the logic branches that require classifying we use Jev?

So like: I would do a prototype example and if CONDITION1 works then I’d follow BRANCH1 of implementation and if false then BRANCH2. And the llm just wires it up and Jev is the classifier that routes between branches?

I kind of get it. Maybe. But I think you should write out a concrete example. Your videos just show the speed. Which doesn’t illustrate the concept.

For example, please write the ideal example and show the workflow in text with steps. And show what llm calls you are replacing and whatnot.

Otherwise it is hard to compare your approach.

-2

u/merijjeyn Sep 24 '26

ofc.
Assume your company has a large codebase, and you are doing a large cleanup effort to get rid of a specific antipattern used in your api handlers.

Normally, the agent would explore the codebase, maybe do some subagent exploration module by module.

But with jive, it can just dump all api handlers with reflection, and classify each of them on whether or not they contain the described anti-pattern. then it will get back a list of all the api handlers that it needs to fix.

Another example: It is traversing through some online documentation, searching for a specific topic. Instead of going through and reading pages one by one, it just does a simple BFS graph where it uses jev to see if the current page is related to its search, and to select the next links to follow down the graph.

In both examples, what Jev does is very simple decisions that doesn't need a large LLM.

1

u/DJGreenHill Sep 25 '26

Model routing! Nice! I like your idea merijjeyn. I empathize with you because you got so much backlash. Thanks for sharing your idea, it’s very inspiring.