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.
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.
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.
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.
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.
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.
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.
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.
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.