scienceDeep Dive
AI Engineering
·
Apr 18, 2026
·
16 min read Use middleware to wrap agent runs, intercept tool calls, and redact PII before the LLM sees it in both Python and .NET safely.
scienceDeep Dive
AI Engineering
·
Apr 18, 2026
·
15 min read Add per-request context with focused providers, compose them before each LLM call, and plug in TextSearchProvider for simple RAG.
scienceDeep Dive
AI Engineering
·
Apr 12, 2026
·
9 min read Most AI agent tutorials end at “hello world.” You build a single agent with one or two tools, it answers a few questions, and that is it. The gap between that tutorial and a production system with multiple agents, authentication, observability, and a real frontend is enormous.
scienceDeep Dive
AI Engineering
·
Apr 12, 2026
·
20 min read Revised with .NET examples — A newer version of this article, covering both Python and .NET, is available as part of the MAF v1: Python and .NET series: MAF v1 — 01-first-agent, MAF v1 — 02-add-tools.
scienceDeep Dive
AI Engineering
·
Apr 12, 2026
·
22 min read Revised with .NET examples — A newer version of this article, covering both Python and .NET, is available as part of the MAF v1: Python and .NET series: MAF v1 — 24-prompt-engineering. The newer version pulls role-specific behavior out of the system prompt and into a context provider, so you don’t re-instantiate the agent per role. The five concerns and YAML composition below are still the canonical architecture; the new chapter shows the modernised wiring.
scienceDeep Dive
AI Engineering
·
Apr 12, 2026
·
18 min read Revised with .NET examples — A newer version of this article, covering both Python and .NET, is available as part of the MAF v1: Python and .NET series: MAF v1 — 02-add-tools.
scienceDeep Dive
AI Engineering
·
Apr 12, 2026
·
15 min read Stream tokens as they arrive and reuse a session across turns so the LLM sees the full conversation. ~60 lines of code per language.
scienceDeep Dive
AI Engineering
·
Apr 12, 2026
·
12 min read Serialize an AgentSession to JSON, persist it, reload in a fresh process, and have the agent pick up exactly where it left off.
scienceDeep Dive
AI Engineering
·
Apr 11, 2026
·
8 min read Build the smallest useful Microsoft Agent Framework program: one LLM call, one response, and the same shape in Python and .NET.
scienceDeep Dive
AI Engineering
·
Apr 11, 2026
·
9 min read Install uv, .NET 9, Docker, OpenAI keys, and a verify script so Chapter 1 starts with both Python and .NET environments ready.
scienceDeep Dive
AI Engineering
·
Apr 11, 2026
·
13 min read Give an agent a callable function, let the LLM decide when to use it, and compare Python and .NET tool loops side by side.
scienceDeep Dive
AI & LLM
·
Apr 7, 2026
·
12 min read
Every vendor selling software right now claims their product is “agentic.” I’ve seen chatbots with a system prompt called an agent. I’ve seen a scheduled Python script described as autonomous AI. I’ve also shipped actual agents to production, at an insurance company, handling FNOL triage, policy lookup, and claims routing. The gap between what gets marketed as an agent and what you’d actually build in production is wide, and it’s expensive to get wrong.