{"id":45197258,"url":"https://github.com/aaltshuler/nanograph","last_synced_at":"2026-03-02T20:00:53.538Z","repository":{"id":337351224,"uuid":"1152521941","full_name":"aaltshuler/nanograph","owner":"aaltshuler","description":"On-device property graph database. Schema-as-code. One CLI → One Folder. No Server. Think: DuckDB for graphs.","archived":false,"fork":false,"pushed_at":"2026-02-20T11:10:29.000Z","size":849,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-20T15:09:11.345Z","etag":null,"topics":["database","graph","on-device","rust","schema-as-code"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aaltshuler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-08T01:59:58.000Z","updated_at":"2026-02-20T11:09:10.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/aaltshuler/nanograph","commit_stats":null,"previous_names":["aaltshuler/nanograph"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/aaltshuler/nanograph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaltshuler%2Fnanograph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaltshuler%2Fnanograph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaltshuler%2Fnanograph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaltshuler%2Fnanograph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaltshuler","download_url":"https://codeload.github.com/aaltshuler/nanograph/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaltshuler%2Fnanograph/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30013938,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T17:00:27.440Z","status":"ssl_error","status_checked_at":"2026-03-02T17:00:03.402Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","graph","on-device","rust","schema-as-code"],"created_at":"2026-02-20T13:01:19.116Z","updated_at":"2026-03-02T20:00:53.521Z","avatar_url":"https://github.com/aaltshuler.png","language":"Rust","readme":"# nanograph\n\n[![Crates.io](https://img.shields.io/crates/v/nanograph)](https://crates.io/crates/nanograph)\n[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n\nOn-device graph database for agents and humans. One CLI. One folder. Schema-as-code. No server.\n\nBuilt on Rust, Lance, Arrow, and DataFusion.\n\n**[Website](https://nanograph.io)** | **[Docs](https://nanograph.io/docs)** | **[Examples](examples/starwars/)**\n\n## Why nanograph\n\n- **On-device** -- no server, no cloud, no Docker. Everything stays on your machine.\n- **Schema-as-code** -- `.pg` files version-controlled in git, enforced at query time. No \"property not found\" at runtime.\n- **Built for agents** -- Claude reads, writes, and traverses the graph natively.\n- **Fast** -- Rust + Lance + Arrow columnar execution. Sub-millisecond opens, ACID, time-travel.\n- **Full search stack** -- full-text, semantic, fuzzy, BM25, hybrid, graph-constrained reranking.\n- **Built-in CDC** -- every mutation logged to a ledger. Replay, audit, sync from any version.\n- **Zero setup** -- create a graph and start querying. Delete and recreate in seconds.\n\n## Install\n\n```bash\nbrew install nanograph/tap/nanograph\n```\n\nOr from source (requires [Rust](https://www.rust-lang.org/tools/install) 1.85+ and `protoc`):\n\n```bash\ncargo install nanograph-cli\n```\n\n### SDKs\n\n- **TypeScript/Node.js** -- `npm install nanograph-db`\n- **Swift** -- Swift Package via the [nanograph-ffi](crates/nanograph-ffi/swift/) wrapper\n\n## Quick start\n\n```bash\nnanograph init my.nano --schema schema.pg\nnanograph load my.nano --data data.jsonl --mode overwrite\nnanograph check --db my.nano --query queries.gq\nnanograph run --db my.nano --query queries.gq --name my_query\n```\n\nSee [`examples/starwars/`](examples/starwars/) for a ready-to-run demo with 66 nodes, 146 edges, and 30 queries.\n\n## Use cases\n\n- Context graphs and decision traces for AI agents\n- Agentic memory with typed, sub-100ms local queries\n- Personal knowledge graphs with schema enforcement\n- Dependency and lineage modeling\n- Feature generation for ML pipelines\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaltshuler%2Fnanograph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaltshuler%2Fnanograph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaltshuler%2Fnanograph/lists"}