AI Engineering Knowledge Base
From architecture choices to production troubleshooting, this hub organizes real AI Agent, MCP, LangGraph, Workflow and on-device AI problems. Each topic aims to provide reproducible methods, constraints and a concrete next step.
Engineering paths
01Design an AI AgentDecide whether you need an agent, then move through architecture, tools, memory, evaluation and production governance.02Connect models to real toolsChoose between function calling and MCP, then handle servers, transport, OAuth and permissions.03Build a recoverable agent workflowUse explicit state, checkpoints, pause/resume, concurrency and failure recovery when a simple chain is not enough.04Run deterministic automation reliablyFor fixed business processes, focus on webhooks, queues, retries, idempotency and observability.
Supporting systems
Key guides
AI Agent Full Guide: From Architecture to Production GovernanceBuild the system boundary across agents, workflows, memory, RAG, tool use and production governance.AI Agent Frameworks: LangGraph, ADK, AI SDK 7 and MAFCompare state recovery, WorkflowAgent, tool approvals and hosting trade-offs.OpenClaw vs Hermes: Evidence-Based Architecture ComparisonCompare gateways, memory, skills and deployment without invented benchmark scores.MCP vs Function Calling: Real Project SelectionCompare protocol boundaries, permissions, tool integration and client reuse.LangGraph State Isolation in PracticeDesign thread_id, session_id and user_id boundaries and persistence.Self-hosted n8n AI WorkflowsDocker, VPS, NAS, self-hosting and production operations.AI Agent Tool Authorization Policy GateAuthorization, approval, rejection and auditing before high-risk tool calls.GPT-5.6 Real Project TestTest whether model improvements materially change real development workflows.
Recent engineering work
LiteRT Tensor API in C++: XNNPACK, GPU, NPU and Native Model Graphs10/20/2026LFM2.5-24B-A2B on Mac: Memory Requirements, GGUF vs MLX10/18/2026Gemini 4 Argon: Capabilities, Pricing, Migration, and a Real-Project Evaluation Plan10/14/2026EmbeddingGemma 2 Local Retrieval Test: Mac 270M, PDF/DOCX, 256d vs 768d10/10/2026Personal AI Agent Architecture: Memory, Permissions, App Actions and Local-vs-Cloud Design10/06/2026How to Adapt a UIKit App for iPhone Duo: Tab Bars, Size Classes, Safe Areas, and Reserved Regions09/28/2026