Tachikoma  by openclaw

Swift SDK for unified AI model interaction

Created 9 months ago
262 stars

Top 96.9% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

Tachikoma is a Swift SDK providing a unified, modern interface for diverse AI models. It simplifies AI integration for Swift developers by abstracting provider complexities, enabling seamless use of text, vision, conversational, and function-calling capabilities. The benefit is a consistent, Swift-native experience for leveraging AI services.

How It Works

The SDK uses a Swift-native design with modern async/await APIs. It supports multiple AI providers (OpenAI, Anthropic, Google, Grok) and local models (Ollama). Features include text generation, streaming responses, conversational context management, image analysis (vision), and function calling for AI agents. This unified approach reduces boilerplate and standardizes AI integration.

Quick Start & Requirements

  • Install via Swift Package Manager: swift .package(url: "https://github.com/steipete/Tachikoma.git", branch: "main"), swift .product(name: "Tachikoma", package: "Tachikoma").
  • Requires API keys for providers (e.g., OPENAI_API_KEY, ANTHROPIC_API_KEY) via environment variables or TKAuthManager.
  • Detailed documentation for models, API, and local models is in the docs/ directory.

Highlighted Details

  • Unified Model Access: Supports OpenAI (GPT-5.2, GPT-4o), Anthropic (Claude Opus 4.5), Google (Gemini 3 Flash), Grok, and local models (Ollama Llama3.3).
  • Multi-Modal Capabilities: Includes text generation, real-time voice, image analysis (vision), and conversational AI.
  • Function Calling: Enables AI models to execute user-defined tools, facilitating agent-like behavior.
  • Streaming & Async/Await: Leverages Swift concurrency for efficient, non-blocking AI interactions and real-time data streaming.

Maintenance & Community

The provided README does not detail specific contributors, sponsorships, or community channels. Further information may be available on the project's GitHub repository page.

Licensing & Compatibility

Licensed under the MIT License, which is permissive and generally compatible with commercial use and closed-source applications.

Limitations & Caveats

The README does not explicitly mention alpha status, known bugs, or unsupported platforms. Users should consult the issue tracker and documentation for stability and feature completeness. Variations in performance and reliability across providers are expected.

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
2
Issues (30d)
3
Star History
12 stars in the last 30 days

Explore Similar Projects

Starred by Sebastian Raschka Sebastian Raschka(Author of "Build a Large Language Model (From Scratch)"), Pawel Garbacki Pawel Garbacki(Cofounder of Fireworks AI), and
16 more.

chainlit by Chainlit

0.2%
12k
Framework for rapid conversational AI app development
Created 3 years ago
Updated 4 weeks ago
Feedback? Help us improve.