KSKasper Sogaard
About Writing
Writing

Notes from the build.

rss →
One operation, one class: a backend use case and a front-end use case side by side, each a small self-contained block
2026-11-17open-source6 min

One Operation, One Class: The Two Open-Source Libraries Behind MagicDoor

MagicCSharp for C# backends and magic-use-case for React and Solid front ends: the open-source libraries MagicDoor, Revoco and Agent Parley are built on, and why they suit coding agents.

read →
Slower on purpose: an AI coding workflow drawn as a pipeline of gates, from plan to review to a push gate
2026-11-17ai-coding11 min

Slower on Purpose: An AI Coding Workflow That Writes Maintainable Code

Coding agents are fast, and left alone they write spaghetti. The workflow we use instead: plan review, small points, narrow reviewers, rules enforced by tools, and a setup prompt to build your own.

Start answering before they stop talking: a caller's sound wave and the agent's reply wave overlapping, with a 2.5 second budget marker
2026-11-17voice-ai9 min

Start Answering Before They Stop Talking: How We Make a Voice Agent Fast

Drafts on half-finished sentences, speaking while the model writes, honest fillers, hedged requests and a 2.5-second silence budget: what it takes to make an AI phone agent feel quick.

Just-in-time context: a prompt drawn as a row of locked, cached blocks, with one new block of facts sliding in at the end
2026-11-17agent-architecture5 min

Just-in-Time Context: Giving AI Agents Knowledge Without Breaking the Prompt Cache

How MagicDoor's agents get the facts they need every turn, without a tool call and without throwing away the prompt cache: stable things first, new things last, never edit the past.

Choosing the Right AI Agent Harness: three small diagrams of a single agent, a main agent with sub-agents, and one agent switching hats
2026-11-16agent-architecture6 min

Choosing the Right AI Agent Harness

Single agent, sub-agents or persona switching? When to reach for each AI agent harness, and how to build it, from running all three in production.

© 2026 Kasper Sogaard magicdooragentparleylorestagerevoco linkedinxgithubrss ● static html · cookie-free analytics