CapabilitiesKit

Swift packageApp

Build agentic Swift apps that work directly with your users' personal data, with their permission. CapabilitiesKit is a Swift package that gives your app's AI agents ready-to-use tools for calendars, contacts, reminders, locations, and weather, along with SwiftUI views and built-in permission handling.

CapabilitiesKit lets your agent bridge the gap between your app and a user's personal information. Instead of spending hours wiring up different Apple frameworks and managing complex permission flows, your agent uses this package to provide instant access to calendars, contacts, location, maps, reminders, and weather.

CapabilitiesKit takes care of that work for you. It gives your app's AI agent ready-to-use tools to access and work with user data, along with built-in permission handling and SwiftUI views to display the results. The package also includes instructions for your coding agent to help you integrate and customize it for your app.

Features

  • Give your agent tools to call. Provide your model with a suite of tools that return structured, easy-to-process data for calendars, contacts, and more. The package includes 25 tools for iPhone and 26 for Mac.
  • Simplify permission handling. Use ready-made SwiftUI views to show access status and help users manage permissions. Your app stays in control of when to request access, with setup instructions for the required permissions and capabilities.
  • Show data with ready-made SwiftUI views. Let your agent display weather, events, or locations using optimized cards and detail views designed for iPhone Duo, including layouts for folded and unfolded displays.
  • Preview without network or permissions. Use sample data to build and check your assistant's UI in Xcode previews without needing an active connection or specific user permissions.

FAQs

Can I use my own AI model to analyze user data?

Yes. You can connect CapabilitiesKit's tools to your own AI model and control which tools can read or modify data.

CapabilitiesKit itself doesn't send user data to external AI services. However, be careful when sharing user data with external AI services or other third-party services. Make sure users understand what data is being shared, with whom, and why, and get their consent before sharing it.

What happens after you buy

  1. 1

    Download

    Click the download link to get the ZIP file. Extract it, then share the folder with your agent.

  2. 2

    Your Agent Guides You Through Setup

    Your agent will follow INSTALL.md to install the package, set up privacy descriptions, and verify the build. It will then guide you through activating WeatherKit or deploying the Homebase Worker if needed.

  3. 3

    Make it yours

    Make CapabilitiesKit your own. Ask your agent to customize the tools, create SwiftUI views, and choose which services and user data your app can access to fit your needs.

Let your agent check if CapabilitiesKit is right for you.

Just copy this prompt:

Read https://tools.natashatherobot.com/capabilitieskit.md, the page for CapabilitiesKit. Based on what you know about my projects and workflow, tell me whether CapabilitiesKit would help me build agentic Swift apps that can work directly with users' personal data, with their permission. Consider how its ready-to-use tools, SwiftUI views, and permission handling could simplify development. Explain what I'd gain, whether it's worth the price, and any limitations I should know about. If it isn't a good fit, tell me why. Ask me for more context if needed.

It is a starter tool

CapabilitiesKit is a starter tool you can customize for your work.

The full terms are in the LICENSE file included with your download. CapabilitiesKit comes without warranty.