← all repositories
yoheinakajima/instagraph

Turn Text into Knowledge Graphs Without Writing a Parser

A Flask app that skips the custom NLP pipeline and uses GPT-3.5 to turn text or URLs into interactive, color-coded knowledge graphs.

3.5k stars Python Data ToolingRAG · Search
instagraph
Not currently ranked — collecting fresh signals.
star history

What it does

InstaGraph is a Flask application that takes arbitrary text or a URL, feeds it to OpenAI’s GPT-3.5, and renders the extracted entities and relationships as a color-coded, interactive knowledge graph in the browser. It offers both a web UI and a small API for generating and retrieving graph data. You can optionally persist graphs to Neo4j or FalkorDB instead of keeping them in memory.

The interesting bit

The author cheerfully admits that the actual graph generation is mostly OpenAI function-call parameters in main.py. InstaGraph is essentially a friendly orchestration layer: let the LLM decide what the nodes and edges are, then hand the result to a visualization library. The roadmap aims higher, hoping to merge and expand stored graphs into something larger rather than building yet another chart builder.

Key highlights

  • GPT-3.5 handles entity and relationship extraction
  • Optional Neo4j or FalkorDB backends for persistence
  • Web UI and REST API endpoints for graph data and history
  • Graph storage, retrieval, and expansion already implemented
  • Docker Compose configs included for dev and production (via Gunicorn)

Caveats

  • Requires an OpenAI API key; no local or offline LLM mode is mentioned
  • The author notes limited maintenance bandwidth—weekend and night coding only—and openly asks for help managing the repository
  • Several roadmap features, including combining graphs and fuzzy node matching, remain unimplemented

Verdict

Worth a spin if you need quick, prototype-grade knowledge graphs from unstructured text without building a custom NLP pipeline. Skip it if you require offline operation, local LLMs, or production-grade graph analytics.

Frequently asked

What is yoheinakajima/instagraph?
A Flask app that skips the custom NLP pipeline and uses GPT-3.5 to turn text or URLs into interactive, color-coded knowledge graphs.
Is instagraph open source?
Yes — yoheinakajima/instagraph is open source, released under the MIT license.
What language is instagraph written in?
yoheinakajima/instagraph is primarily written in Python.
How popular is instagraph?
yoheinakajima/instagraph has 3.5k stars on GitHub.
Where can I find instagraph?
yoheinakajima/instagraph is on GitHub at https://github.com/yoheinakajima/instagraph.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.