prompt2bot logoprompt2bot
Giving an AI Agent Its Own Computer, Phone Number, and WhatsApp Without Self-Hosting

Giving an AI Agent Its Own Computer, Phone Number, and WhatsApp Without Self-Hosting

2026-11-26

by Uri Walevski

Want this agent engine live in your WhatsApp — 1-on-1 or in group chats?

Try Mentat

Most 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.

Two Execution Tiers Instead of One Slow Hammer

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:

  • Safescript (@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.
  • Persistent cloud VMs for real software work. When a task genuinely needs a computer (running Python or Node scripts, crunching spreadsheets, driving a headless browser, editing files, or working in a git repository), the agent spins up a persistent Modal VM. Secrets are injected directly as real environment variables inside that isolated sandbox, the workspace stays alive across follow-up turns, and the VM tears itself down automatically after an hour of inactivity.

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.

A Dedicated WhatsApp Presence (Not Your Personal Number)

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:

  • It joins group chats cleanly. You can drop it into a trip-planning group, a family logistics chat, or a small team channel. Everyone sees it as a regular participant, can tag it for updates, and gets clean replies without risking the bot accidentally answering your personal DMs.
  • It can reach out proactively. Scheduled reminders, morning digests, deadline follow-ups, and external webhook alerts arrive as normal WhatsApp messages instead of dying quietly inside a web tab you forgot to open.

A Real Phone Line for the Last Mile

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.

What This Looks Like in Practice

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.

Try it live

Run this agent engine in your own WhatsApp

Meet Mentat — your personal AI assistant with its own cloud computer, persistent memory, and skills. Add it to 1-on-1 chats, WhatsApp groups, or scheduled workflows. Free 7-day trial (up to 500 runs, no credit card).

Building a custom agent instead?Open Agent Builder·For Business·No-Code Automation

← All posts