Prism is a powerful, native macOS application that brings modern AI directly to your desktop. Built with SwiftUI and designed with a stunning "Liquid Glass" and macOS Tahoe aesthetic, Prism integrates seamlessly into your Mac workflow. It offers a unified interface for Google Gemini, local Ollama models, Apple Foundation Models, and comprehensive system-wide AI writing assistance.
- Google Gemini: Integrate your API key or use Gemini CLI. Includes support for Gemini 1.5 Pro, 1.5 Flash, and multimodal inputs (images, PDFs).
- GitHub Copilot Integration: Access industry-leading models like GPT-4, Claude 3.5 Sonnet, and others directly using your existing Copilot subscription.
- NVIDIA NIM: Connect your NVIDIA API key for high-performance cloud inference of Llama 3, Mistral, and more.
- Ollama Integration: Run strictly private local models on your machine (gemma, llama3, qwen, deepseek, mistral). Zero data leaves your device.
- Apple Foundation Models: Native on-device AI inference powered by Apple Intelligence directly on compatible Macs. Fast, private, and seamlessly integrated.
Transform any text field on your Mac into an AI-powered workspace using macOS Accessibility APIs:
- Inline AI Autocomplete: Get intelligent, contextual text predictions directly at your cursor as you type in any application.
- Global Command Bar (IntelliBar): Summon a floating command bar to perform quick actions on selected text anywhere on your system.
- Personalized Writing Style: Prism learns your unique writing style over time.
- Refinement Panel: Rewrite, summarize, fix grammar, translate, and more.
Prism includes a localized Node.js web automation server to control browsers agentically. Navigate, scrape, and interact with the web directly from the AI.
How to set it up:
- Ensure Prism is running (it provides the local REST API on
localhost:8080). - Open terminal:
cd BrowserAutomation - Install dependencies:
npm install - Start the automation server:
npm start - Open your web browser and navigate to
http://localhost:9090to access the Browser Automation dashboard and WebSocket stream. - Toggle between the Playwright and Puppeteer engines based on website compatibility.
Bring Prism's intelligence directly into your browser to enhance pages, extract context, and enable seamless agentic browser control.
- Chrome Extension: Located in
Extensions/Chrome/. Go tochrome://extensions/, enable "Developer mode", and click "Load unpacked" pointing to the folder.
Automate your workflows! Prism embeds Shortcuts actions directly into macOS.
- Find pre-configured Shortcuts in the
Shortcuts/directory. - Includes
Ask AI Device,Ask AI Private,Ask ChatGPT,Generate Image ChatGPT, andGenerate Image. - Double-click any
.shortcutfile to add it to your Shortcuts app, then assign to global hotkeys or Siri.
Prism adapts to how you work with multiple entry points, all synchronized in real-time:
- Main Window: A full-featured chat interface for deep work and long conversations.
- Menu Bar App: Always one click away for quick questions and status checks.
- Quick AI Panel (
Ctrl + Space): A Spotlight-like floating search bar. Summon it instantly from anywhere to ask a question, then dismiss it just as fast. - Interactive Web Overlay: A dedicated, floating web view panel for quick internet access and searches alongside your AI.
- Browser Extension (Chrome): Bring Prism's intelligence directly into your browser. Enhance web pages, extract content, and enable seamless agentic browser control.
- Side-by-Side Comparison: Send the same prompt to multiple AI models simultaneously and compare their responses.
- Add Unlimited Slots: Compare as many models as you want from any provider.
- AI Synthesis: Use the "Synthesize" feature to combine all responses into a single, unified best answer using AI.
- Performance Tracking: View elapsed time and generation speed for each model response.
- Multimodal Input: Drag and drop or paste multiple images simultaneously to analyze them. Attach PDFs and have AI process their contents.
- Professional PDF Export: Convert any chat or markdown text into a professionally formatted PDF document with customizable page sizes (Letter, A4, Legal) and high-quality math rendering.
- Advanced Math Rendering: Beautiful LaTeX rendering for complex block equations (
$$...$$) and seamless inline math support ($...$) with automatic symbol conversion. - Code Highlighting: Syntax highlighting for all major programming languages with one-click copy.
- Thinking Process: View the internal "thought process" of reasoning models (like DeepSeek R1) in a beautifully animated, collapsible section.
- Global Sync: Start a chat in the Quick Panel, continue it in the Menu Bar, and finish it in the Main Window.
- AI Image Creation: Generate stunning visuals using AI. Includes support for custom aspect ratios and ultra-high resolution 4K generation.
- Local Image Generation: Run image generation securely and privately on your machine using Ollama integration.
- Video Generation (Veo): Create dynamic AI videos directly within Prism with a premium integrated video player UI.
- Multiple Styles: Choose from various styles including Animation, Illustration, Sketch (Apple Intelligence) and Watercolor, Vector, Anime, Print (ChatGPT).
- Persistent Gallery: All generated images and videos are saved and accessible in a gallery view.
- AI-Generated Quizzes: Enter any topic and have AI generate a customized multiple-choice quiz.
- Configurable Difficulty & Length: Choose from Easy, Medium, or Hard difficulty levels, and set your desired question count.
- Instant Feedback: Get immediate scoring and detailed explanations for your answers.
- Built-in Commands: Quick access to common actions like
/summarize,/explain,/translate,/fix,/code, and/rewrite. - Custom Prompt Templates: Create your own reusable prompt templates and slash commands with custom icons and expansions. Type
/anywhere to see available commands with real-time filtering.
- Integrated Web Search: Enable web search to let AI access real-time information from the internet.
- Configurable Thinking Levels: Adjust AI thinking depth (Low, Medium, High) for reasoning models.
- Native macOS: Built with SwiftUI for blazing fast performance and low memory footprint.
- Streaming: Character-by-character streaming responses for immediate feedback.
- Liquid Glass Aesthetic: Sleek, modern UI with glassmorphism effects and macOS Tahoe design cues.
- Highly Customizable: Personalize your experience with custom themes, adjustable opacity, default models, and system prompts.
- Background Mode: Prism runs silently in the background without cluttering your Dock, available instantly via hotkey.
- Automatic Updates: Built-in over-the-air update system keeps your app on the latest version seamlessly.
- Go to the Releases page.
- Download the latest
Prism_Installer.dmg. - Open the disk image and drag Prism to your Applications folder.
- Launch Prism!
Note: On first launch, you may need to right-click the app and select "Open" if Gatekeeper prompts you. You will also need to grant Accessibility permissions for the system-wide AI Writing Layer features to function.
If you prefer to build the project yourself or contribute to development, you can clone the repository:
- HTTPS:
git clone https://github.com/gl-aarav/Prism.git - SSH:
git clone git@github.com:gl-aarav/Prism.git - GitHub CLI:
gh repo clone gl-aarav/Prism
Once cloned, open Package.swift or the project directory in Xcode, wait for Swift Package dependencies to resolve, and build (Cmd + R).
Click the Gear Icon in the main window to access Settings:
- Google Gemini: Get your API key from Google AI Studio, or authenticate securely using the integrated Gemini CLI.
- GitHub Copilot: Sign in with your GitHub account to enable Copilot-powered models.
- NVIDIA NIM: Enter your NVIDIA API key for high-performance Llama models.
- Ollama: Install Ollama and run
ollama serve. Useollama run llama3to pull models. - Apple Intelligence: Select Apple Foundation Models for on-device processing (requires compatible Mac).
- Customize the system prompt to set the AI's personality and behavior.
- Change the default Quick AI Hotkey (default:
Control + Space).
Highlight any text in any app and invoke the Quick AI Hotkey to bring up the Refinement Panel or IntelliBar to instantly rewrite, summarize, or fix your text. Enable AI Autocomplete in settings to get inline suggestions as you type.
Prism supports extensive LaTeX formatting:
- Fractions:
\frac{a}{b}converts to(a)/(b)inline. - Greek:
\alpha,\beta,\Deltaconvert to Ξ±, Ξ², Ξ. - Roots:
\sqrt{x}converts toβ(x). - Boxed:
\boxed{answer}highlights the result.
- Local Storage: All chat history is stored locally on your Mac in JSON format.
- Ollama & Apple Intelligence: When using local models, your data never leaves your computer.
- Direct Connections: Prism connects directly to the APIs you configure. No middleman servers intercept your prompts.
Prism is open-source software!
Prism is an independent, personal project. It is not affiliated with, endorsed by, or belonging to any company or organization.
Developed by Aarav Goyal
