Skip to content

Jev Routed Agent

A LangChain agent where Jev routes intent as a typed choice over four fixed criteria, with confidence below 0.6 falling back to local keyword rules, and each route carrying exactly one tool and one prompt.

Stars
4
Language
Python
Published by
Community
Author
liuhongrui087-art
Last verified
Oct 2026

Multi-step reasoning agent built on LangChain v1 + Jev + Flask + Ollama, with tool calling and local RAG Q&A.

Forks
1
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.

About this project

English | 简体中文 A multi-step reasoning agent built with LangChain v1 + Jev + Flask + Ollama. User question → the routing layer determines the intent → the matching pipeline (knowledge-base retrieval / math / weather / small talk) → a token-by-token streaming answer backed by sources. Dependencies flow one way: web → services → core → config.py. No HTTP-related code is allowed inside core/.

Quoted from the project's README. Read the full README.

Highlights

  • Six Chinese questions route 6/6 at confidence 1.0, against roughly one in three for the 3b model choosing its own tool.
  • Four routes — knowledge, calculator, weather, chat — each with exactly one tool and one prompt, so the model fills in arguments instead of choosing.
  • No parsing and no invention: the criteria map is the candidate set, so the model cannot return a fifth option, and probabilities come back per candidate.
  • Jev is optional. Low confidence or an API failure drops to local keyword rules rather than to a multi-tool agent deciding for itself.

Watch out

The headline routing result is six Chinese questions in check_jev.py, all answered at confidence 1.0, with recorded latencies between roughly one and two seconds — a small sample in one language, and every routing call is an extra network round trip in front of a local 3b model that is otherwise fast. Only Choice is used even though the decision model also offers Noul and Score, so the rest of the API is untouched. The knowledge route does not improve the corpus: it retrieves from a ChromaDB index you build yourself with bge-m3 embeddings persisted to .chroma/, and the determinism argument in the README is about routing, not about whether the retrieved chunks answer the question. The calculator and weather routes are single-tool agents that still spend two model calls, and the get_weather tool's data source is not described. If Jev is unavailable or returns confidence below 0.6 the system falls back to local keyword rules, which are readable but crude, so behaviour changes shape without a loud signal. Copy reviewed against the repository README on 2026-10-04, not from running it.

Questions about this entry

Short answers drawn from the linked project or page.

More Jev resources like this

14GitHub stars
Tiered agent memory keeping compact summaries with source links over searchable raw history, where a router decides per query whether notes suffice or raw pages must be recovered.
Jev Agents & MCP#community#jevbest#catalog-import
37GitHub stars
Python SDK that runs the same prompt, tools, and MCP setup across DeepAgents, Pydantic AI, Claude Agent SDK, Codex, and OpenCode by switching harness.
Jev Agents & MCP#community#jevbest#catalog-import
14GitHub stars
Opt-in Hermes plugin that routes each turn to one skill: a wide Jev Choice plus request checks gate a narrow fits round, injecting a single ignorable hint line.
Jev Agents & MCP#community#jevbest#catalog-import
4GitHub stars
Proof-of-concept dispatcher that discovers an MCP server's tools at runtime with list_tools() and routes plain-language commands using only Jev Choice and Noul, with no general-purpose LLM calls.
Jev Agents & MCP#community#jevbest#catalog-import
LangChain deepagents middleware that replaces SkillsMiddleware with per-turn judging, loading only the SKILL.md files a turn needs so large catalogs stay out of the prompt.
Jev Agents & MCP#community#jevbest#catalog-import
14GitHub stars
Claude Code hook that asks Jev which installed skill fits each prompt and logs the answer, plus the script that joins that log to session transcripts and the negative result the author got from a week of running it.
Jev Agents & MCP#community#jevbest#catalog-import
Back to all resources

From the Jev community

Posts from builders shipping with Jev right now.

Follow @typesafeai