📰 Dev.to · Ivan Magda
7 articles · Updated every 3 hours · View all reads
All
Articles 75,435Blog Posts 102,388Tech Tutorials 18,459Research Papers 16,003News 13,146
⚡ AI Lessons

Dev.to · Ivan Magda
⚡ AI Lesson
1mo ago
Background Tasks: The One Actor in the Codebase and the SIGTERM Bug That Only Broke on Linux
Swift actors for parallel execution, notification injection before each API call, and the macOS/Linux signal-handling difference that took six CI runs to diagno

Dev.to · Ivan Magda
1mo ago
Skill Loading: Two-Layer Knowledge Injection That Costs Tokens Only When Needed
Cheap awareness in the system prompt, full skill bodies loaded on demand via tool results. A three-line handler that gives the agent extensible knowledge.

Dev.to · Ivan Magda
1mo ago
Subagents: Context Isolation Through Recursive Agent Loops
Spawning child agents with fresh message arrays and restricted tool sets — delegation that keeps the parent's context clean.

Dev.to · Ivan Magda
2mo ago
Why Coding Agents Lose Their Plan (and How a Todo Tool Fixes It)
Language models drift after ~5 steps. A Codable todo system with validation constraints and nag reminders keeps the agent on track without changing the loop.

Dev.to · Ivan Magda
2mo ago
Tool Dispatch: A Dictionary Replaces a Switch Statement and Scales to 14 Tools
Dictionary-based dispatch, path sandboxing, and the read/write/edit file tools that let the agent work with code — without changing the loop.

Dev.to · Ivan Magda
2mo ago
The Agent Loop: How 20 Lines of Swift Turn an API Client into a Coding Agent
One exit condition, one tool, and a growing message array. The entire mechanism that makes a coding agent autonomous fits in a single method.

Dev.to · Ivan Magda
2mo ago
I Built a Coding Agent in Swift — The Hardest Bugs Were Concurrency, Not AI
The agent loop is ~20 lines and never changed across 9 stages. The real complexity? Pipe deadlocks, SIGTERM on Linux, and Swift 6.2 catching data races at compi
DeepCamp AI