Documentation
Everything you need to build with nanograph.
Quick Start
Get up and running in 5 minutes
Install nanograph and run your first query.
$ brew install nanograph/tap/nanograph
$ ng init mydb
$ ng query "{ users { name } }"
Schema
Define node types, edges, and properties for your graph.
node Person {
name: String
age: I32?
}
edge Knows: Person → Person
Queries
Read, write, and traverse data with the query API.
Search
Full-text search across nodes and properties.
CLI Reference
Manage databases, run migrations, and inspect data from the terminal.
Type-safe client for building applications with nanograph.
Native Swift client for iOS and macOS applications.

Star Wars
Model characters, planets, and films as a graph.
Context Graph
Build a knowledge graph for LLM context retrieval.
Config
Project settings, env files, query aliases, and defaults.