Keep agent tools narrow and boring

Expose only the small, specific capabilities the agent needs for the current workflow.

July 9, 2026 · 2 min · Lukas Walter

Make logs structured before adding dashboards

Capture queryable fields first so dashboards are built on data, not text search.

July 9, 2026 · 3 min · Lukas Walter

Use evals before changing prompts

Treat prompt changes like code changes: measure the behavior before deciding whether the edit helped.

July 9, 2026 · 2 min · Lukas Walter

Keep RAG citations tied to retrieved chunks

Citations should point back to the retrieved evidence, not to sources the model guessed after answering.

July 8, 2026 · 2 min · Lukas Walter

Observability for Agents with OpenTelemetry, Aspire, and Application Insights

How to make Microsoft Agent Framework behavior visible in production with OpenTelemetry traces, token usage, model calls, tool calls, Aspire local debugging, and Application Insights monitoring.

July 8, 2026 · 17 min · Lukas Walter

Use CSnakes when Python is a function call, not a service

Embed a small typed Python capability in .NET when an HTTP service would be more boundary than value.

July 8, 2026 · 2 min · Lukas Walter

Use IHttpClientFactory

Create configured HttpClient instances through the factory instead of scattering clients and handlers.

July 8, 2026 · 2 min · Lukas Walter

Cache GET responses only when user context is clear

Do not cache a GET response unless the cache key matches the user, tenant, and permission boundary that shaped it.

July 7, 2026 · 3 min · Lukas Walter

Assign least-privilege Azure roles, not broad contributor rights

Give workloads and people the narrow Azure role they need instead of defaulting to Contributor.

July 5, 2026 · 2 min · Lukas Walter

Avoid hidden allocations in hot paths

Watch for small per-item allocations inside loops, parsers, serializers, and request paths.

July 5, 2026 · 2 min · Lukas Walter