---
title: "HyperGraphDB"
description: "A general-purpose, extensible, portable, distributed, embeddable open-source database for generalized mathematical hypergraphs."
canonical_url: "https://www.kobrix.com/projects/hypergraphdb"
---
# HyperGraphDB

> A general-purpose, extensible, portable, distributed, embeddable open-source database for generalized mathematical hypergraphs.

**HyperGraphDB** is Kobrix Software's most impactful  open-source project: a general-purpose, extensible, distributed, and embeddable database built specifically for **artificial intelligence**, **semantic web**, **bioinformatics**, and **complex domain modeling**.

## Why a Hypergraph?

In standard graph databases (Property Graphs or RDF triples), an edge connects exactly two nodes (`source -> target`). In real-world domains—such as natural language semantics, n-ary biochemical reactions, legal contracts, or meta-level reasoning—relationships frequently connect **more than two entities**, or **point to other relationships**.

HyperGraphDB implements the generalized mathematical definition of a hypergraph and extends it further:

- **Arbitrary Arity ($n$-ary Edges)**: A hyperedge (`HGLink`) can connect any ordered or unordered tuple of target atoms.
- **Higher-Order Incidence**: Edges are first-class **Atoms**—meaning an edge can point to other edges, allowing meta-statements, provenance, probabilistic truth values, and nested contexts without reification hacks.
- **Universal Payload & Type System**: Every node or edge carries an arbitrary typed value managed by an extensible type system that is itself stored as a hypergraph.

```text
Atom := (Handle, TypeHandle, ValuePayload, TargetHandles[0..N])
```

## Architectural Highlights

<card-group>
<card icon="i-lucide-layers" title="Unified Data Paradigms">

Emulates relational, object-oriented, and conceptual/RDF graph modeling cleanly within a single storage formalism.

</card>

<card icon="i-lucide-cpu" title="Embedded & Transactional">

Runs in-process as an embeddable library backed by transactional key-value storage with full ACID semantics and MVCC/STM concurrency.

</card>

<card icon="i-lucide-network" title="Distributed P2P & Client-Server">

Includes a peer-to-peer communication framework for distributed graph partitioning, replication, and agent-based computation across nodes.

</card>

<card icon="i-lucide-brain" title="Built for AGI & Complex Networks">

Originally triggered by the requirements of the **OpenCog** Artificial General Intelligence project to persist self-modifying probabilistic hypergraphs.

</card>
</card-group>

<u-page-section className="hidden">

## Real-World Applications

- **Semantic Civic Portals (********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************eCompass** **Miami-Dade County)**: Powering faceted navigation and dynamic hierarchy synthesis over large-scale government knowledge bases.
- **Natural Language Understanding (Disko)**: Storing syntactic link-grammar parses, semantic frames, and ontological disambiguation graphs across large document corpora.
- **Live Development Environments (Seco)**: Persisting entire interactive notebook workspaces, ASTs, and UI layouts directly as a live hypergraph.
- **Bioinformatics & Systems Biology**: Modeling multi-participant metabolic pathways, gene regulatory networks, and structured ontologies alongside experimental datasets.

</u-page-section>

---

- [GitHub Repository](https://github.com/hypergraphdb/hypergraphdb)


## Sitemap

See the full [sitemap](https://www.kobrix.com/sitemap.md) for all pages.
