AgentRunKit
Active·★ 24·MIT·Updated 2026-05-22
★ Trending★ LLM Infra
Lightweight Swift 6 framework for building LLM-powered agents — cloud + on-device inference via MLX on Apple Silicon
AgentRunKit is a lightweight Swift 6 framework for building LLM-powered agents with type-safe tool calling. It features zero dependencies, full Sendable support, async/await concurrency, and compatibility with both cloud and on-device models via MCP.
#agent-framework#ai-agents#anthropic#apple-silicon#function-calling#generative-ai#ios#llm
01
Features
01Agent loop with configurable iteration limits and token budgets
02Streaming with AsyncThrowingStream and @Observable SwiftUI wrapper
03Type-safe tools with compile-time JSON schema validation
04Sub-agent composition with depth control and streaming propagation
05Multimodal input: images, audio, video, PDF
02
Compatibility
iOS
iOS 18.0+
Verified via docs
macOS
macOS 15.0+
Verified via docs
Swift
Swift 6.0+
Verified via docs
Xcode
Xcode 16+
Verified via docs
03
Quick start
1
$ swift package add https://github.com/Tom-Ryder/AgentRunKit.git
04
Use cases
↳Build AI-powered chatbots with tool integration
↳Automate complex workflows using LLM agents
↳Create intelligent assistants for on-device or cloud inference
05
Alternatives
MetaGPT★ 68.4k
🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
cua★ 17.3k
Open-source infrastructure for Computer-Use Agents. Sandboxes, SDKs, and benchmarks to train and evaluate AI agents that can control full desktops (macOS, Linux, Windows).
agents-best-practices★ 1.1k
Provider-neutral Agent Skill for Codex, Claude Code, and agentic harness design.
awesome-claude★ 250
HeyClaude is a curated registry and distribution surface for Claude and AI-workflow assets: agents, MCP servers, skills, commands, hooks, rules, guides, tools, jobs, Raycast feeds, static data exports, and an npm MCP package.
Related searches
Comments
Log in to leave a comment
- KKai HarrisApr 3, 2026
On-device LLM support is important for privacy-sensitive applications.
- DDakota JacksonMar 26, 2026
Good for iOS/macOS developers who want native AI agent capabilities.
- SSam DavisMar 18, 2026
Lightweight design means it doesn't add significant overhead to app builds.
- RRemy AndersonMar 1, 2026
Swift 6 agent framework supporting both cloud and on-device LLMs.