{"id":46911959,"url":"https://github.com/nanograph/nanograph","last_synced_at":"2026-03-15T03:23:13.276Z","repository":{"id":337351224,"uuid":"1152521941","full_name":"nanograph/nanograph","owner":"nanograph","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-03-08T13:11:37.000Z","size":23544,"stargazers_count":68,"open_issues_count":1,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-08T13:40:01.792Z","etag":null,"topics":["database","graph","on-device","rust","schema-as-code"],"latest_commit_sha":null,"homepage":"https://nanogra.ph/","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/nanograph.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-03-08T13:39:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"c1bb3494-eed5-438c-8389-ccf67d8ac3f6","html_url":"https://github.com/nanograph/nanograph","commit_stats":null,"previous_names":["aaltshuler/nanograph","nanograph/nanograph"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/nanograph/nanograph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanograph%2Fnanograph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanograph%2Fnanograph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanograph%2Fnanograph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanograph%2Fnanograph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nanograph","download_url":"https://codeload.github.com/nanograph/nanograph/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanograph%2Fnanograph/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30367799,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"online","status_checked_at":"2026-03-11T02:00:07.027Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-03-11T02:00:43.880Z","updated_at":"2026-03-15T03:23:13.248Z","avatar_url":"https://github.com/nanograph.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 typed property graph DB 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.91+ 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\ncd examples/starwars\n\nnanograph init\nnanograph load --data starwars.jsonl --mode overwrite\nnanograph check --query starwars.gq\nnanograph run search \"father and son conflict\"\n```\n\nFor new projects, `nanograph init` scaffolds `nanograph.toml` for shared defaults and `.env.nano` for local secrets. See [`docs/user/config.md`](docs/user/config.md) for config, env, and query alias details.\n\nSee [`examples/starwars/`](examples/starwars/) and [`examples/revops/`](examples/revops/) for the canonical ready-to-run examples.\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%2Fnanograph%2Fnanograph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnanograph%2Fnanograph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanograph%2Fnanograph/lists"}