SwiftAgent
Description
A type-safe, declarative AI agent framework for Swift. Build composable AI pipelines with Steps, Agents, structured outputs, and tool integration. Features FIFO session management, MCP support, and distributed actor communication.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
SwiftAgent
[](https://swift.org) [](https://developer.apple.com) [](https://swift.org/package-manager) [](https://opensource.org/licenses/MIT) [](https://1amageek.github.io/SwiftAgent/documentation/swiftagent/) [](https://deepwiki.com/1amageek/SwiftAgent)
A type-safe, declarative framework for building AI agents in Swift, built on Apple FoundationModels.
**[Documentation](https://1amageek.github.io/SwiftAgent/documentation/swiftagent/)**
Features
- Declarative Syntax - Build agents by composing Steps in
body, just like SwiftUI - Type-Safe - Compile-time checked input/output types
- Built on FoundationModels - Native Apple AI integration
- Structured Output - Generate typed data with
@Generable - Security Built-in - Permission, Sandbox, and Guardrail systems
- Extensible - MCP integration, participant runtimes, skills system
Installation
**Requirements:** Swift 6.4+ / iOS 26+ / macOS 26+ / a matching Swift 6.4 toolchain and SDK
dependencies: [
.package(url: "https://github.com/1amageek/SwiftAgent.git", from: "2.0.1")
]
.target(
name: "MyApp",
dependencies: [
.product(name: "SwiftAgent", package: "SwiftAgent"),
.product(name: "AgentTools", package: "SwiftAgent"), // Optional
]
)
OpenFoundationModels
SwiftAgent supports alternative LLM providers via SPM Traits. Enable the `OpenFoundationModels` trait to use OpenAI, Claude, Ollama, and more:
dependencies: [
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Awesome Llm Apps
100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI Headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agen
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI