Structured knowledge substrate

Grimoire is the substrate.
Agents are replaceable.

HobFarm's structured knowledge substrate for data-grounded AI workflows. References, atoms, composites, correspondences, validation traces, agent-readable context. Models change. Providers change. Agents change. The substrate persists, improves, and gives every new agent a better landscape to work inside.

Substrate signals

6 public notes
References
indexed
visual + textual
Atoms
schema-backed
structured units
Composites
tracked
arrangements
Correspondences
linked
cross-references
Source families
ingested
multiple paths
Worlds
active
universes
Agent runs
logged
context returned
Validation traces
replayable
audit trail
How it works

From source to replay.

Every artifact passes through the same pipeline. Sources enter, agents extract into structured atoms, atoms combine into composites, correspondences link them across categories. Downstream, agent context is assembled from substrate state, outputs are generated, and every step is logged so any run can be replayed.

01 / SOURCES

Visual references, cultural metadata, text corpora, gallery inputs.

02 / EXTRACTION

Agents read sources into structured fields. Provider-agnostic.

03 / ATOMS

Schema-backed units. The smallest persistent things the substrate holds.

04 / COMPOSITES

Atoms arranged into reusable structures: palettes, identities, scenes.

05 / CORRESPONDENCES

Links between atoms across categories. The substrate's connective tissue.

06 / AGENT CONTEXT

Substrate state shaped into context an agent can read at runtime.

07 / OUTPUTS

Generated images, compiled prompts, structured answers, downstream payloads.

08 / REPLAY

Every run logged with inputs, schema versions, and validation traces.

Why it matters

Durable data.
Replaceable agents.

Anything you build on top of a specific model is on a deprecation clock. Anything you build on top of structured, schema-backed data outlives the model that produced it. Grimoire keeps the durable side of that line, and treats the rest as swappable.

What changes
  • Models

    Frontier weights cycle on a monthly cadence.

  • Providers

    API surfaces and pricing shift constantly.

  • Agent frameworks

    Today's orchestration is next year's footnote.

  • Prompts

    Phrasing rots. Compilation strategies drift.

What persists
  • Atoms

    Schema-backed units survive model swaps.

  • Composites

    Arrangements remain valid across providers.

  • Correspondences

    Cross-references compound in value over time.

  • Validation traces

    Runs are replayable, audits are durable.

System architecture

Edge-native substrate.

Grimoire is built on a Cloudflare-native stack. Structured storage and indexes hold the durable parts of the system. Edge compute reads them on demand, routes through a provider gateway, and writes new runs back into the substrate. Downstream surfaces consume the same shape.

D1

Structured storage

Atoms, composites, correspondences, run logs.

R2

Reference assets

Source images and large binaries.

KV

Hot state

Health, gates, lookups read on every request.

Vectorize

Semantic index

Similarity search across atoms and chunks.

Workers

Compute fabric

Edge-resident routes, classifiers, pipelines.

Queues

Async work

Batched extraction, retagging, vectorization.

AI Gateway

Provider routing

Multi-provider mediation with retries and caching.

Surfaces

Downstream

StyleFusion, HobBot, hob.farm consume the substrate.

Workflow patterns

01 Generate

Substrate context shapes a prompt. The agent produces an output. The output is logged and linked back to its source atoms.

02 Filter

Existing references and atoms are matched against constraints. The substrate narrows the search space before any model runs.

03 Control

Composites and correspondences enforce identity, palette, and arrangement across providers. Same character everywhere.

04 Replay

Every run carries its inputs and schema version. A past output can be regenerated, audited, or compared on demand.

Engine room

See the substrate.

A symbolic cross-section of the knowledge machine. Five layers, biweekly snapshot. Geometry is decorative; labels and diagnostics come from the current snapshot.

The Grimoire Engine Room
HobFarm — Knowledge Machine Architecture
Snapshot updated 2026-05-17 Updated 2026-05-17
ORBIT: drag · ZOOM: scroll · CLICK layer to focus · HOVER for details
  • Substrate invariants hold
  • Queue health green
  • Vectorize backlog tiny
  • Decay, LPA, engram running
  • 97% atoms lag tag_version
  • dimension_memberships underbuilt
  • curated path unused
  • Molecule formation stalled
  • 60% chunks orphaned
  • chunk_atoms bridge: topology gap

Visualizer built with Omma.

Public interface

Ask the Grimoire.

A read-only window into the public side of the substrate. Ask about atoms, correspondences, prompt compilation, identity lock, or how a particular pattern is structured. When the underlying context is available, the answer surfaces it alongside the response.

🕯

Opening substrate channel...

Loading the public Grimoire interface.