Claude Skill
openclaw/Tachikoma
Tachikoma is a Swift SDK that offers a single interface to interact with multiple AI model providers, simplifying development for iOS and macOS apps.
Overview
Repository
Install this Skill
git clone https://github.com/openclaw/Tachikoma.gitRegistry
Summary
Tachikoma is a Swift SDK that provides a unified interface for interacting with multiple AI model providers, simplifying integration and reducing boilerplate code.
一个接口,适配所有AI模型。用于对接AI提供商的Swift SDK。
Key features
- Unified API across multiple AI providers
- Written in pure Swift for native iOS/macOS integration
- Lightweight and easy to integrate
- Designed for modern Swift concurrency
Use cases
- Building AI-powered iOS/macOS apps
- Rapid prototyping with different AI models
- Switching between AI providers without code changes
- Creating cross-platform Swift applications with AI capabilities
README excerpt
<div align="center"> <img src="assets/logo.png" width="180" alt="Tachikoma Logo"> # Tachikoma — Swift AI SDK <p align="center"> <a href="https://swift.org"><img src="https://img.shields.io/badge/Swift-6.0+-FA7343?style=for-the-badge&logo=swift&logoColor=white" alt="Swift 6.0+"></a> <a href="https://github.com/steipete/Tachikoma"><img src="https://img.shields.io/badge/platforms-macOS%20%7C%20iOS%20%7C%20tvOS%20%7C%20watchOS%20%7C%20visionOS%20%7C%20Linux-blue?style=for-the-badge" alt="Platforms"></a> <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-green?style=for-the-badge" alt="MIT License"></a> <a href="https://github.com/steipete/Tachikoma/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/steipete/Tachikoma/ci.yml?branch=main&style=for-the-badge&label=tests" alt="CI Status"></a> </p>  Modern, Swift-native APIs for text, vision, tools, and realtime voice. </div> ## Install Swift Package Manager: ```swift .package(url: "https://github.com/steipete/Tachikoma.git", branch: "main"), ``` ```swift .product(name: "Tachikoma", package: "Tachikoma"), ``` ## Quick Start ```swift import Tachikoma let text = try await generate("Write a haiku about Swift.", using: .anthropic(.opus45)) print(text) ``` ### Streaming ```swift import Tachikoma let stream = try await stream("Explain actors in Swift.", using: .openai(.gpt54)) for try await delta in stream { print(delta.content ?? "", terminator: "") } ``` ### Conversation ```swift import Tachikoma let conversation = Conversation() conversation.addUserMessage("You are a concise assistant.") conversation.addUserMessage("Summarize Swift concurrency in 3 bullets.") let reply = try await conversation.