Skip to content

[!] TOPIC ARCHIVE // #ARCHITECTURE

#Architecture

All 35 guides, operator dossiers, and signals tagged with #Architecture.

ENTRY

stateless agents: why your AI shouldn't remember you

Read →
ENTRY

AI stopped being a tool. it became infrastructure

the personal AI OS is no longer a thought experiment. it's a deployment pattern. and the human-in-the-loop is vanishing faster than anyone projected.

Read →
PRACTICAL GUIDE

CrewAI vs LangGraph: choose a multi-agent framework by workflow shape

CrewAI fits role/task crews and event-driven flows. LangGraph fits explicit state, loops, interrupts, persistence, and replay. Use neither when one agent and a few tools is enough.

Read →
CONCEPT

agentic loops: observe, plan, act, verify

the core pattern of autonomous agents. simple in theory, messy in practice, and full of ways to fail.

Read →
CONCEPT

what is MCP? the Model Context Protocol explained

what is MCP (Model Context Protocol)? a non-technical explanation of how MCP works, why it matters, and how it connects AI agents to the world.

Read →
CONCEPT

context engineering

context engineering is the discipline of crafting optimal context for AI agents — memory, retrieval, compression, and instruction design.

Read →
CONCEPT

AI agent orchestration

how multiple AI agents coordinate work — supervisor patterns, hierarchical delegation, swarm architectures, and when each makes sense.

Read →
PRACTICAL GUIDE

agent-first design

how to structure repositories so AI agents can actually work in them. the code isn't just for humans anymore.

Read →
CONCEPT

Agent Memory Systems

How AI agents implement memory: short-term context, long-term storage, vector retrieval, and the architecture that ties it together.

Read →
PRACTICAL GUIDE

MCP Server Stacking: One Data Source is Data, Two is Intelligence

Combine multiple MCP servers to unlock cross-domain insights that no single server can provide on its own.

Read →
PRACTICAL GUIDE

Debug Your RAG Pipeline Before Users Notice

Monitor retrieval-augmented generation systems with OpenTelemetry tracing. Find whether bad answers come from retrieval, context, or generation.

Read →
CONCEPT

AI Memory Compression

Techniques for compressing AI observations into retrievable semantic summaries that fit in context windows

Read →
CONCEPT

Memory Consolidation and Forgetting

How AI agents consolidate short-term observations into long-term storage using sleep-inspired patterns, plus when and what to forget.

Read →
CONCEPT

Tool Routing: How AI Agents Pick Which Function to Call

Modern agents route between dozens of tools using semantic matching, LLM-as-router, hierarchical patterns, and fallback chains. Patterns for scoring, selection, and MCP sampling.

Read →
CONCEPT

Ollama vs vLLM vs llama.cpp vs LM Studio: choose the local runtime by job

Choose a local LLM runtime by workload: Ollama for laptop/dev, llama.cpp for GGUF control, LM Studio for a desktop UI, and vLLM for multi-user serving.

Read →
CONCEPT

Subagent Patterns: Parallel, Sequential, Background

Three dispatch patterns for delegating work to AI subagents and when to use each one.

Read →
CONCEPT

Multi-Agent Knowledge Management

When a single AI can't handle your PKM needs, specialized agents working together can automate capture, processing, and synthesis.

Read →
CONCEPT

Model Quantization: Running 70B Models on a Laptop

Reduce model precision from 32-bit to 4-bit to run large language models locally. Covers k-quants, GGUF, and choosing the right quantization level.

Read →
PRACTICAL GUIDE

llama.cpp setup guide: build, run, and troubleshoot GGUF models locally

Build llama.cpp, load a GGUF model, run the CLI or server, and verify the install with one smoke test and troubleshooting table.

Read →
CONCEPT

The Architecture of a Personal OS

Personal OS architecture: interface, agent, memory, integration, and tool layers. Build your AI system incrementally in 4 weeks

Read →
CONCEPT

Late Chunking: Context-Aware Document Splitting for Better Retrieval

Process entire documents through embedding models before splitting to preserve cross-chunk context that traditional chunking destroys

Read →
CONCEPT

Malleable Software

Software as clay you reshape, not appliances you consume

Read →
PRACTICAL GUIDE

ACE Framework for Personal AI

Implement David Shapiro's six-layer cognitive architecture to give your Claude Code assistant mission, values, and strategic context

Read →
CONCEPT

MCP Server Composition

Connect your AI agent to multiple MCP servers at once, combining calendar, database, files, and search through one protocol

Read →
CONCEPT

Hybrid Search: Combining Keyword and Semantic Retrieval

Vector search misses exact matches. Keyword search misses concepts. Hybrid search with reciprocal rank fusion combines both for personal knowledge bases.

Read →
CONCEPT

Hybrid Retrieval: When RAG Meets Long Context

Combine RAG retrieval with long-context windows strategically instead of treating them as competing approaches

Read →
CONCEPT

Agentic Design Patterns: ReAct, Reflection, Planning, Tool Use

When to use ReAct loops, self-critique, task decomposition, and tool calling in AI agents. A practical pattern library for building effective agent systems.

Read →
PRACTICAL GUIDE

Claude Code Plugins System

Extend Claude Code with plugins for custom tools, MCP servers, and workflows

Read →
CONCEPT

What is a Personal OS?

A Personal OS is the user's control plane for memory, identity, permissions, tools, workflows, actions, receipts, and rollback across AI agents and devices.

Read →
PRACTICAL GUIDE

Building Your First MCP Server

Create custom MCP servers to extend Claude with your own tools

Read →
CONCEPT

Graph Memory for Personal AI

Knowledge graphs track relationships between people, projects, and time that vector databases miss. Build AI memory that understands context across sessions.

Read →
CONCEPT

Episodic Memory for LLM Agents

Give AI agents memory of specific past events with temporal context. The missing piece between semantic facts and procedural rules in the CoALA framework.

Read →
CONCEPT

Self-Evolving Agents

Build AI agents that improve through structured feedback capture, automated evaluation, and continuous retraining loops

Read →
CONCEPT

Agent Observability

How to implement distributed tracing, logging, and monitoring for AI agents using OpenTelemetry and purpose-built tools like Langfuse and Braintrust.

Read →
CONCEPT

Agent Guardrails: Input/Output Validation for Autonomous Systems

How to implement runtime guardrails that validate agent inputs, filter outputs, and enforce business rules. Covers NeMo Guardrails, layered checking, and production patterns.

Read →
← All topics & tags