Try Hanzo

SwiftUI AI Chat

Native iOS 17 streaming AI chat client using @Observable and AsyncThrowingStream wired to Hanzo /v1/chat/completions.

Edit in Hanzo.ai ↗
SwiftUI + iOS 17Tier 1 - Excellent25+ compMobile Apphero-sectionfeature-gridcta-bannerresponsive-footerstreaming-sse-observablezen-ai-gateway
SwiftUI AI Chat

Key Features

Streaming SSE
@Observable
Zen AI Gateway
Native iOS

Technology Stack

FrameworkSwiftUI + iOS 17
Use CaseNative iOS AI assistant apps
Setup Difficulty5/5 - Very Easy

Hanzo Cloud Stack · AI, API Keys & Insights Out of the Box

Get Hanzo API Key ↗Open Hanzo Insights ↗
Deploy to HanzoEdit in Hanzo.aiLive PreviewLLM.md Playbook
✓ Zen AI Gateway (api.hanzo.ai)✓ Hanzo Analytics & Insights (analytics.hanzo.ai)✓ Hanzo IAM Auth (hanzo.id)✓ Hanzo Global Edge CDN
# 1-Click Automated Deploy to Hanzo Platform (Zen AI + Insights)npx @hanzo/cli deploy --template swiftui-chat --name swiftui-ai-chat --platform --insights
# Official GitHub README Badges (Deploy to Hanzo + Edit in Hanzo.ai + Live Preview + LLM.md)[![Deploy to Hanzo](https://gallery.hanzo.ai/deploy.svg)](https://platform.hanzo.ai/new?repo=https%3A%2F%2Fgithub.com%2Fhanzo-apps%2Fswiftui-chat&template=swiftui-chat) [![Edit in Hanzo.ai](https://gallery.hanzo.ai/badges/edit-in-hanzo.svg)](https://hanzo.ai/chat?template=swiftui-chat) [![Live Preview](https://gallery.hanzo.ai/badges/live-preview.svg)](https://gallery.hanzo.ai/templates/swiftui-chat) [![LLM.md Playbook](https://gallery.hanzo.ai/badges/llm-md.svg)](https://gallery.hanzo.ai/llms/swiftui-chat/LLM.md)
# Edit & customize directly in Hanzo.ai Chat + Devhttps://hanzo.ai/chat?template=swiftui-chat&name=SwiftUI+AI+Chat&model=zen4
# Navigate to template directorycd apps/swiftui-chat
# Install dependenciesnpm install
# Start development servernpm run dev
# Open in browserhttp://localhost:3274

Perfect For

Native iOS AI assistant apps

Primary use case for this template

Fast Development

Pre-built components ready to use

Modern Design

Beautiful UI following latest trends

Deploy to Hanzo

Parameterize, preview, and deploy SwiftUI AI Chat to Hanzo global edge infrastructure in one click.

Edit in Hanzo.ai ↗