TPipe Blog

Practical guides and insights for building deterministic AI agents. Learn about reasoning pipes, optimization techniques, and production best practices.

75% Token Reduction
78% Latency Decrease
10x Context Efficiency

Latest Articles

context-engineeringprompt-engineeringanthropic

Context Engineering: What Anthropic, LangChain, and the Substrate Disagree About

Anthropic, LangChain, and LlamaIndex shipped three different definitions of context engineering in 2025. They disagree on the unit. This post compares the canonical sources, identifies the production failure mode the four-strategy framing leaves on the floor, and explains what typed substrate state adds that token-set curation does not.

Richard Wang
memorycontextbankmemory-bank

ContextBank vs Memory Bank: Why TPipe Owns the Agent Memory Slot in 2026

Vertex AI Memory Bank is a Google Cloud managed service. Claude Code Memory is a file-based session extension. Cline Memory Bank is a community methodology. Memori is a library. ContextBank is the memory layer of the Ten Trillion Triangles TPipe agent operating substrate. Four named competitors, four different abstractions, one of them the substrate. Here is the actual code, the actual pricing, the actual bugs, and the architectural fact about why the substrate is the place that decides which retrieval is.

Richard Wang
memorycontextbankvector-database

ContextBank vs Vector Databases: Why Memory Is Not Embeddings

Vector databases retrieve by semantic similarity over embeddings. ContextBank retrieves by weighted lorebook activation across page keys with mutex-guarded writes. They solve different problems. Lumping them together produces agents that retrieve embeddings when they should be reading state. Here is the actual code from Ten Trillion Triangles TPipe, the production scars, and the architectural fact about why the substrate is the place that decides which one a given retrieval is.

Richard Wang
memorycontextbankcontextwindow

How TPipe Stores an Agent's Memory: ContextWindow and ContextBank

ContextWindow and ContextBank are TPipe's two data structures for memory. Here's the API for both, the production pattern Autogenesis uses to keep its lorebook live, and the foundation for memory agents that update their own state in real time.

Richard Wang
graalvmnative-compilationsubstrate

You Cannot Build an Agent Substrate in Python

Every framework in this space calls itself an agent framework. None of them are. Not in the way that matters for production systems that run headlessly, at scale, on real infrastructure. The difference is architectural, and it starts with a single constraint: Python cannot compile to a native executable.

Richard Wang
p2pdistributedmulti-agent

Why P2P Agent Communication Is Inevitable

The industry claims peer-to-peer everywhere. None of it is. Here's what true P2P requires, why the gap is architectural and not solvable by iteration, and why the industry gets there eventually — one way or another.

Richard Wang
headlessautonomousarchitecture

Headless AI Agents: What They Are and Why They Matter

Headless agents run without human input at runtime, making decisions and taking action in the background while chatbots wait for someone to ask them something. Here's what that actually means in practice, using Autogenesis as the proof of concept.

Richard Wang
memorylorebookarchitecture

What TPipe's Memory System Actually Is

Learn why TPipe's keyword-triggered LoreBook memory system is architecturally superior to RAG and probabilistic approaches for enterprise AI deployments.

Richard Wang