A Claude Agent in 235 Lines of Swift: One Actor, One Loop, Two Tools
An agent is a loop, a message history and a handful of tools. Here is what that looks like in Swift 6, with actors and strict concurrency. Background Thorsten Ball’s “How to Build an Agent” makes a point that is… Continue Reading
