Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 992 Bytes

File metadata and controls

42 lines (29 loc) · 992 Bytes

Foundation Chat

A minimal macOS chat app powered by Apple's on-device Foundation Models.

macOS Swift License

Requirements

  • macOS Sequoia 26.0 or later
  • Apple Silicon Mac
  • Xcode 16.0+

Features

  • On-device AI chat using Apple's Foundation Models
  • Streaming responses
  • Cancel generation mid-stream
  • Clean, native macOS UI
  • Zero external dependencies

Building

Open FoundationChat.xcodeproj in Xcode and build (Cmd+B).

Architecture

FoundationChat/
├── FoundationChatApp.swift   # App entry point
├── ChatView.swift            # Main UI
├── ChatViewModel.swift       # State management
├── Message.swift             # Data model
└── MessageBubble.swift       # Message UI component

~200 lines of Swift. MVVM architecture with @Observable and @MainActor.

License

MIT