HeadlinesBriefing favicon HeadlinesBriefing.com

AgentSwift: AI-Powered iOS Builder

Hacker News •
×

A new open-source tool called AgentSwift has emerged for iOS development, offering an autonomous coding agent built on openspec and xcodebuildmcp. This native macOS app leverages Claude AI to handle the entire app development workflow—from project discovery to implementation, building, testing, and archiving—without requiring direct interaction with Xcode.

The tool follows a multi-phase approach where Claude first inspects the Xcode project structure, then makes necessary code changes, builds the project using xcodebuildmcp, launches it on a simulator or macOS, runs UI automation for validation, and finally marks the task complete. Developers need macOS 26.1+, Xcode, Node.js, and an Anthropic API key to get started.

AgentSwift supports both Claude Opus 4.7 for complex tasks and large codebases, plus the faster Claude Sonnet 4.6 for lighter tasks. The architecture uses pure SwiftUI + Foundation without external Swift dependencies. The tool handles message queuing, build caching, and error escalation to streamline the development process, making sophisticated iOS development more accessible through automation.