Quickstart¶
TongGraph is a local graph engine for Python applications. For source-tree development, start with:
uv sync --dev
uv run python scripts/build_python_extension.py
uv run python -c "from tonggraph import Graph; print(Graph().node_count())"
Then choose the quickstart that matches your use case:
- Property graph basics
- GraphRAG retrieval
- AI memory/session graph
- Local persistence and reopen
- Structured query from natural language compiler
- Probabilistic inference
For longer examples, see the examples section.