Skip to content

Jev directory

CommunityJev Cookbooks

Neo4jev

A demo application that navigates a Neo4j graph one hop at a time: Jev gets the outgoing relationships as a Choice plus a goal Noul in one system_one call, and beam search follows the probabilities.
Stars
174
Language
Jupyter Notebook
License
MIT
Reading time
3 min
Published by
Community
Author
jexp
Last verified
Sep 2026

jexp/neo4jev

User repository on GitHub

View on GitHub

Typesafe.ai System One Model Jev navigating a Neo4j graph by using a classifier over neighbouring relationships

Forks
27
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.

About this project

A demo application that navigates a Neo4j graph one hop at a time using TypeSafe's (typesafe-sdk) systemone structured-decision API instead of free-text LLM generation. At each visited node, the outgoing relationships are presented as Choice options (relationship type, relationship properties, target node label/properties), and the API returns a full probability distribution over which relationship to follow next. A Noul ("has the goal been reached?") question rides in the same systemone call as the Choice, so…

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

Highlights

  • Each hop is one system_one call: the outgoing relationships are Choice options and the goal-reached question is a Noul in the same request.
  • Beam search branches on top-k probabilities and ranks chains by summed log-probabilities to avoid float underflow and length bias.
  • Three goal modes: free-text goal, explicit target node, and path-intent pattern, which returns the top-N distinct scoring paths.
  • Schema-agnostic: labels, relationship types, and property names are discovered by live introspection, so any Neo4j instance can be targeted.
  • Results render in an interactive neo4j-viz graph that styles the chosen path separately from the surrounding neighborhood.

Quickstart

bash
uv sync
cp .env.example .env   # set NEO4J_* and TYPESAFE_API_KEY
uv run pytest tests/unit

Watch out

MIT-licensed. Needs Python 3.12 or newer, uv, a reachable Neo4j instance, and TYPESAFE_API_KEY; without a key each call fails visibly and the pipeline runs on labelled stand-in answers.

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

Posts, threads, and videos about this entry from around the web.

X: LinkedIn bookmarks search

X: 1,066 reaction videos, searchable

X: Intent-based search in a Chrome extension

X: Margin, bookmark search

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai