AgentRunKit
by Tom-Ryder·★ 24·Score 42
Swift 6 agent SDK with type-safe tools, streaming support, and MCP integration.
Overview
AgentRunKit is a Swift 6 SDK for building LLM-powered agents with type-safe tool calling. It offers zero-dependency core, full Sendable support, async/await functionality, and works with both cloud and on-device inference via MLX on Apple Silicon. The SDK includes a robust MCP client implementation supporting stdio transport, tool discovery, and JSON-RPC communication.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Developers working on Swift applications who need type-safe LLM integration with MCP support, especially for on-device inference on Apple platforms.
When NOT to choose this
Teams not using Swift or Apple platforms, or those needing cross-platform support beyond iOS/macOS.
Tools this server exposes
1 tool extracted from the READMEget_weatherTool<WeatherParams, String, EmptyContext>Get the current weather for a city
Note: Inferred from code example showing tool definition pattern, but the README doesn't provide an explicit list of all available MCP tools.
Comparable tools
Installation
Install via Swift Package Manager:
.package(url: "https://github.com/Tom-Ryder/AgentRunKit.git", from: "2.4.0")
.target(name: "YourApp", dependencies: ["AgentRunKit"])For Claude Desktop integration, add to claude_desktop_config.json:
{
"mcpServers": {
"agentrunkit": {
"command": "swift",
"args": ["run", "agentrunkit"],
"env": {}
}
}
}FAQ
- What MCP features does AgentRunKit provide?
- AgentRunKit includes an MCP client implementation with stdio transport, tool discovery, and JSON-RPC communication capabilities.
- Can it run on-device without cloud dependencies?
- Yes, it supports on-device inference via MLX on Apple Silicon and Apple Foundation Models.
Compare AgentRunKit with
Last updated · Auto-generated from public README + GitHub signals.