The shape of a plug-in agent
One brain, many doors. Every channel feeds the same agent core, and every action passes through the same rules before it touches the world.
An agent you can hand to a real estate office, a school or a gym has the same five layers every time. Only the niche pack on top changes.
- Doors (channels): phone calls, WhatsApp, text messages, email and a web chat. Each door turns what came in into plain text plus who it came from.
- Gateway: one small server that receives every door's events, checks who is allowed to talk to the agent, and keeps one conversation thread per person across all doors.
- Brain: the language model (Claude here). It reads the thread, the niche pack and the tools it may use, then proposes a reply or an action.
- Rules (guardrails): code, not prompts, that decides whether a proposed action may happen: spending caps, approval thresholds, allowed contacts, quiet hours and the off switch.
- Records: a log of every message, decision and payment, so the owner can see what happened, why, and undo or stop it.
Build them in this order: rules first, then data and tools, then the channel plumbing, and the voice last. A polished voice sells the demo, but an agent that can't book, can't check a calendar or can't say "I can't do that" fails in week one. The test for any agent: show it handling a call that goes wrong, not one that goes right.
Accessibility comes free if the web chat is built properly. Screen readers and refreshable Braille displays read text channels, so a chat with labeled controls and a live region for new messages already works for blind and deaf-blind users. Every door that ends in text can be read in Braille.
- Layer
- Whole system
- Build order
- Rules, data and tools, channels, voice
- Third party you can't avoid
- The model provider (Anthropic) and whatever each door requires
- Cost tier
- Free to sketch; costs arrive with each door you open
- Legal check
- Depends on doors and niche; see the outreach rules entry