Inspiration
Most of our day on a computer goes to small tasks: replying to emails, scheduling things, switching between apps. Every assistant we tried just waits for a prompt. Inspired by HeyClicky and this hackathon's theme, a more efficient way of living, we wanted an assistant that notices what you need and offers to help before you ask.
What it does
Alfred is a proactive AI assistant that lives in your Mac's notch. It understands what's on your screen, and when it sees a way to help, it pops out with an offer you can accept in one click:
- Email: drafts replies to messages you're reading
- Calendar: adds events and plans you mention
- Drawing: sketches ideas for you
- And more: everyday tasks across your apps
Privacy is built in:
- A short delay on every new app or page before Alfred starts looking
- A hotkey that blocks capture completely
- A privacy filter and local memory, so sensitive data stays on your device
How we built it
- Mac app (Swift): screen capture and accessibility APIs for context, a privacy filter, local SQLite memory, a trigger engine that decides when to speak up, and a native notch popup
- Backend: a Decisions API, LLM-written offers, and Gmail and Google Calendar actions, so Alfred actually completes tasks instead of just suggesting them
Challenges we ran into
- OAuth: getting Gmail and Google Calendar authentication working securely, managing tokens, and connecting it all between the backend and the Mac app took much longer than expected.
- Proactive, not annoying: we had to tune the trigger engine to offer help only when it's actually useful.
- macOS permissions: making screen capture and accessibility permissions work smoothly took real effort.
- Teamwork: with the Mac app in Swift and the backend on Windows, we had to agree on clear API contracts, stay in sync, and split the work so nobody was blocked.
Accomplishments that we're proud of
We built a working native Mac assistant that understands context, respects privacy, and actually takes action on email and calendar, all from the notch. It feels like part of macOS, not a chatbot in a separate window.
What we learned
- How much design goes into proactive AI: when to speak up, how to ask, and how to earn trust
- Native macOS development and OAuth
- How to split a project cleanly between frontend and backend across platforms
What's next for Alfred
- Voice control, so you can talk to Alfred directly
- More ways to help: more apps and integrations, and smarter suggestions that learn how you work
Built With
- css
- javascript
- powershell
- shell
- swift
- typescript