<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Ivan Magda</title><description>Writing about AI agents and software development.</description><link>https://ivanmagda.dev/</link><language>en</language><item><title>Fixing the 40k CLAUDE.md Warning in a Monorepo</title><link>https://ivanmagda.dev/posts/fixing-40k-claude-md-warning-monorepo/</link><guid isPermaLink="true">https://ivanmagda.dev/posts/fixing-40k-claude-md-warning-monorepo/</guid><description>How we restructured Claude Code&apos;s CLAUDE.md files in a monorepo to cut 73% of always-loaded context without losing a single fact.</description><pubDate>Sun, 19 Apr 2026 09:37:34 GMT</pubDate><category>claude-code</category><category>ai-agents</category><category>developer-tools</category><category>context-engineering</category></item><item><title>Five Things I Learned About Making AI Coding Agents Actually Work</title><link>https://ivanmagda.dev/posts/five-things-ai-coding-agents-actually-work/</link><guid isPermaLink="true">https://ivanmagda.dev/posts/five-things-ai-coding-agents-actually-work/</guid><description>The biggest gains in AI agent performance come from the system around the model, not the model itself.</description><pubDate>Sun, 19 Apr 2026 09:37:34 GMT</pubDate><category>ai-agents</category><category>claude-code</category><category>context-engineering</category></item><item><title>Building a Coding Agent in Swift, Part 8: Background Tasks</title><link>https://ivanmagda.dev/posts/s08-background-tasks/</link><guid isPermaLink="true">https://ivanmagda.dev/posts/s08-background-tasks/</guid><description>Swift actors for background execution — the one type that truly needs an actor, with notification injection before each API call.</description><pubDate>Wed, 18 Mar 2026 10:00:00 GMT</pubDate><category>swift</category><category>coding-agents</category><category>swift-claude-code</category></item><item><title>Building a Coding Agent in Swift, Part 7: Task System</title><link>https://ivanmagda.dev/posts/s07-task-system/</link><guid isPermaLink="true">https://ivanmagda.dev/posts/s07-task-system/</guid><description>A file-based task DAG with dependency resolution — durable planning that survives context compaction.</description><pubDate>Tue, 17 Mar 2026 10:00:00 GMT</pubDate><category>swift</category><category>coding-agents</category><category>swift-claude-code</category></item><item><title>Building a Coding Agent in Swift, Part 6: Context Compaction</title><link>https://ivanmagda.dev/posts/s06-context-compaction/</link><guid isPermaLink="true">https://ivanmagda.dev/posts/s06-context-compaction/</guid><description>A three-layer compression strategy — micro-compaction, auto-compaction, and manual compaction — for infinite conversations.</description><pubDate>Mon, 16 Mar 2026 10:00:00 GMT</pubDate><category>swift</category><category>coding-agents</category><category>swift-claude-code</category></item><item><title>Building a Coding Agent in Swift, Part 5: Skill Loading</title><link>https://ivanmagda.dev/posts/s05-skill-loading/</link><guid isPermaLink="true">https://ivanmagda.dev/posts/s05-skill-loading/</guid><description>Two-layer knowledge injection — cheap awareness in the system prompt, full skill bodies loaded on demand via tool results.</description><pubDate>Sun, 15 Mar 2026 10:00:00 GMT</pubDate><category>swift</category><category>coding-agents</category><category>swift-claude-code</category></item><item><title>Building a Coding Agent in Swift, Part 4: Subagents</title><link>https://ivanmagda.dev/posts/s04-subagents/</link><guid isPermaLink="true">https://ivanmagda.dev/posts/s04-subagents/</guid><description>Context isolation through recursive agent loops — spawning child agents with restricted tool sets for focused subtasks.</description><pubDate>Sat, 14 Mar 2026 10:00:00 GMT</pubDate><category>swift</category><category>coding-agents</category><category>swift-claude-code</category></item><item><title>Building a Coding Agent in Swift, Part 3: Self-Managed Task Tracking</title><link>https://ivanmagda.dev/posts/s03-self-managed-task-tracking/</link><guid isPermaLink="true">https://ivanmagda.dev/posts/s03-self-managed-task-tracking/</guid><description>A Codable todo system with validation constraints and nag reminders — giving the agent a structured notepad it writes for itself.</description><pubDate>Fri, 13 Mar 2026 10:00:00 GMT</pubDate><category>swift</category><category>coding-agents</category><category>swift-claude-code</category></item><item><title>Building a Coding Agent in Swift, Part 2: Tool Dispatch</title><link>https://ivanmagda.dev/posts/s02-tool-dispatch/</link><guid isPermaLink="true">https://ivanmagda.dev/posts/s02-tool-dispatch/</guid><description>Dictionary-based tool dispatch, path sandboxing, and the read/write/edit file tools that let the agent work with code.</description><pubDate>Thu, 12 Mar 2026 10:00:00 GMT</pubDate><category>swift</category><category>coding-agents</category><category>swift-claude-code</category></item><item><title>Building a Coding Agent in Swift, Part 1: The Agent Loop</title><link>https://ivanmagda.dev/posts/s01-the-agent-loop/</link><guid isPermaLink="true">https://ivanmagda.dev/posts/s01-the-agent-loop/</guid><description>The agent loop that drives everything — how a single stopReason check turns an API client into an autonomous agent.</description><pubDate>Wed, 11 Mar 2026 10:00:00 GMT</pubDate><category>swift</category><category>coding-agents</category><category>swift-claude-code</category></item><item><title>Building a Coding Agent in Swift, Part 0: Bootstrapping the Project</title><link>https://ivanmagda.dev/posts/s00-bootstrapping-the-project/</link><guid isPermaLink="true">https://ivanmagda.dev/posts/s00-bootstrapping-the-project/</guid><description>Setting up a two-target SPM package, strict concurrency, and AsyncHTTPClient — the foundation for a CLI agent that never needs restructuring.</description><pubDate>Tue, 10 Mar 2026 10:00:00 GMT</pubDate><category>swift</category><category>coding-agents</category><category>swift-claude-code</category></item></channel></rss>