Give the Agent a Real Identity
When I set up Alfred, my personal assistant agent, to take calls and texts, the first decisions were about identity and trust, not features.
Why it shouldn’t borrow my number
On October 17 I gave Alfred a phone line. Alfred is the assistant agent I use for my own errands and follow-ups, and I wanted it to be able to receive calls and texts without pretending to be me.
The tempting shortcut is to route everything through a person’s existing number and let the agent act behind it. I didn’t want that. Someone who calls an agent should know they reached an agent. Someone who gets a text from it should be able to tell it apart from a text I typed. So Alfred has its own number on Twilio and its own email address, both under its own name and clearly connected to me. If it ever gets something wrong, the record shows who said it.
A separate identity also gives me separate controls. I can change what Alfred is allowed to do on its line without touching my phone, and I can shut its line off without losing mine.
Signed webhooks
When a call or text arrives, Twilio sends a request to a small service that decides what to do with it. That service runs on its own, apart from my website. Anyone who finds its address can send it a request that looks like a call or a text. The protection is a signature. Twilio signs each request with a secret shared between Twilio and the service, and the service refuses anything that doesn’t verify.
We didn’t connect the number until signed-webhook verification passed end-to-end in testing.
I care about this because an agent acts on what it receives. If it can’t tell a real voicemail from a forged one, every later step inherits that doubt.
Who rings through
Most calls to an assistant don’t need me right away. A few do. So the line uses an allowlist: a small set of approved callers rings through; everyone else goes to voicemail with transcription, so nothing is lost and I can read it later.
Texts follow the same idea. Inbound texts are captured and kept so Alfred can read them later. Alfred replies automatically only in a narrow case I defined, and everything else waits.
Saying what isn’t live yet
Outbound texting is pending carrier registration, so Alfred receives texts and does not send them yet.
I’d rather say that plainly than let anyone assume the whole system works. An agent that touches other people should come with an honest list of what it can do today, what’s pending, and what it won’t do at all.
What I’d tell another team
Before an agent contacts anyone, give it its own identity, and don’t lend it a person’s. Verify every inbound event before the agent acts on it, and refuse to connect anything until that check passes. Decide who reaches a human right away, and capture everything else in a form someone can read later. Then write down what isn’t live yet, and keep that list current.
None of this is complicated. Most of it came down to the order we did things in on build day.