Tag: swift
All the articles with the tag "swift".
-
I Built a Coding Agent From Scratch in Swift. Here's What I Missed Until I Read Koog.
Updated:After nine posts building a Claude Code-style agent by hand in Swift, I opened up JetBrains Koog framework and realized how much of what I'd hand-rolled was already someone else's problem. Here's what the framework gave me for free, and what it changed about how I think about agents.
-
Building a Coding Agent in Swift, Part 8: Background Tasks
Swift actors for background execution — the one type that truly needs an actor, with notification injection before each API call.
-
Building a Coding Agent in Swift, Part 7: Task System
A file-based task DAG with dependency resolution — durable planning that survives context compaction.
-
Building a Coding Agent in Swift, Part 6: Context Compaction
A three-layer compression strategy — micro-compaction, auto-compaction, and manual compaction — for infinite conversations.