Skip to content

handcraftbyte/foundation-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Minimal chat UI for the local Apple AI models

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages