Skip to content

aaf2tbz/graphiq

Repository files navigation

GraphIQ

Local code intelligence for agents and developers. GraphIQ indexes a repository into a structural graph of symbols, calls, imports, constants, and type flow — then searches it with ranked retrieval that understands how code is connected, not just what strings it contains. No embeddings, no LLM, no network calls. Everything lives in a single SQLite file.

GraphIQ

GitHub release MIT License Benchmark signal Linux smoke


Latest benchmark — TensorFlow vs Grep

6,461,740 lines · 433,898 symbols · 726,439 edges · 5 languages. The largest codebase ever benchmarked with GraphIQ (~20× prior scale). 100 questions per metric. Full report · query sets.

Metric GraphIQ Grep Δ
NDCG@10 0.201 0.123 +63%
MRR@10 0.558 0.343 +63%
Hit@10 0.85 0.52 +33 pts
Categories won 8 / 10 2 / 10

Documentation

Start here

Using GraphIQ

Reliability & performance

Going deeper

Quick example

graphiq index /path/to/project
graphiq search "rate limit middleware"

See Quickstart for the full flow, including wiring GraphIQ into your AI coding agent.

License

MIT — see LICENSE.

About

Use GraphIQ with agents to deeply search your projects, provide context with code, and reduce issues before they arrive. No Embeddings, No LLM, Single SQLite File.

Resources

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors