Skip to main content

LangGraph Jev Router

A native LangGraph conditional edge that replaces slow generative LLMs with TypeSafe AI's deterministic System One model (Jev). It enables ultra-fast (sub-500ms), schema-safe routing between specialized agents.

Why this exists

Standard LangGraph implementations use reasoning models (like Claude or Llama) for conditional edges. This introduces significant latency and the risk of hallucinated routing options. This package uses Jev's parallel Choice primitive to route intents deterministically.

Local Setup & Testing

  1. Create and activate a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On macOS/Linux
    venv\Scripts\activate     # On Windows
    
  2. Install the package and its dependencies (LangGraph):

    pip install -e .
    
  3. Run the Example Agentic Handoff:

    python examples/main.py
    

    You will see the router accurately distribute test prompts to the correct mock agents based on intent.

Metadata

Release files for langgraph-jev-router 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langgraph-jev-router 0.1.2
File Size Uploaded
langgraph_jev_router-0.1.2.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langgraph-jev-router 0.1.2
File Interpreter ABI Platform
langgraph_jev_router-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 kB

Release files / langgraph_jev_router-0.1.2.tar.gz

Download URL langgraph_jev_router-0.1.2.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
303cdc5bfa5c01b992a25ec36e801354b390f234d11b0cc9fd2397eb97fb89ed
BLAKE2b-256 checksum
How to use checksums
27c97ac985c8993872164ea44ea9a2b1b219170533ca92cb1b7ae434c90446ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.8

Release files / langgraph_jev_router-0.1.2-py3-none-any.whl

Download URL langgraph_jev_router-0.1.2-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c73f3503e9950657485ddee1dbaec00ac1ff4a8112357c290726776b7f88eae8
BLAKE2b-256 checksum
How to use checksums
c5098d34a4f38ac2c579c02f8834c94661ef3c75bdef326628f6b6a0d351c34e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.8

Release history Release notifications | RSS feed

0.2.0

2 release files

This release

0.1.2 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page