whatisgithub

What is agent-context-workshop?

bcallender/agent-context-workshop — explained in plain English

Analysis updated 2026-05-18

16RustAudience · developerComplexity · 4/5LicenseSetup · moderate

In one sentence

A workshop that builds a code knowledge graph for coding agents and measures whether it actually beats plain grep search.

Mindmap

mindmap
  root((Context Workshop))
    What it does
      Code knowledge graph
      Graph vs grep eval
      Notebook series
    Tech stack
      Rust
      Python
      Neo4j
      Jupyter
    Use cases
      Build a code knowledge graph
      Compare agent context methods
      Study agent tool adoption
    Audience
      AI engineers
      Coding agent builders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Learn how to build a code knowledge graph an AI agent can traverse instead of grepping

USE CASE 2

Compare a graph based coding agent against a grep based agent on accuracy and consistency

USE CASE 3

Study techniques for getting an agent to actually use available context tools more often

What is it built with?

RustPythonNeo4jJupyter

How does it compare?

bcallender/agent-context-workshopcelestia-island/ratatui-markdowndicklesworthstone/frankengraphdb
Stars161616
LanguageRustRustRust
Setup difficultymoderateeasyhard
Complexity4/52/55/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Docker and an OpenRouter API key are optional, only needed for live graph building or live model calls.

Use freely for any purpose, including commercial use, as long as you keep the copyright and license notice.

So what is it?

Agent Context Workshop is a hands on workshop, built for the AI Engineer World's Fair 2026, that teaches how to give coding AI agents a better way to understand a codebase than simply searching through it with grep. The alternative it builds is a code knowledge graph, a structured map of a codebase's functions, types, and relationships that an agent can traverse directly. The worked example uses qdrant, a real Rust based vector database, extracting its structure into a Neo4j graph and giving an agent tools to search it, trace the effects of a change, or find implementations of an interface. The project then runs an honest comparison between an agent using this graph and a plain agent using grep, tested against 30 verified questions. On a single attempt the two approaches score about the same, 21 correct out of 30 for the graph versus 19 for grep. But the graph pulls ahead on things that matter more in practice: it gets the same question right every time it is asked, while grep sometimes flips its answer because it has to work out the connections fresh each run. The graph also uses roughly three times fewer input tokens, and with the right prompting the agent actually chooses to use the graph far more often, rising from about a third of the time to nearly three quarters. The project is organized as a series of Jupyter notebooks that build up the idea in stages, from basic code parsing, to resolving types and relationships, to adding meaning with the help of a language model. Newcomers are pointed straight to the notebook that runs the comparison, which works without Docker or an API key since its results are cached. Setup uses the uv Python tool to install dependencies, a script to load a small prepared copy of the qdrant codebase, and an optional OpenRouter API key if you want to run live model calls instead of the cached results. The project is released under the Apache 2.0 license, and the example codebase it studies, qdrant, is also Apache 2.0 licensed.

Copy-paste prompts

Prompt 1
Walk me through the eval notebook comparing a graph agent to a grep agent, no Docker or API key needed.
Prompt 2
Explain how the knowledge graph is built from the qdrant codebase using tree-sitter and rustdoc.
Prompt 3
Show me how to set up Neo4j locally so I can run the graph building notebook.

Frequently asked questions

What is agent-context-workshop?

A workshop that builds a code knowledge graph for coding agents and measures whether it actually beats plain grep search.

What language is agent-context-workshop written in?

Mainly Rust. The stack also includes Rust, Python, Neo4j.

What license does agent-context-workshop use?

Use freely for any purpose, including commercial use, as long as you keep the copyright and license notice.

How hard is agent-context-workshop to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is agent-context-workshop for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.