frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: PAI, a Linux-y personal-assistant for Mac

https://www.whitematterlabs.ai/
3•ardatasci•2h ago
Hi HN!

I've been spending the past month on PAI, a Linux-esque harness for a personal assistant AI for your Mac. Instead of giving a chatbot a bunch of tools, I wanted to just drop the LLM into a terminal and see how it'd fare.

I've been using it to manage my calendar, 5+ email accounts, and engaging with / responding to people in a timely manner (casus belli for this entire project).

After seeing how other always-on assistants were designed, I thought the Unix / Linux philosophy of system design could be applied to AI harnesses, and I wanted to experiment with how it'd hold up compared to them. So, I built PAI with the following things in mind:

1. Engaging "code mode" in the LLM (LLMs are natural SDEs / SysAdmins) - If you remember the [code mode](https://blog.cloudflare.com/code-mode/) post from a while ago, I wanted to try and utilize those capabilities within the model for it to naturally interface with the harness rather than trying to load it up with a bunch of exposition. An LLM naturally knows that config-related things belong in /etc/, how to `cd`, `cat`, `tail` stuff, etc.

2. Avoid polling with an LLM. - I wanted to see if I could avoid polling because it's a waste of tokens and an arbitrary interval seems inelegant. - Instead, I created an event bus that wakes the LLM and accepts arbitrary sources that PAI might wire up itself. - Polling with a script is sometimes unavoidable and fine.

3. PAI has its own FHS(-ish) directory - The directory hosts several different users (agents) in ~/.pai/home/; Default configuration is a root agent, the user-facing agent, and the `librarian' which handles memory consolidation and learning and whatnot. - Each agent can subscribe to different events from the source, have different perms to access/run stuff.

4. Tools are binaries, APIs / connectors are drivers (& everything is a file) - This is more of a suggestion than a rule I strictly followed, but basically every tool is an executable and every event producer follows the shape of a driver in Linux. Everything is a process that lands in /proc/, events are files, etc.

5. PAI has its own package manager - Aptly called `paiman`, this is just a way for PAIs to share new things they write upstream. I realize this is insanely insecure (not sure how to make it secure if I'm being honest) so I haven't actually made upstream commits possible.

6. Is grep ~ vector search? - I wanted to see if just grep (rg) is good enough since realistically latency is a non-issue here anyway. I might experiment with vector search later.

7. I hate logging in to all my accounts - I used the local SQLite DBs that were stored on Mac to integrate with iMessage and Mail. It works out-of-box (given that your Mac has those apps set up).

*Things you should know before trying * There is no sandbox. PAI expects full disk access. PAI copies your chrome cookies into a separate chrome instance for playwright. You can see everything it's doing though. FOSS & BYOK. I've been using $5 of credit w/ Deepseek and I've yet to run out. If there's interest I might turn it into a cloud thing but I doubt it :D

Try it out with the instructions at https://whitematterlabs.ai | gh: https://github.com/whitematterlabs/pai . Also please excuse the shameless LLM-generated site :-)

Any comments, thoughts, or suggestions would be much appreciated. You can also just tell PAI to change whatever you might not like about it.

Show HN: Paint the Earth on a live, interactive globe (collaborative art.)

https://earth.tattoo
9•earth-tattoo•2h ago•4 comments

Show HN: Homegames. An open-source game platform I've been making for 8 years

https://homegames.io
195•homegamesjoseph•15h ago•49 comments

Show HN: Making difficult decisions doesn't have to be difficult

https://reloadium.com/reloadium-decisions/
3•julienreszka•1h ago•0 comments

Show HN: Open-source CLI for SKILL.md registry and parser lookup

https://github.com/gaia-research/gaia-skill-tree
2•nova-gaia•1h ago•0 comments

Show HN: Prebuilt RISC-V64 Binaries for GCC, PyTorch, Kubernetes, and More

https://github.com/Cloud-V-10xE/RISC-V-software
2•alitariq4589•1h ago•0 comments

Show HN: Product Hunters liked my idea - an AI journal with memory

https://bestjournalapp.com
2•kartik_malik•2h ago•1 comments

Show HN: Visualize Model Spikiness in 3D

https://www.modelmap.tech/
15•afunk•3d ago•2 comments

Show HN: PAI, a Linux-y personal-assistant for Mac

https://www.whitematterlabs.ai/
3•ardatasci•2h ago•0 comments

Show HN: Osint tool that finds exposed files on domains

https://search.cerast-intelligence.com/
44•PatchRequest•16h ago•16 comments

Show HN: An always-fresh memory that learns your repo, so agents stop re-reading

https://github.com/shofer-dev/claude-code-live-memory
3•alsterg•3h ago•0 comments

Show HN: Explain this – agent skills to create HTML explainer for topics or code

https://github.com/analyticalmonk/explain-this/
4•akashtndn•3h ago•0 comments

Show HN: Adkumo – Marketing Agent for SaaS

https://www.adkumo.com
2•gustavoauma•3h ago•0 comments

Show HN: ScreenCI – Always up-to-date product videos from E2E tests

https://screenci.com/
5•ollipal•3h ago•0 comments

Show HN: Mochi Analytics

https://www.mochianalytics.com
3•devtanna•3h ago•0 comments

Show HN: Kiwi – Run agentic dev loops in the cloud, keep keys on your laptop

https://github.com/ibreakthecloud/kiwi
2•harshvkarn•4h ago•0 comments

Show HN: I built notion database based no code form builder

https://ndbforms.myurll.in/
2•nookeshkarri7•4h ago•0 comments

Show HN: I built an AI that knows my net worth: 3 countries, 6 currencies

https://demo.joinbrisa.com
4•kareemarab•4h ago•0 comments

Show HN: RNet, an AI credit wallet for everyday users

https://www.rnetai.org/
4•nextma•4h ago•2 comments

Show HN: WatermarkGo – Gemini Watermark Remover

https://watermarkgo.com
3•qwikhost•5h ago•0 comments

Show HN: Excalibur. The open-source AI coding agent for product engineers

https://getexcalibur.dev
5•Rafael_Casuso•5h ago•0 comments

Show HN: AI block chain running on GPT2

https://github.com/raphaelwkago69-create/GLYPH
2•w4mwati•5h ago•1 comments

Show HN: KiCad in the Browser

https://demo.pcbjam.com/
102•ViktorEE•1d ago•32 comments

Show HN: Peek-CLI: Let Claude Code See the Browser

https://github.com/puffinsoft/peek-cli
10•ReactRocks•13h ago•0 comments

Show HN: Open Science, open-source alternative to Claude Science

https://github.com/ai4s-research/open-science
7•aiboost•7h ago•2 comments

Show HN: I made the Chrome Dino Game editable by your AI prompts

https://vibedino.com
4•johnnyapple•7h ago•0 comments

Show HN: An unmetered LLM API–$6/month, no token tracking, no limits

https://yolo-auto.com/
6•yolo-auto•11h ago•1 comments

Show HN: GhostMap – structured ghost annotations for VS Code

https://marketplace.visualstudio.com/items?itemName=Ghostmap.ghostmap
2•milovale•2h ago•0 comments

Show HN: Bramble – Local-first password manager

https://github.com/flythenimbus/bramble
145•MegagramEnjoyer•3d ago•45 comments

Show HN: A bedside camera detects REM sleep and agrees with a clinical EEG

https://lucidcode.com/2026/06/20/inspec-with-cgx-patch-clinical-eeg-sleep-stage-classification/
6•MichaelCoder•16h ago•0 comments

Show HN: Open-source Claude Code skills that mine Reddit/X for content topics

4•vatricemir•56m ago•0 comments