TypeGraph – Type-safe graphs on Postgres/SQLite (no graph DB required)
Hi HN, I built TypeGraph, a type-safe knowledge graph library that runs on your existing Postgres or SQLite. After years of building knowledge graphs and other graphy things, I had the same issues whenever an application’s relationship modeling (permissions, RAG context, recommendations) outgrew standard ORMs: deploy a dedicated graph database (heavy ops, separate infra, data syncing headaches), or roll a graph-in-SQL implementation by hand. I've hand-rolled enough of these to know the drill: same table structures, same traversal boilerplate, same performance surprises. I wanted graph…
TypeGraph – Type-safe graphs on Postgres/SQLite (no graph DB required) launched on February 24, 2026 with 5 votes, #1,883 of 16,628 launches that month and more than 75% of that year's launches.
What it does
Embedded knowledge graph for TypeScript. Define your ontology with Zod, query with a fluent builder, blend BM25 fulltext with vector similarity, and extend the schema at runtime when your agents need more. Runs on SQLite or PostgreSQL.
Define your ontology with Zod. Query with a fluent builder. Extend it at runtime when your agents need more. import { defineNode, defineEdge, defineGraph, createStore } from "@nicia-ai/typegraph" ; import { z } from "zod" ; // 1. Define your ontology const Person = defineNode( "Person" , { schema: z.object({ name: z.string(), role: z.string() }) }); const Project = defineNode( "Project" , { schema: z.object({ name: z.string(), status: z.string() }) }); const worksOn = defineEdge( "worksOn" ); const graph = defineGraph({ id: "my_app" , nodes: { Person: { type: Person }, Project: { type: Project } }, edges: { worksOn: { type: worksOn, from: [Person], to: [Project] } } }); // 2. Query with…from typegraph.dev
In the maker’s words, at launch
Hi HN, I built TypeGraph, a type-safe knowledge graph library that runs on your existing Postgres or SQLite. After years of building knowledge graphs and other graphy things, I had the same issues whenever an application’s relationship modeling (permissions, RAG context, recommendations) outgrew standard ORMs: deploy…
Does a similar job
all alternatives →
Simple-graph – a graph database in SQLite2020 · github.com · ▲237This is a simple graph database in SQLite, inspired by "SQLite as a document database" - dpapathanasiou/simple-graph
GraphQL for Postgres2015 · github.com · ▲195GraphQL for Postgres. Contribute to solidsnack/GraphpostgresQL development by creating an account on GitHub.
HelixDB – Open-source vector-graph database for AI applications (Rust)2025 · github.com · ▲237Hey HN, we want to share HelixDB (https://github.com/HelixDB/helix-db/), a project a college friend and I are working on. It’s a new database that natively intertwines graph and vector types, without sacrificing performance. It’s written in Rust and our initial focus is on supporting RAG. Here’s a video runthrough: https://screen.studio/share/szgQu3yq. Why a hybrid? Vector databases are useful for similarity queries, while graph databases are useful for relationship queries. Each stores data in a way that’s best for its main type of query (e.g.…
LatticeDB – Like SQLite but for graph databasesAug 2026 · github.com · ▲190We have been using graph DBs more and more at work. I found them painful to work with locally and decided to try and build something better.

Splitgraph - Build and share data with Postgres, inspired by Docker/Git2020 · splitgraph.com · ▲81EnterpriseDB (“EDB”), the leader in accelerating Postgres® in the enterprise, today announced its acquisition of Splitgraph, an early-stage disruptor that provides a Postgres compatible serverless SQL API for building data driven applications from hundreds of datasources. This move is seen as a mean
More ai this month
the category →



Paintings by AI models: programs run through a simulation of oil paint.
AI · 20d ago · stillwet.art
PixVerse R2▲381A real-time world model you can explore and change
AI · 29d ago · world.pixverse.video

Source: Show HN post ↗ · launch text quoted in part
Launched alongside, February 2026
the whole month →



Lovon AI Therapy▲801Feel closer and have more fun with your partner every day!
AI · Feb 2026 · lovon.app

Hello my name is Ben Ward for the past 3 years I have been remastering the financial game Wall Street Raider created by Michael Jenkins originally on DOS in 1986. It has been a rough journey but I finally see the light at the end of the tunnel. I just recently redid the website and thought maybe the full story of how this project came to be would interest you all. Thank you for reading.
Work · Feb 2026 · wallstreetraider.com