


2026-11-26
by Uri Walevski
Want this agent engine live in your WhatsApp — 1-on-1 or in group chats?
Try MentatMost people start with an AI assistant in a browser tab. It feels great for writing drafts and answering questions, and then within a week it hits a wall.
You have to copy-paste everything into the tab. It cannot sit in your family or team WhatsApp group. It cannot wake up on Tuesday morning to follow up on a deadline. It cannot run a quick Python script on a CSV you just received, open a browser to check a form, or call a restaurant to confirm a reservation.
The natural next move is self-hosting an open-source WhatsApp agent on a laptop or a cheap VPS. That works for a weekend, right up until the WhatsApp Web session drops at 2am, the laptop goes to sleep, or an OS update reboots the box. Worse, running an agent directly on your own machine with your personal WhatsApp number mixes untrusted prompts with your private files and personal DMs.
A useful personal agent needs real infrastructure around the model: a sandboxed tool layer, a real cloud computer, a dedicated WhatsApp identity, and a phone line. None of that belongs on your laptop.
There is a temptation to give every agent a Docker container and route every action through bash. That solves flexibility, yet it makes simple tasks slow and risky. Spinning up or waking a VM just to call a calendar REST API or format a JSON webhook adds latency and widens the blast radius for secrets.
Splitting execution into two clean layers works much better:
@uri/safescript) for lightweight skill tools. Most
day-to-day agent skills are just REST calls, JSON transforms, and small pieces
of orchestration. Safescript is a sandboxed functional language with
statically verified host and secret capability signatures. Before a single
line runs, the runtime knows which hosts the script can contact and where
secrets can flow. It runs with zero VM overhead, so routine API actions finish
in milliseconds instead of waiting for a container.Separating fast, capability-checked skill execution from full Linux VMs keeps simple chats snappy while still letting the agent handle heavy engineering or data tasks when asked.
Putting an agent inside WhatsApp changes how often you actually use it, because you never switch apps. Forwarding a PDF, sending a quick voice note while walking, or pasting a screenshot takes two seconds.
The bigger jump happens when the agent has its own WhatsApp line rather than piggybacking on your personal number:
Plenty of real-world tasks still have no API. Clinics, restaurants, local contractors, and delivery offices live on phone calls and SMS.
Giving the agent access to voice calls and SMS closes that gap. You text it on WhatsApp ("call the dentist and ask if they have a slot Thursday afternoon, then put it on my calendar"), it places the call over a real phone line, transcribes the outcome, and reports back in the same WhatsApp thread.
This is the stack behind Mentat, the hosted personal assistant built on prompt2bot.
You message it on WhatsApp and get a live assistant immediately, with no server setup, no Dockerfiles, and no WhatsApp Web process to babysit. Under the hood, it runs lightweight skills in Safescript, spins up a persistent Modal VM whenever you ask it to write code or inspect files, remembers context across weeks, and can be paired with its own dedicated WhatsApp number for group chats and proactive outreach.
If you want to drop a specific public skill straight into a WhatsApp assistant without writing glue code, you can also launch any skill directly from Talk to Skill.
The model is no longer the bottleneck for personal AI assistants. Reliability, clean isolation, and living inside the messaging app you already check fifty times a day are what turn a neat demo into something you actually rely on.
← All posts