Engineering notes.

Write ups from real builds, including the systems on this site. What the architecture was, what broke, and what we would do again. Each note is written by the engineers who did the work.

Entries
16
Latest
Written by
Baraqix Engineering
Feed
RSS

Notes · every note is in the field
One constellation per note, placed by the model
Hover a row to light its passages

  1. NOTE/04

    What an MCP server is and when a product needs one

    A plain explanation of the Model Context Protocol for CTOs: hosts, clients and servers, tools, resources and prompts, the two transports, OAuth for remote servers, and how to decide whether your product needs an MCP server or a plain API.

    agents9 min read

    Architecture diagram of a backend and API: clients pass an authentication and rate limit gate to an API in Node.js or Python, the API calls domain services that read and write Postgres, cache in Redis and put slow work on a job queue for background workers, with logs and metrics collected from every layer.
  2. NOTE/03

    Why the AI prototype is not production ready, and what is missing

    A prototype proves the model can do the task once, with someone watching. This checklist covers what it still needs before real users touch it, from the evaluation set to the handover.

    agents, build notes8 min read

    Architecture diagram of a WhatsApp assistant and CRM for an insurance agency: a customer messages through the WhatsApp Business API, an AI assistant answers and writes leads, policies and follow ups to the CRM, scheduled follow ups go back out through WhatsApp, and a human handoff passes the conversation to agency staff.
  3. NOTE/02

    How the search on this site works

    The search console on the home page is the retrieval layer of a RAG system with no external API behind it. This is what runs when you press enter, why it is retrieval only, and why a few hundred dot products beat a vector database at this size.

    rag, search, build notes7 min read

    Architecture diagram of the site search: a query is embedded by a self hosted MiniLM model, scored by cosine similarity against an in memory index of site chunks, and the top passages are returned with their source.
  4. NOTE/01

    An AI voice agent for restaurant phone orders that asks instead of assumes

    A build note on an AI voice agent that answers a restaurant's phone and takes orders: the Twilio and speech model architecture, the guardrail for abusive callers, the allergy flow that asks on every call, what it connects to, and what is still demo stage.

    voice, agents, build notes8 min read

    Architecture diagram of the phone ordering agent: a caller reaches a Twilio number, audio streams to a Node.js server and a speech model, an order state machine looks up the menu and availability, and guardrails sit on both sides of the conversation.

New notes also go out by RSS, the moment they are published, and into the search index the moment they are published too.

Book a free call