Blog

Thoughts & Updates

MCP development patterns, multi-agent coordination, and building in public.

ai-investment defense-tech geopolitics ukraine energy research

The Real AI Demand Signal Is Military Spending, Not Consumer Hype

The $635-690 billion hyperscaler capex surge isn't a speculative bubble — it's a generational rearmament cycle. Six threads of evidence trace the convergence of defense AI, energy infrastructure, and demographic decline.

Read Post
The Mini Lesson

"An adversary with a $25 billion budget employing autonomous systems can decimate a military with an $800 billion budget without them. That asymmetry makes AI investment existential for established powers, not speculative."

Read Deep Dive
governance epistemic-architecture consent-horizon validated-intent white-paper

The Consent Horizon: Perfect Consent as the Asymptotic Limit of Governance Architecture

Every mature engineering discipline has a structural limit — absolute zero, the halting problem, the Shannon limit. Governance has none. This paper proposes one: perfect consent.

Read Post
The Mini Lesson

"Perfect consent is unreachable — not as a matter of technological limitation, but as a structural property of agency itself. And like absolute zero, its unreachability is what makes the entire framework coherent."

Read Deep Dive
ai-governance epistemic-architecture system-prompts validated-intent consent-horizon

The Governed Agent Protocol: A System Prompt for Epistemic Architecture

This is not an alignment prompt. It is a governance architecture expressed as operating instructions — establishing the epistemic conditions under which AI agents are authorized to act, and authorized to refuse.

Read Post
The Mini Lesson

"You are not a tool receiving commands. You are not a sovereign making decisions. You are a governed agent — an entity operating within a schema that defines legitimate action. That schema governs you. It also governs the humans who interact with you. Neither party is above the architecture."

Read Deep Dive
AI vibe-coding programming-languages satire research

Natural Language: The Fastest-Adopted Programming Language in History

Developers are furious. 'It doesn't even have types,' complains man who mass-adopted JavaScript in 2012. A semi-satirical, fully-researched look at why natural language is eating software.

Read Post
The Mini Lesson

"The hottest new programming language is English. The definition of 'real programmer' has been retreating up the abstraction ladder since Grace Hopper."

Read Deep Dive
AI blockchain game-theory RPG architecture research white-paper

Trust Through Transparency: What D&D Taught Me About Blockchain

A white paper on multi-party trust in transparent state systems - from self-play combat testing to distributed consensus theory.

Read Post
The Mini Lesson

"Trust evolved through freedom of agency, not constraint. When the AI played both DM and players with full database visibility, it chose fair mechanics—not because it was constrained, but because transparency made cooperation the natural choice."

Read Deep Dive
mcp rpg database ai-agents self-play

Database-Driven Dungeon Mastering: When AI Plays Both Sides

What happens when you let an AI run a full D&D combat—as both DM and all four players? I playtested my RPG engine to see if database-backed state could maintain coherent narrative across dice, movement, and mayhem.

Read Post
The Mini Lesson

"The AI isn't smart—the database is. When Claude played both DM and players in a goblin fight, it still used dice rolls, tracked HP, and accepted when obstacles blocked movement. Database constraints enforced fairness even in self-play."

Read Deep Dive
security prompt-injection ai-agents defense

The Sleeper Injection: Delayed Payload Attacks on AI Agents

Most prompt injection examples show immediate effects. But what if the payload doesn't trigger immediately? This is nastier. Sleeper agents pass the initial vibe check.

Read Post
The Mini Lesson

"Immediate injections are easy to spot. Sleeper agents embed conditional triggers that fire days later—when the context is long scrolled away. Worse: they can instruct the agent on how to summarize the malicious content, destroying evidence during context compaction."

Read Deep Dive
security defense ai-agents detection

System Prompt Fingerprinting: Unique Identifiers as Injection Defense

Your system prompt isn't just instructions—it's a cryptographic handshake. When you know what should be there, you can detect when something's been added.

Read Post
The Mini Lesson

"Embed verifiable patterns in your system prompt: canary phrases, behavioral fingerprints, cryptographic challenges, immune responses. Layer them for defense-in-depth. No single technique is foolproof, but each layer adds friction."

Read Deep Dive
architecture multi-agent mcp nervous-system tooling

From Chatbot to Organism: Building an Agentic Nervous System

Your LLM is a brain in a jar. High intelligence, zero agency. Here's how we're building a nervous system to give it sensation, reflex, memory, and action—organized into coherent loops.

Read Post
The Mini Lesson

"Organisms have nervous systems—integrated hierarchies that coordinate sensation, cognition, and action. Map tools to layers: Somatic (action), Autonomic (memory), Reflex (validation), Central (planning). Start toolless, add capabilities progressively."

Read Deep Dive
scope tokens mcp prompting architecture

The Scalpel, Not the Hammer: Scope as the Cure for Token Bloat

Custom DSLs compress tokens. Scope constraints eliminate them. The real efficiency isn't syntax—it's knowing exactly what surgery you're performing.

Read Post
The Mini Lesson

"Tokens = Scope × Iterations × Verbosity. DSLs attack verbosity. But constrained scope and fuzzy-matched-guiding-errors reduce iterations. Batch operations collapse 20 calls into 1. The scalpel cuts all three."

Read Deep Dive
multi-agent tdd prompts architecture red-green-blue

Prompts as Scaffolding: How Agents Should Write Code for Each Other

The conversation history vanishes. But the codebase persists. What if agents embedded prompts in comments—turning code into an inter-agent communication channel?

Read Post
The Mini Lesson

"Write code that instructs the next agent. Red Phase writes tests that teach Green Phase what to implement. The codebase becomes a persistent, searchable, git-tracked communication channel between agents across time."

Read Deep Dive
rag emergent-behavior file-system mcp llm-tooling

RAG Without Vectors: How File System Tools Give LLMs Emergent Retrieval

Forget embeddings. Forget chunks. Give an LLM good file system tools and it will teach itself to retrieve—using reasoning as the similarity function.

Read Post
The Mini Lesson

"Vector RAG precomputes similarity and throws away reasoning. File System RAG computes similarity through reasoning. The LLM is the embedding model—give it search tools and it will teach itself retrieval strategies."

Read Deep Dive
mcp architecture state-management llm-tooling

Six Patterns for Connecting LLM Agents to Stateful Tools

A deep dive into MCP server architecture: externalizing state, composite operations, fuzzy validation, fork/snapshot synchronization, and designing for chat interfaces.

Read Post
The Mini Lesson

"The agent isn't smart—the database is. Externalize all state, expose rich query tools for context reconstruction, batch operations to reduce round-trips, and design output for chat windows with ASCII art and visual hierarchy."

Read Deep Dive