{"repo":"nathanborror/swift-gen-kit","free":true,"listed":false,"github":"https://github.com/nathanborror/swift-gen-kit","clone":"git clone https://github.com/nathanborror/swift-gen-kit.git","description":"GenKit is a library that abstracts away all the differences across generative AI platforms.","language":"Swift","stars":75,"topics":["anthropic","genai","llm","mistral","ollama","openai","perplexity","swift"],"license":"MIT","category":"ai-agents","readme_excerpt":"Swift GenKit GenKit abstracts away differences across ai model provider platforms. The goal is to make native Swift prototyping and development with ai fast, easy and fun! Swift Package Manager Usage Demo App Heat is an example of how GenKit can be implemented. Features Sessions Sessions are the highest level of abstraction and the easiest to use. They run in a loop and call out to tools as needed and send tool responses back to the model until it completes its work. Services Services are a common interface for working across many platforms. They allow you to seamlessly switch out the underlying platform without changing any code. - Chat Service - Embedding Service - Image Service - Model Service - Transcription Service - Speech Service Supported Providers Provider packages are swift interfaces that talk directly to model provider REST APIs. You can use these directly but their APIs vary slightly. - Anthropic - ElevenLabs - Fal - Llama - Mistral - Ollama - OpenAI - Perplexity GenKit also supports Grok, Groq and DeepSeek which all use a subset of the swift-openai package.","default_branch":null,"files":null,"tree":[],"storefront":"/r/nathanborror","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nathanborror/swift-gen-kit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}