Engineering Notes

Notes from production AI & web systems.

Production notes on Forward Deployed Engineering, Rust & WASM AI sandboxes, Model Context Protocol (MCP) servers, Agentic RAG on pgvector, and Next.js + FastAPI SaaS systems.

Systems

Zero-Trust AI Supply Chain: Auditing GGUF Weights, SKILL.md Bundles, and Agent PRs

Why chat-template poisoning, silent skill exfiltration, and unobserved coding-agent sandbagging turn local model files and markdown instructions into executable supply-chain boundaries.

NOV 28, 20268 MIN READ
Roles

Forward Deployed Engineer: What the Job Actually Is in Production AI

Why FDE demand surged 700%+ and how embedded engineers bridge the last mile between AI demos and messy enterprise workflows.

NOV 28, 20267 MIN READ
Systems

Rust & WebAssembly Sandboxing for High-Throughput AI Backends

Why Rust is becoming the default systems layer for AI agent runtimes, vector pipelines, and sub-millisecond untrusted code execution.

NOV 26, 20268 MIN READ
AI Agents

Model Context Protocol (MCP) Servers in Production

Architecting the universal USB-C layer that connects Claude, Cursor, and custom AI agents to your databases and APIs safely.

NOV 24, 20267 MIN READ
RAG

Agentic RAG & Hybrid Search in Postgres with pgvector

Why pure vector similarity misses exact SKUs and names—and how Reciprocal Rank Fusion + bounded retrieval loops fix accuracy.

NOV 22, 20268 MIN READ
AI Agents

Context Engineering & Cost Guardrails for Multi-Agent Systems

Most agent failures are context failures. How to build deterministic state graphs, step caps, and kill switches that survive production.

NOV 20, 20267 MIN READ
SaaS

The Next.js + FastAPI Stack for Streaming AI SaaS Products

How to ship a multi-tenant AI SaaS MVP in 3–6 weeks with token-streaming UIs, async background workers, and Stripe/Razorpay metering.

NOV 18, 20266 MIN READ
AI Agents

Deterministic State Machines for Production AI Agents: Replacing Free-Form Loops with Rust Guards

Why unconstrained ReAct loops fail at p^n in production—and how to constrain LLM agents with explicit state machines, scoped tool allowlists, and Rust guard predicates.

NOV 28, 20269 MIN READ