Tuesday, November 24, 2026

How an AI Phone Receptionist Works Under the Hood

Most of my engineering time now goes into an AI receptionist, a product that answers a small business's phone. I co-founded AI-Receptionist.com with Alex, and the two of us build and run it: a Java back end, a Vue front end and a lot of telephony. People mostly ask how it works, so this is the path of one call.

The call reaches the server

A business either gets a phone number from us or forwards its existing number to one. When someone calls, the carrier hands the call to our telephony provider, which opens a media stream: a WebSocket that carries the caller's audio to our server in small chunks and carries audio back.

Before the first word is spoken, the server builds the session for this account. It loads the greeting, the owner's written instructions, the knowledge base, the contacts who can receive transfers and texts, the calendar connection and the plan limits. The caller becomes a temporary contact too, which is what later lets the AI text them.

A speech-to-speech model holds the conversation

The audio goes to a realtime speech-to-speech model over a second WebSocket. It listens, decides when the caller has finished, and answers in a voice the owner picked. There is no separate speech-to-text and text-to-speech step on our server, and that is most of why the conversation does not lag.

Latency is the constraint behind every design decision. A pause of more than a second or two sounds like a dropped call, so anything the model needs during the call has to come back fast.

Tools do the actual work

The model on its own can only talk. Everything else is a tool call that our server executes and returns:

  • look something up in the owner's knowledge base
  • check free times and book an appointment in Google Calendar
  • transfer the call to the owner or a staff member, either directly or as a warm transfer where the owner gets a text first and decides
  • text the caller a confirmation, an address or a link while they are still on the line
  • take a message
  • switch to another language when the caller does
  • read a photo the caller texts in, such as a leaking pipe
  • end the call

Each tool is limited by the plan and by the account's settings. The SMS tool, for example, can only text numbers on a whitelist built at call start, which holds the owner's contacts and the caller.

After the caller hangs up

When the call ends, the transcript and a summary go to the dashboard and the owner's notifications. Then a second agent runs: the post-call agent. It reads the transcript and follows the owner's post-call instructions, such as texting the owner about a new lead, adding a row to a Google Sheet or posting a summary in Slack through Zapier.

The post-call agent deliberately does not get the caller as a contact. It can text the owner and staff, but never the caller, because it sees more of the account's data and runs actions in other apps, and a mistake there should never reach a customer. Connected apps such as Zapier are available only to the post-call agent and the dashboard assistant, never during the live call.

What still goes wrong

Most bad calls are not model failures. They are missing facts and conflicting instructions: the knowledge base has no answer for the question, or one instruction says "never quote prices" and another lists them. The receptionist now records those as issues on the account, and an assistant in the dashboard reads the calls and proposes the fix.

The model is the part people ask about, and it is the part we wrote the least of. The work is in the session setup, the tools and their limits, and in what happens after the call. If you are comparing products rather than building one, we wrote up ten AI answering services side by side, ours included.

Thursday, January 29, 2026

A Return After 13 Years: From Machine Learning Clusters to AI Conversations

Thirteen years is a long time in technology. When I last hit "publish" here in 2013, Bitcoin was a novel curiosity and building a 24-core cluster into an IKEA Helmer cabinet was a fun weekend project. The world has changed, and so have my projects—but my fascination with making powerful technology accessible and practical has not.

Back then, my friend Alex Nugent and I were obsessed with raw computing power, as seen in our 2008 post about that 24-core cluster. Today, Alex and I are building something different: AI Receptionist, a practical tool born from the real frustration of modern business communication. (More on that shortly).

Some things do remain constant. I've always believed in building lasting tools. Case in point: our open-source Java library, XChange, is still actively maintained on GitHub after all these years. It's a testament to building with care and for the community.

The AI Tool Landscape: Power Demands Responsibility

The tech world today is buzzing with agentic AI—tools that don't just answer questions but take actions. One project, Moltbot (formerly Clawdbot), recently captured this hype, exploding on GitHub. Its promise is compelling: a personal, self-hosted AI assistant.

However, its rapid rise was marred by serious security oversights, from exposed API keys to critical vulnerabilities in its architecture. This pattern is unsettlingly familiar. It mirrors the core security dilemmas we've written about before, like the risks of building production systems on platforms such as n8n (which we detailed here).

These incidents underscore a critical rule: any tool granted high-level access to your digital life must be treated with corresponding seriousness. Whether it's a local LLM agent, an MCP server from an open-source project, or an automation tool from Zapier, you must be vigilant about the permissions you grant. Security isn't a feature; it's the foundation. The power to act is also the power to cause harm if that access is not meticulously controlled and isolated.

Many guides assume you're running it on a dedicated local machine. But you don't need a Mac Mini (a nod to our ancient 500GB MacBook upgrade guide for those who remember!). A well-configured VPS can work, provided you prioritize isolation, strict firewalls, and treat its access tokens with the gravity of root passwords.

Our New Chapter: AI Receptionist

So, what have Alex and I been building with all these security and reliability principles in mind?

AI Receptionist solves a simple, painful problem: small businesses are drowning in robocalls and spam, missing real customers in the noise. We've combined decades of experience in AI, distributed systems, and yes, even low-level hardware (hello, Helmer cluster) to build an intelligent, 24/7 phone agent.

It's more than an answering machine. It understands context, filters spam intelligently, and ensures no genuine call is missed—all at a fraction of the cost of a human receptionist. Crucially, it's built as a secure, fault-tolerant service from the ground up. It's the applied, reliable implementation of the AI principles that much of the current hype is about, designed to operate in the real world where security and privacy are non-negotiable.

A Question for the Past

Writing this feels like sending a message in a bottle to a different internet era. To those who commented on those old posts about Linux clusters and Bitcoin—are any of you still out there? If you are, drop a note. I'm curious what you're building now and what you think of this wild AI landscape.

The goal of this blog was always "obscured clarity"—cutting through noise to the practical heart of technology. That mission continues. Let's see where the next conversation takes us.

– Tim