2026-11-27 16:21 UTC

Omneum launches local provenance-aware context selection for agents

state: expiredheat: mediumuncertainty: mediumrelevance: mediumagent-context local-aiCole H.

What is this?

Omneum is an MIT-licensed, open-source agent-context tool by Cole H. (GitHub account cole-h06), announced in a Show HN post on Oct. 31, 2026. Its Python SDK and MCP server run locally between retrieval and generation: structured source, claim, and provenance observations inform which original passages are selected under a context budget. The project says the evaluator does not need to read the source text, and offers SQLite by default, with PostgreSQL support. Its README demo reports full coverage of four claims using two chunks and 51 of 80 budget units, versus two claims using three chunks and 75 units for retrieval-order packing. These are project-reported results; the supplied sources offer no independent validation or adoption evidence.

Why it matters

This explores a useful layer between retrieval and generation: choosing evidence not just by rank, but by claim coverage and estimated source independence. If it works beyond the project's examples, it could help agents avoid redundant or weakly supported context while using fewer tokens, locally and without an extra model call. That may improve efficiency and keep more context processing under the user's control. The broader benchmark is self-reported on 24 synthetic cases; it shows precision gains in tested integrations but also lower recall, and frontier-model judges score higher on aggregate selection quality. Impact therefore remains unproven.

Current assessment

New: Omneum is presented as available as a Python package and local MCP server, with examples for several agent frameworks. Its graph evaluator analyzes structured observations linking claims to sources and provenance; the SDK maps scores back to chunks, selects passages within a budget, and reconstructs their original text. The project says local selection requires no additional model inference. In its simple demo, claim coverage rises from 2/4 to 4/4 while reported budget use falls from 75/80 to 51/80; the README says this uses a word/punctuation counter, so it is not evidence of downstream answer accuracy. The project also reports a benchmark across 24 synthetic cases and six domains: adding Omneum to tested retrieval/reranking integrations raised precision by 3.02–8.44 percentage points and reduced context tokens by 14.46–18.51%, with lower recall and evidence retention. Frontier judges performed better on aggregate selection quality; the benchmark ran no downstream answer generation. These are vendor/project claims, not independently confirmed. The supplied evidence establishes a release and implementation details, but not real-world adoption, performance on production tasks, or whether provenance mappings are reliable when supplied by an integrating pipeline. Track independent evaluations and usage before inferring broader impact.

Measured heat

no measured readings yet β€” the hourly heat pass fills this in

How the heat travelled

10-30 15:26 (minted)⭐ origin echo-reconstructedThe earliest primary artifact found is the Omneum repository itself; its README describes it as a β€œProvenance-aware context control plane fo
Cole H. (GitHub account cole-h06; HN submitter cole_dev) on github (echo) Β· attributed from hn.story.50304917 Β· published time unknown
β€”
10-30 15:03first on hacker news Β· published Β· lag ?Show HN: Omneum – Local, text-blind context control plane for AI agents
cole_dev
β€”
10-30 15:03amplified on hacker news πŸ‘‘hn.story.50304917
cole_dev
peak 2 Β· 0 comments Β· 97% of case engagement
10-30 15:21our radar first saw it Β· lag ?discovery anchor: hn.story.50304917β€”

Evidence (2) β€” ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: Omneum – Local, text-blind context control plane for AI agents
Retrieved article excerpt

Open article Β· Retrieved 2026-10-30T15:23:28.056916+00:00

# Omneum

[Omneum](https://raw.githubusercontent.com/cole-h06/omneum/main/assets/omneum-logotype-white-bg.png)

Provenance-aware context control plane for AI agents.

[CI](https://github.com/cole-h06/omneum/actions/workflows/CI.yml)
[PyPI](https://pypi.org/project/omneum/)
[Python 3.11–3.14](https://camo.githubusercontent.com/8e5e1d8658bcaba04627a1c98f9c58871c16d140e59f70467779fc0ff5fb5d53/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f507974686f6e2d332e3131254532253830253933332e31342d626c7565)
[MIT License](https://github.com/cole-h06/omneum/blob/main/LICENSE)

Omneum is an open-source context control plane for AI agents, built to optimize the evidence entering an LLM's context window.

Agents accumulate context from retrieval, tools, memory, and previous sessions, but longer context windows don't guarantee better reasoning. Context rot can slowly degrade downstream answer accuracy even when the relevant information has already been retrieved.

## Why Omneum?

- **Provenance-aware graph inference:** Iteratively computes source reliability and claim support across a bipartite graph, accounting for shared evidence origins and dependencies between sources.
- **Context reconstruction:** Selects original retrieved passages based on question relevance and incremental claim coverage within a token budget.
- **Text-blind evaluation:** Evaluates structured observations without reading source text strings or invoking an LLM judge.
- **Local by default:** Persists your agents' observations across sessions in a [Context Graph](https://github.com/cole-h06/omneum/blob/main/docs/context-graph.md), backed by SQLite or PostgreSQL.

## Quick Start

Install Omneum:

```
pip install omneum
```

Run the context reconstruction demo:

```
git clone https://github.com/cole-h06/omneum.git
cd omneum
python -m examples.context_quality_demo.before_after
```

**Five retrieved chunks, four distinct claims, 80-unit context budget.**

Compare retrieval-order packing with Omneum's claim-coverage selection under the same context budget.

| Metric | Raw RAG | Omneum |
| --- | --- | --- |
| Chunks retained | 3 | 2 |
| Claim coverage | 2/4 | 4/4 |
| Budget used | 75/80 | 51/80 |

Packing chunks in retrieval order consumes 75 units while covering only two claims. Omneum retains two original chunks covering all four, using **32% less context capacity**.

The demo measures its budget with the SDK's word/punctuation counter.

[Example source β†’](https://github.com/cole-h06/omneum/tree/main/examples/context_quality_demo)

[Set up the MCP server β†’](https://github.com/cole-h06/omneum#mcp-installation)

## How Omneum Works

### Graph Inference & Context Selection

Omneum uses a graph-based mathematical analysis, calculated from `Observation` objects, to estimate the structural reliability of sources and the support for claims found in retrieved context.

Importantly, this analysis does not naively assume every source has derived its information independently. The same information often propagates across multiple sources. Without dependency tracking, five observations from different sources can be difficult to distinguish from five reports derived from the same upstream source.

For example, consider:

```
Source A:    Acme's 2025 annual report
Claim:       Acme reported $4.2 billion in revenue for 2025.

Source B:    Financial article reporting the same claim
Claim:       Acme reported $4.2 billion in revenue for 2025.
Upstream:    Acme's 2025 annual report
```

How much support should that claim receive? That depends partly on the reliability of the sources reporting it. But how do we determine the reliability of the sources? By looking at the claims they support.

This definition seems circular, and it is. Nonetheless, it provides a well-defined notion of reliability that helps distinguish strongly supported context from weakly supported context.

Of course claim-level scores are only useful for context selection if they can be mapped back to chunks. To bridge this gap, Omneum stores a claim-to-chunk mapping: each chunk retains its original text and `chunk_id`, while its associated `claim_ids` reference the claims evaluated in the graph. A chunk can contain multiple claims, and the same claim can appear across multiple chunks. This allows the algorithm to associate claim support with the actual passages competing for space in the context window.

But selecting context is not simply a matter of ranking chunks by their individual scores. Omneum derives chunk utility from the claims associated with each passage, then ranks chunks to fill the model's window under a limited token budget. When a nonempty `question` is supplied, finalized claim contributions are weighted by deterministic, local lexical relevance over the original passage text. Repeated evidence from the same inferred source cluster earns only an improvement over its best selected relevance. Without a question, Omneum keeps its question-blind claim-coverage selection. Selected passages are reconstructed from their original text.

The selected passages are then reconstructed from their original text into the context passed to the LLM. The analysis itself never needs to read that text because it operates exclusively on structured relationships between sources and claims.

[Experiments and research β†’](https://github.com/cole-h06/omneum/tree/main/research)

### Integration

Omneum runs between retrieval and generation. The Python SDK accepts retrieved chunks and relevance scores from the calling retrieval pipeline, or computes relevance locally using BM25 or MiniLM when explicitly enabled.

```
Retrieval / tools
        β”‚
        β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ ContextMapper / Observation input         β”‚
β”‚                                           β”‚
β”‚ Source, claim and provenance mapping      β”‚
β”‚ Structured Observation construction       β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                      β”‚ Structured observations
                      β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Python SDK Β· prepare_context()            β”‚
β”‚                                           β”‚
β”‚ Retrieved chunks and relevance scores     β”‚
β”‚ Query conditioning / candidate discovery  β”‚
β”‚ Original text retained locally            β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                      β”‚ Structured observations
                      β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Omneum evaluator                          β”‚
β”‚                                           β”‚
β”‚ Provenance-aware graph inference          β”‚
β”‚ Dependency-adjusted claim support         β”‚
β”‚ No original source text required          β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                      β”‚ Graph evaluation
                      β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Python SDK                                β”‚
β”‚                                           β”‚
β”‚ Claim-to-chunk score mapping              β”‚
β”‚ Question-weighted claim support           β”‚
β”‚ Marginal claim coverage                   β”‚
β”‚ Token-budget enforcement                  β”‚
β”‚ Original text reconstruction              β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                      β”‚ Reconstructed context
                      β–Ό
                  Agent / LLM
```

`client.prepare_context()` uses Omneum's provenance-aware graph inference to evaluate source reliability and claim support, accounting for dependencies between sources. The SDK uses those results to rank and select retrieved passages within the token budget, then reconstructs their original text for the model.

The prepared context is returned in `result["context"]`, with selected passages in `result["chunks"]` and evaluation scores in `result["evaluation"]`.

[Architecture β†’](https://github.com/cole-h06/omneum/blob/main/docs/architecture.md)

## MCP Installation

**Note:** Omneum supports Python 3.11–3.14 on macOS and Ubuntu. The Python SDK is the currently supported client library.

**Supported Platforms:**

| Platform | Supported |
| --- | --- |
| macOS (Apple Silicon / arm64) | βœ… |
| macOS (Intel / x86\_64) | βœ… |
| Linux (Ubuntu 22.04+ / x86\_64) | βœ… |

### 1. Install the evaluator

Run the installer to configure the local evaluator:

```
omneum install
```

Run `omneum install` from your normal login account. Don't run the command with `sudo`.

The installer runs unprivileged while it downloads and verifies the evaluator release. The daemon version is pinned to the installed Python package version. For example, Omneum `1.0.3` only accepts daemon assets from `v1.0.3`; it doesn't resolve `latest` or fall back to another release.

The archive is verified against the release `SHA256SUMS` before installation. A missing checksum, mismatched digest, unexpected archive entry, link, or path traversal stops the install before anything from the archive runs.

Administrator access is requested only when installing machine-level service files. On Ubuntu, this includes the managed runtime under:

```
/opt/omneum
```

and public client configuration at:

```
/etc/omneum/config.toml
```

The evaluator runs under a dedicated service identity, isolating its VOPRF private key from the login account and MCP server process. macOS uses `launchd`; Ubuntu uses systemd.

`omneum-server` exposes Omneum's MCP tools over stdio and communicates with the locally installed evaluator service. The installer finishes by sending a VOPRF request through that path and verifying the response against the configured public key. A running service alone does not count as a successful installation.

See [`docs/guides/installation.md`](https://github.com/cole-h06/omneum/blob/main/docs/guides/installation.md) for service accounts, sockets, installed paths, custom endpoints, and failure handling.

### 2. Connect your MCP client

Add Omneum to your MCP configuration:

```
{
  "mcpServers": {
    "omneum": {
      "command": "omneum-server"
    }
  }
}
```

Restart the MCP client. It launches `omneum-server` over stdio and exposes Omneum's tools to your agent.

If the executable isn't found, locate it with `command -v omneum-server` and use the returned absolute path as `command`.

### 3. Verify

Ask your agent to call Omneum's `ping` tool. A successful connection returns:

```
{
  "status": "ok"
}
```

## Context Preparation

Omneum evaluates structured observations, selects retrieved chunks under a token budget, and reconstructs the selected text for the downstream LLM. The evaluator computes dependency-adjusted claim support, while the Python SDK handles chunk selection and reconstruction.

### 1. Map retrieved context

In this example, the FAQ derives its audit retention claim from the security policy. The upstream dependency is recorded through `upstream_sources`.

```
from datetime import datetime, timezone

from omneum import ContextMapper, Source
from omneum.information import SourceReference
from omneum.context_selection import claim_id

now = datetime.now(timezone.utc)
policy_url = "https://example.com/security-policy"

records = [
    {
        "id": "obs-policy",
        "url": policy_url,
        "attribute": "audit_retention_days",
        "value": 90,
        "upstream": [],
        "text": "Audit logs are retained for 90 days.",
    },
    {
        "id": "obs-faq",
        "url": "https://example.com/faq",
        "attribute": "audit_retention_days",
        "value": 90,
        "upstream": [
            SourceReference(kind="web_document", identifier=policy_url)
        ],
        "text": "Audit logs are retained for 90 days.",
    },
    {
        "id": "obs-incident",
        "url": "https://example.com/incident-report",
        "attribute": "incident_notification_hours",
        "value": 24,
        "upstream": [],
        "text": "Security incidents are reported within 24 hours.",
    },
]

mapper = ContextMapper(
    source=lambda r: Source(kind="web_document", identifier=r["url"]),
    entity_namespace=lambda r: "security
cole_dev20
🟧 echo.github ⭐The earliest primary artifact found is the Omneum repository itself; its README describes it as a β€œProvenance-aware context control plane foCole H. (GitHub account cole-h06; HN submitter cole_dev)β€”β€”

Interpretation history

Decision trace