Meaning before retrieval.
A column name is not a definition. Give agents reviewed concepts, stable identities, and versioned contracts before asking them to reason over data.
The semantic foundation ↗THE NEXT CHAPTER OF AI INFRASTRUCTURE
The future of AI is type-safe.
AI Infra 2.0 brings meaning, permissions, and execution into one coherent stack. Built in Rust. Grounded in types. Open for everyone to build on.

From model calls → meaningful systems → accountable agents
AI INFRA / 2.001 / THE THESIS
An agent can generate a valid query and still ask the wrong question, access the wrong data, or act with the wrong authority. The next infrastructure layer must make those boundaries explicit.
A column name is not a definition. Give agents reviewed concepts, stable identities, and versioned contracts before asking them to reason over data.
The semantic foundation ↗Make protected operations require typed proof of permission. Bind runtime policy decisions to the resource and action the agent actually uses.
The security argument ↗Carry governance into the engine, preserve provenance, and test the boundaries. An approved plan is only the beginning of a trustworthy result.
The governed data path ↗THE CORNERSTONE / QUERYGRAPH TYPESEC
TypeSec turns policy decisions into capabilities that protected Rust APIs require. Read authority and write authority have different types. Without the right capability, the call cannot compile.
Runtime checks still govern identity, policy, and dynamic inputs. Types make the resulting authority explicit inside the protected API.
Explore TypeSec on GitHub ↗// The function requires proof of authority.
fn write_report(
cap: Capability<CanWrite, Report>,
report: &Report,
) {
// Protected operation
}
// A read capability is a different type.
write_report(read_cap, &report);
^^^^^^^^ type mismatch02 / THE OPEN-SOURCE STACK
QueryGraph connects agent interfaces to a governed semantic lakehouse. Explore each layer to see the responsibility it owns.
03 / FIELD NOTES
From community experiments to working systems.
Writing by Alexy Khrabrov across four publications.
Why shared memory, meaning, and governed access belong at the heart of agent infrastructure.
Read the essay ↗ SECURITY IN PRACTICEAgentGym probes authority across system boundaries, making the case for enforcement that reaches execution.
Read the benchmark story ↗ MEANING & DATAPinax connects shared concepts to concrete fields, bringing semantic discovery into the QueryGraph stack.
Meet Pinax ↗ LEARNING BY BUILDINGA personal path into Rust through real graph projects, architectural comparisons, and bespoke technical books.
Read the origin story ↗04 / THE QUERYGRAPH BOOKSHELF
Understand the code. Explore the architecture.
Read on the web, or take a PDF or EPUB with you.
THE FUTURE IS SOMETHING WE BUILD.
Explore the code, challenge the ideas, and help shape AI Infra 2.0.