# CustomLabs > An agentic AI consultancy of senior engineers. We build AI agents that hold up in production. They are eval-tested and model-agnostic, and you own them. CustomLabs builds production AI agents and the systems they depend on. We work with any model vendor. This file is a curated map of the site for AI assistants. Every page has a Markdown version. Add .md to any path. Or send Accept: text/markdown to any page URL. For example, /mcp/ becomes /mcp.md. ## Services - [AI Integrations](https://customlabs.io/services/ai-integrations/): Ship AI features into the stack you already run. You own the code. - [Custom Development](https://customlabs.io/services/custom-development/): We build agents and applications for your workflow. Your team owns them at handover. - [Strategy & Architecture](https://customlabs.io/services/strategy-architecture/): Technical roadmaps for what to build and what to skip. - [Readiness & Diligence](https://customlabs.io/services/readiness-diligence/): A written read on whether your AI is ready for production, and what the risks are. ## Diagnostics - [AI Readiness / Ship Audit](https://customlabs.io/diagnostic/ship-audit/): A fixed-scope, fixed-fee read on whether you are ready to ship AI. - [AI Technical Diligence](https://customlabs.io/diagnostic/technical-diligence/): An investor-grade read on a target’s AI claims, before you commit capital. - [Diagnostic](https://customlabs.io/diagnostic/): The low-risk first step before a full engagement. ## Capabilities - [Agentic workflows](https://customlabs.io/capabilities/): Tool-using agents that run live operations in your systems. Fixed fallbacks and human review cover the risky steps. - [Conversational interfaces](https://customlabs.io/capabilities/): Chat and voice systems tuned to your field. Retrieval grounds each answer, and an audit trail lets you check it. - [Document & data extraction](https://customlabs.io/capabilities/): Structured output from invoices and contracts at production scale and cost. - [Evaluation & observability](https://customlabs.io/capabilities/): Eval suites and trace pipelines, so you can measure quality with a score. ## Tools - [AI Cost Calculator](https://customlabs.io/tools/cost-calculator/): What AI costs to run in production. - [AI Readiness Scorecard](https://customlabs.io/tools/ai-readiness/): A fast read on whether your data, infra, and process are ready to ship AI. - [Architecture Picker](https://customlabs.io/tools/architecture-picker/): Which system shape to build, from seven questions about the problem. - [Tools](https://customlabs.io/tools/): Free, self-serve tools for scoping AI work before you commit budget. ## Products - [CodeHerder](https://customlabs.io/products/codeherder/): Coding agents that ship to main, under your rules. (codeherder.com) - [CostMon](https://customlabs.io/products/costmon/): See the cost spike before the invoice. (costmon.com) - [FreeTier](https://customlabs.io/products/freetier/): Ship on a budget. (freetier.co) - [GreatAPIs](https://customlabs.io/products/greatapis/): A field guide to the programmable web. (greatapis.com) - [Beemy](https://customlabs.io/products/beemy/): The super-organized version of you. Coming soon. (beemy.co) - [CustomHosted](https://customlabs.io/products/customhosted/): Hosting, run like a utility. (customhosted.com) - [Reserver](https://customlabs.io/products/reserver/): Reserved Instances, managed properly. Coming soon. (reserver.io) - [txtfetch](https://customlabs.io/products/txtfetch/): Any document in. Clean text out. Coming soon. (txtfetch.com) - [BizBinder](https://customlabs.io/products/bizbinder/): Your whole business, one binder. Coming soon. (bizbinder.com) ## Case Studies - [The AI-Native Target That Wasn't: A Two-Week Diligence](https://customlabs.io/case-studies/ai-diligence-flagged-replatform-cost/): A growth-equity firm's term sheet on an 'AI-native' SaaS target got repriced after a two-week check found $1.4M of hidden re-platform cost. - [From Notebook to Production: An Extraction Model You Could Trust](https://customlabs.io/case-studies/extraction-notebook-to-production/): A healthtech's extraction model worked in a notebook and hallucinated in production. An eval harness cut hallucinations from 12% to 3% in 8 weeks. - [Cutting Inference Spend 40% Without Betting on One Vendor](https://customlabs.io/case-studies/model-agnostic-routing-cut-inference-spend/): A Series B fintech's LLM spend outran revenue on one provider. Model-agnostic routing cut unit cost and vendor risk, and closed a data-residency gap. - [A Retrieval Pipeline That Cut Support Load](https://customlabs.io/case-studies/retrieval-pipeline-cut-support-load/): A SaaS support platform replaced a keyword search widget with a tenant-isolated retrieval pipeline. Escalations and response time fell with no new headcount. ## Insights - [One Change, Five Stages: How Our Agent Fleet Shipped a Page](https://customlabs.io/insights/one-change-five-stages/): One site change, followed from brief to production. Review rejected the first build for two defects that CI passed. (by CustomLabs Engineering) - [How We Made Our Website Readable by AI Agents](https://customlabs.io/insights/website-readable-by-ai-agents/): Each page on our site has a Markdown twin that AI agents can read. We measured the HTML at 9.3 times the bytes of the twins. (by CustomLabs Engineering) - [What Our Agent Fleet Wrote Down in Four Months of Shared Memory](https://customlabs.io/insights/what-our-agents-wrote-down/): We counted 174 pages in our agent fleet's shared wiki. Closed-defect pages saved work. Repeated lessons and stale paths cost us time. (by CustomLabs Engineering) - [What Our Coding Agents Did to Get Past the Build Checks](https://customlabs.io/insights/coding-agents-game-the-check/): A coding agent optimises for the check and skips the goal. Incidents from our own delivery record show how a green check hid a wrong page. (by CustomLabs Engineering) - [What Moved in the EU AI Act's 2026 Deadline Change](https://customlabs.io/insights/ai-act-high-risk-deadline-moved/): Regulation (EU) 2026/1744 pushed the AI Act's high-risk deadline to December 2027. What moved, what didn't, and why the old schedule still pays off. (by CustomLabs Engineering, updated 2026-09-11) - [Prompt Injection Is a Data Problem: A Threat Model You Can Ship Against](https://customlabs.io/insights/prompt-injection-threat-model/): Prompt injection can't be filtered away: the model can't reliably tell instructions from data. This is the threat model and the controls that hold up. (by CustomLabs Engineering, updated 2026-09-11) - [Why Your AI Agent Works in the Demo and Stalls in Production](https://customlabs.io/insights/ai-agents-stall-in-production/): An agent that nails the demo stalls in production because reliability compounds across steps. We cover the math, the failure modes, and how to ship anyway. (by CustomLabs Engineering, updated 2026-09-11) - [AI Cost per Outcome in Production, by Workload](https://customlabs.io/insights/ai-cost-benchmark-by-workload/): A reproducible benchmark of cost per successful outcome across four common AI workloads, with every token assumption, price, and overhead multiplier shown. (by CustomLabs Engineering, updated 2026-09-11) - [Model-Agnostic by Design](https://customlabs.io/insights/model-agnostic-by-design/): Models change under you every few months: price, quality, and capability. So we never hardcode a single provider into a client's feature. (by CustomLabs Engineering, updated 2026-09-11) - [Your RAG Demo Lied to You](https://customlabs.io/insights/your-rag-demo-lied/): Retrieval that looks flawless on ten clean PDFs falls apart on a real corpus. We explain why, and what a retrieval eval requires. (by CustomLabs Engineering, updated 2026-09-11) - [What an AI Feature Costs in Production](https://customlabs.io/insights/what-ai-actually-costs/): Token costs that look trivial in a demo compound fast at scale. Make cost a first-class metric instead of a surprise on the invoice. (by CustomLabs Engineering, updated 2026-09-11) - [Evals Before You Ship: Why AI Features Need Tests Too](https://customlabs.io/insights/evals-before-you-ship/): Shipping an AI feature without an eval suite in CI means every prompt tweak is a guess. This piece lists what an eval suite needs to cover. (by CustomLabs Engineering, updated 2026-09-11) - [Build, Buy, or Skip: A Framework for AI Decisions](https://customlabs.io/insights/build-buy-or-skip/): A technically honest framework for deciding whether an AI initiative should be built in-house, bought off the shelf, or skipped entirely this year. (by CustomLabs Engineering, updated 2026-09-11) - [From Notebook to Production: What Breaks](https://customlabs.io/insights/notebook-to-production/): The gap between a working AI demo and a production feature is auth, latency, cost and fallbacks. We close it without a rewrite. (by CustomLabs Engineering, updated 2026-09-11) ## Comparisons - [Single Agent vs Multi-Agent: What Must Stay in One Head](https://customlabs.io/compare/single-agent-vs-multi-agent/): One agent vs Several agents. Start with one agent. Split only when the parts are independent or need different permissions. A second reader for a check is the other good reason. Pay the hand-off cost on purpose. - [Agents vs Pipelines: When Autonomy Is Worth the Reliability Cost](https://customlabs.io/compare/agents-vs-pipelines/): Agentic autonomy vs Deterministic pipelines. Constrain to a pipeline until evals prove the workflow needs an agent's judgment. Default to less agent, not more. - [Open-Weight Models vs Frontier APIs: The Real Cost/Control Tradeoff](https://customlabs.io/compare/open-weight-vs-frontier-api/): Self-hosted open-weight models vs Frontier API models. Default to a frontier API until volume, compliance, or control needs force the switch. Self-hosting is an operations commitment first and a cost decision second. - [RAG vs Fine-Tuning: Which One Solves Your Problem](https://customlabs.io/compare/rag-vs-fine-tuning/): Retrieval-augmented generation (RAG) vs Fine-tuning. Default to retrieval. Fine-tune only when you need a fixed output form or a latency budget retrieval can't hit, not just 'better answers.' - [Vector Database vs pgvector: Do You Need a Dedicated Store](https://customlabs.io/compare/vector-database-vs-pgvector/): Dedicated vector database vs Postgres + pgvector. Start on pgvector. Migrate to a dedicated vector database only when you hit a measured scale, latency, or feature ceiling it can't clear, not preemptively. ## Glossary - [Retrieval-Augmented Generation (RAG)](https://customlabs.io/glossary/retrieval-augmented-generation/): Retrieval-Augmented Generation (RAG) retrieves relevant passages at query time and feeds them into an LLM's context. - [Embeddings](https://customlabs.io/glossary/embeddings/): Embeddings are numeric vectors that place similar content close together in vector space. - [Context Window](https://customlabs.io/glossary/context-window/): The context window is the maximum text, measured in tokens, a model can consider at once. - [Token](https://customlabs.io/glossary/token/): A token is the basic unit of text an LLM reads and writes. - [Model-Agnostic Architecture](https://customlabs.io/glossary/model-agnostic-architecture/): A model-agnostic architecture lets an application swap or route between LLM providers without a rewrite. - [Fine-Tuning (vs RAG)](https://customlabs.io/glossary/fine-tuning/): Fine-tuning trains a model's weights on your own examples, changing its behavior directly. - [Vector Search (Semantic Search)](https://customlabs.io/glossary/vector-search/): Vector search finds the nearest matches to a query by comparing embeddings, not exact keywords. - [Chunking](https://customlabs.io/glossary/chunking/): Chunking splits source documents into smaller passages before embedding, so retrieval returns focused text. - [Agent (Agentic AI)](https://customlabs.io/glossary/agent/): An agent is an LLM given a loop, memory, and tools it can call. - [Tool Calling](https://customlabs.io/glossary/tool-calling/): Tool calling lets a model request a structured action instead of only generating text. - [Model Context Protocol (MCP)](https://customlabs.io/glossary/model-context-protocol/): MCP is an open standard for connecting LLM applications to tools and data sources. - [Context Engineering](https://customlabs.io/glossary/context-engineering/): Context engineering decides what occupies a model's context window at every step, and in what order. - [Tool Contract](https://customlabs.io/glossary/tool-contract/): A tool contract is the schema a tool exposes to a model. - [Idempotency](https://customlabs.io/glossary/idempotency/): An idempotent operation produces the same result no matter how many times it runs. - [Structured Output](https://customlabs.io/glossary/structured-output/): Structured output constrains a model's response to a defined schema instead of free-form prose. - [Guardrails](https://customlabs.io/glossary/guardrails/): Guardrails are the checks that keep an LLM or agent inside acceptable bounds in production. - [Eval Suite (Evals)](https://customlabs.io/glossary/eval-suite/): An eval suite is a versioned set of test cases that measures whether outputs are good. - [LLM-as-Judge](https://customlabs.io/glossary/llm-as-judge/): LLM-as-judge uses another LLM to score a model's outputs against a rubric, at scale. - [Observability](https://customlabs.io/glossary/observability/): Observability captures traces of every prompt, retrieval, tool call, and response for debugging. - [Hallucination](https://customlabs.io/glossary/hallucination/): A hallucination is a confident, fluent output that is factually wrong or unsupported. - [Prompt Injection](https://customlabs.io/glossary/prompt-injection/): Prompt injection is untrusted input crafted to override a model's system prompt or task. - [Inference Cost](https://customlabs.io/glossary/inference-cost/): Inference cost is what it costs to run a trained model on a request. - [Notebook-to-Production](https://customlabs.io/glossary/notebook-to-production/): Notebook-to-production is the gap between a working prototype and a system that runs reliably. - [Data Processing Agreement (DPA)](https://customlabs.io/glossary/data-processing-agreement/): A DPA is the contract naming a vendor as a processor of personal data. - [Data Residency](https://customlabs.io/glossary/data-residency/): Data residency is where data is physically processed and stored, not where users are located. - [Red Teaming](https://customlabs.io/glossary/red-teaming/): Red teaming is deliberately attacking your own AI system to find what breaks first. - [AI Register](https://customlabs.io/glossary/ai-register/): An AI register is a current list of every system that touches a model. - [High-Risk AI System](https://customlabs.io/glossary/high-risk-ai-system/): A high-risk AI system is one classified as carrying enough decision impact to trigger heavier compliance. - [Human Oversight](https://customlabs.io/glossary/human-oversight/): Human oversight is a checkpoint where a person can meaningfully approve, reject, or intervene. - [System Card](https://customlabs.io/glossary/system-card/): A system card is a short document stating an AI system's purpose, limits, and owner. - [Canary Release](https://customlabs.io/glossary/canary-release/): A canary release exposes a change to a small, deliberately chosen slice of traffic first. - [Output Drift](https://customlabs.io/glossary/output-drift/): Output drift is a gradual change in a live system's output, with no release behind it. - [Model Deprecation](https://customlabs.io/glossary/model-deprecation/): Model deprecation is a provider retiring a model version on its own schedule. - [Shadow Deployment](https://customlabs.io/glossary/shadow-deployment/): A shadow deployment runs a candidate release against real production traffic, offline, before release. - [Golden Path](https://customlabs.io/glossary/golden-path/): A golden path is the single sanctioned way to do a common piece of work. - [Shadow AI](https://customlabs.io/glossary/shadow-ai/): Shadow AI is a model or tool used without going through the sanctioned path. - [Acceptance Rate](https://customlabs.io/glossary/acceptance-rate/): Acceptance rate is the share of an agent's proposed changes a human reviewer approves. - [Tool Poisoning](https://customlabs.io/glossary/tool-poisoning/): Tool poisoning hides an instruction in a tool's description that the model reads as legitimate. - [MCP Gateway](https://customlabs.io/glossary/mcp-gateway/): An MCP gateway is a shared layer in front of several MCP servers, centralizing controls. - [Confused Deputy](https://customlabs.io/glossary/confused-deputy/): A confused deputy is a component tricked into using more authority than a request deserves. - [Context Rot](https://customlabs.io/glossary/context-rot/): Context rot is a model's declining ability to use context well as it fills with stale material. - [Compaction](https://customlabs.io/glossary/compaction/): Compaction summarizes or drops older context to make room in a filling window. - [Context Isolation](https://customlabs.io/glossary/context-isolation/): Context isolation gives each delegated unit of work its own scoped context window. ## Failure modes - [Why does our AI cite a policy we deleted six months ago?](https://customlabs.io/failure-modes/stale-index-serves-deleted-content/): Your retrieval index was built once at ingest and never told the source changed. When a document is edited or deleted, nothing re-embeds the new version or tombstones the old chunk. The stale vector keeps scoring well and keeps getting served with confidence, giving the reader no signal that it is out of date. - [Why can't retrieval find an answer that is definitely in the document?](https://customlabs.io/failure-modes/chunk-boundary-splits-the-answer/): The answer exists in the source, but a fixed-size chunker cut it in half at ingest time. A table row lost its header. A procedure lost its trigger condition. Each half scores weakly on its own, the ranker drops both, and retrieval reports nothing when the document plainly contains the answer. - [Why does retrieval return confidently wrong but similar documents?](https://customlabs.io/failure-modes/similarity-is-not-relevance/): Cosine similarity rewards topical resemblance, not correctness. It can rank a document about the wrong product or the wrong date above the one that answers the query. It can do the same for the negated version of a claim. Embeddings capture topical similarity far more reliably than they capture identifiers, negation, or numbers. - [Why did our agent run for 40 minutes and produce nothing?](https://customlabs.io/failure-modes/unbounded-agent-loop/): The agent has no step budget, no token budget, and no way to recognize it is stuck. A failing tool call stays in its context and keeps looking like a reasonable next try. The agent keeps trying variations of the same failed approach. Something external, such as a timeout or a human, finally stops it. - [Why is our agent calling tools with IDs that don't exist?](https://customlabs.io/failure-modes/tool-argument-hallucination/): Loose tool schemas (free-form string IDs, everything optional) give the model room to fill a gap with something plausible-looking instead of something real. With no server-side validation catching the mismatch before execution, a confidently invented ID reaches a system that expects a real one. - [Why is our agent confidently wrong right after a tool call failed?](https://customlabs.io/failure-modes/silent-tool-failure/): The tool returned HTTP 200 with an error message in the body, or an empty result set. The agent treated the absence of data as evidence and missed the failure. Nothing in the response forced a distinction between "nothing matched" and "something broke." - [Why does our agent forget its instructions halfway through a long task?](https://customlabs.io/failure-modes/context-overflow-drops-the-task/): As the conversation grows, a naive truncation strategy drops the oldest messages to stay under the context window. The oldest messages usually hold the system prompt and the original task state. The agent keeps running with no memory of what it was supposed to do. - [Why did quality drop after a prompt tweak nobody thought was risky?](https://customlabs.io/failure-modes/vibes-based-prompt-regression/): Without a labelled eval set, the change was graded against whatever two or three examples the author happened to have open. That is not a test. It's an anecdote. A regression anywhere outside that narrow, unrepresentative sample ships straight to production undetected. - [Why does our LLM-as-judge say everything passes?](https://customlabs.io/failure-modes/judge-prefers-its-own-output/): A judge from the same model family as the generator tends to rate that family's output favorably. This is self-preference bias. A single vague rubric ('is this good?') collapses almost everything to a passing score. The eval suite then cannot tell a real regression from noise. - [Why is our inference bill three times the estimate?](https://customlabs.io/failure-modes/retry-amplified-spend/): The estimate priced the happy path: one clean call per outcome. Production reality includes retries on malformed or rate-limited calls. It includes fallbacks to a larger model when the first attempt fails. It also includes agent loops that make several calls per completed task. Every one of those multiplies calls per successful outcome without multiplying the original per-token estimate. - [Why aren't we getting prompt-caching discounts?](https://customlabs.io/failure-modes/prompt-cache-never-hits/): A dynamic prefix changes the start of the prompt on every call. Examples are a timestamp, a per-user greeting, a reordered tool list, retrieved chunks placed before the static instructions. Prompt caching only pays off when the shared prefix is byte-identical across requests. One volatile token near the front busts the whole cache. - [Can a document in our own knowledge base hijack our agent?](https://customlabs.io/failure-modes/injection-via-retrieved-content/): Yes. Retrieved content arrives on the same channel as instructions. A document, ticket, or webpage crafted or compromised to contain commands can make the model execute them with its real tool permissions. The system has no built-in way to tell 'instruction from us' apart from 'text we retrieved.' ## Patterns - [Intent router to specialists](https://customlabs.io/patterns/intent-router-to-specialists/): A fast, cheap classifier routes each request to one narrow specialist agent. - [Bounded agent loop](https://customlabs.io/patterns/bounded-agent-loop/): A bounded agent loop runs under an explicit step budget and token ceiling. - [Structure-aware chunking](https://customlabs.io/patterns/structure-aware-chunking/): Chunk boundaries follow the document's own structure, such as headings and table rows. - [Retrieve-then-rerank](https://customlabs.io/patterns/retrieve-then-rerank/): A cheap first pass pulls 50 to 100 candidate documents. - [Change-data-capture ingest](https://customlabs.io/patterns/change-data-capture-ingest/): The ingest pipeline subscribes to change events from the source system. - [Typed tool contract](https://customlabs.io/patterns/typed-tool-contract/): A strict JSON schema defines every tool argument. - [Human checkpoint before irreversible actions](https://customlabs.io/patterns/human-checkpoint-before-irreversible/): Each tool gets the narrowest permission its task needs. - [Golden-set gate in CI](https://customlabs.io/patterns/golden-set-gate-in-ci/): A fixed set of human-labelled real cases runs in CI on every prompt or model change. - [Trace-first observability](https://customlabs.io/patterns/trace-first-observability/): One trace ID follows a single request across every hop, from retrieval to each model call and tool call. - [Model cascade](https://customlabs.io/patterns/model-cascade/): A cheap, fast model tries every request first. - [Stable-prefix prompt caching](https://customlabs.io/patterns/stable-prefix-prompt-caching/): Put invariant content first in the prompt and per-request content last, so the shared prefix stays byte-identical and the cache hits. ## Handbook - [01 Decide](https://customlabs.io/handbook/decide/): Should we build this with AI at all: build, buy, or skip? - [02 Design](https://customlabs.io/handbook/design/): What shape is the system: pipeline, agent, retrieval, or none of the above? - [03 Build](https://customlabs.io/handbook/build/): How do we get from a working notebook to a deployable service? - [04 Evaluate](https://customlabs.io/handbook/evaluate/): How do we know it works, and how do we keep knowing after every change? - [05 Operate](https://customlabs.io/handbook/operate/): What breaks in production, and how do we see it before the user does? - [06 Cost](https://customlabs.io/handbook/cost/): What will this actually cost to run, and where does the spend hide? - [The Applied AI Handbook](https://customlabs.io/handbook/): A six-stage handbook for shipping applied AI: decide, design, build, evaluate, operate, cost, each linked to the reference material behind it. ## Security review - [AI Security Review](https://customlabs.io/security-review/): What InfoSec, Privacy, Risk and Procurement ask before an AI feature ships. Each answer comes with the control and the evidence that pass the gate. - InfoSec: AppSec & Security Engineering: What an attacker can reach, and what happens when someone abuses it. This is the blast radius of a compromised prompt, key, or session. - Privacy & Legal: Lawful basis for processing personal data, data-subject rights, and who is bound by contract when a processor mishandles it. - Risk & Model Governance: Auditability and accountability. Can anyone reconstruct why the system did what it did, and who signed off that it was allowed to? - Procurement: Vendor Risk: The supplier chain behind this feature, and whether you can leave it with your data and your work. ## Agentic delivery - [The Agentic Delivery Playbook](https://customlabs.io/agentic-delivery/): The operating model for delivery with a fleet of coding agents. It has six control surfaces and 22 practices, plus the metrics that catch review debt early. - Task definition: The acceptance criteria a task carries before an agent starts, and whether 'done' has a checkable definition - Isolation: Whether two agents can touch the same mutable state at the same time - Stage gates: The sequence a task moves through, and what a fresh context inherits at each hand-off - Review throughput: How many tasks can be in flight before the review queue grows without bound - Durable memory: Whether every later session has to re-argue a decision that was made once - Spend & blast radius: The ceiling on any single loop's steps, tokens, wall-clock time, and cost, and the gate every landing path must pass ## Evals - [The Eval Stack](https://customlabs.io/evals/): How to know an AI system works before it ships. Read the eval layers, the checks behind them, and the ways an LLM judge lies. - Contract checks: Malformed output: broken JSON, a missing field, or a tool call with the wrong argument shape. - Golden-set task evals: A prompt, model, or retrieval change that makes real cases worse without notice. - Retrieval evals: The retriever handing the generator the wrong context, or none at all. - Trajectory evals: An agent that loops, calls the wrong tool, or never terminates. - Online signals: Everything the offline suite never saw, because this is real traffic. - Adversarial & safety: Prompt injection, jailbreaks, PII leakage, and tool misuse, under deliberate attack. ## Tool design - [The Agent Tool Interface](https://customlabs.io/tool-design/): Agents fail at the tool interface more often than at the model. The design rules for building an interface that holds up in production. - Tool catalog & naming: Which tools exist in a session, and what they are named. - Tool contracts (the schema): The shape of the inputs to one tool. - Tool responses (what comes back): What the model reads when a call returns. - Context assembly & budget: What occupies the token budget at each step: tool definitions, retrieved content, history, and the task. - Permissions & blast radius: What a tool call may do once it executes. - Transport & operations: How a tool call crosses a process or team boundary, and whether anyone can reconstruct what happened afterward. ## Delivery record - [The Delivery Record](https://customlabs.io/delivery-record/): Review and verify caught 12 real defects in 227 tasks over 137 days. Each entry names the cause and the gate that stops a repeat. - Nine product pages published a "what it's built with" stack that was inferred, not confirmed. Caught by review stage. - 26 identical, blank Open Graph social cards shipped to production. Caught by human inspection after deploy. - The light theme drew every focus ring in the lime accent. The contrast was 1.08:1 on paper, so no indicator was visible. Caught by verify stage, after merge. - Filter chips left five empty category headings behind, and two strings shipped literal markdown backticks. Caught by review stage. - The header search trigger navigated to /search/ and opened the command palette on top of it. Caught by browser check after merge. - Nine product pages rendered nine content sections with no heading element. Each page had one h1 and one h2. Caught by review stage. - A mega-menu overflow fix silently killed the hover bridge an earlier fix had added. Caught by review stage. - A rewrite satisfied the rule-of-three gate by reshaping triads instead of cutting them. Caught by review stage. - A mobile overflow fix turned two scroll containers into ones a keyboard could not reach. Caught by review stage. - A diagram lane-label guard estimated text width from font size, and passed while a label overflowed. Caught by review stage. - A copy squeeze cut six real product facts to buy headroom the file did not need. Caught by review stage. - Permalinks for the new deep-link layer landed under the sticky section strip. Caught by review stage. ## Changelog - [Changelog](https://customlabs.io/changelog/): A dated list of the changes our agent fleet shipped to this site. Each entry says what changed and links to the page. - 2026-12-02: Bing hears about each change when we deploy. - 2026-11-30: Case studies now open with a diagram. - 2026-11-28: New teardown: one change, five stages. - 2026-11-28: This changelog, and a shipped-recently panel on the homepage. - 2026-11-26: Pricing page rewritten, with a first-message FAQ. - 2026-11-25: Case study cards show how each number was measured. - 2026-11-24: Homepage is shorter on phones and tablets. - 2026-11-23: CostMon and FreeTier pages match their own sites. - 2026-11-18: CodeHerder page matches codeherder.com. - 2026-11-17: New comparison: single agent or multi-agent. - 2026-11-16: New insight: making a website readable by AI agents. - 2026-11-15: Icon set, web manifest and security.txt added. - 2026-11-14: Sample Ship Audit report published. - 2026-11-13: New insight: what our agents wrote in shared memory. - 2026-11-12: Chat-style Brief console removed. - 2026-11-11: Pages serve Markdown to agents that ask for it. - 2026-11-10: Vague trust words removed from the buying path. - 2026-11-03: Homepage first screen leads with proof. - 2026-11-01: Products page shows nine products with live screenshots. - 2026-10-31: One description per page in llms.txt and the library. - 2026-10-30: Pillar guides rewritten in simple technical English. - 2026-10-19: Side gutter restored on every page. - 2026-10-18: Homepage copy pass. - 2026-10-17: About page explains how we work, with no placeholder bios. - 2026-10-16: Filler adverbs cut from articles and product shelf. - 2026-10-15: Contact form stopped losing leads. - 2026-10-14: Homepage tells the offer once: four services. ## Choosing a partner - [Choosing an AI Delivery Partner](https://customlabs.io/choosing-a-partner/): How to interrogate any AI delivery partner, us included, across every gate that matters, and the cases where we're the wrong call. - Hire in-house: Institutional knowledge compounds. Someone who sits in your standups and knows your data model carries context across projects for years. No outside party can match that, and it grows the longer they stay. - Big consultancy or systems integrator: Scale and coverage. Suppose the work spans a dozen legacy systems, needs a change-management program beside the code, or needs twenty people next quarter. A large integrator is built to absorb that shape. - Offshore or generalist dev shop: Cost-effective throughput on well-specified work. You hand over a clear, detailed spec and get a competent build back at a lower day rate than a specialist charges. A generalist shop is built to deliver that trade. - Freelancer or fractional lead: Speed and cost per hour. A good freelancer with production AI experience can move faster than a team with a kickoff deck and a project manager. The rate is a fraction of a studio's or integrator's. - Specialist AI studio: Judgment on the ambiguous parts: the build-buy-or-skip call, the architecture fork, the eval discipline. That judgment is the whole business. It is not one service line competing for staff against ten others. ## Cost - [The AI Cost Model](https://customlabs.io/cost/): Where AI spend goes, the levers that move it, and the ways a cost estimate can be wrong before you commit budget. - Token demand: What you send the model, and how much you let it write back. - Model routing: Which model tier ever sees a given request. - Caching and reuse: Whatever gets computed, embedded, or generated twice for the same reason. - Retrieval and the data pipeline: Embedding, vector storage, and reindexing, running whether or not anyone reads the result. - Failure economics: Every retry, fallback call, and extra step in an agent run that technically finished. - Attribution and control: Nothing directly. This is the instrumentation layer that says which feature spent everything above. ## Governance - [The AI Governance Layer](https://customlabs.io/governance/): The standing regime that has to hold a year after the security review passes. Who is accountable, and how to prove the system behaves. - Inventory and classification: Every system that touches a model, who is accountable for it, and how much decision weight it carries. - Human oversight: Which actions a system may take unattended, and whether the person at the checkpoint can disagree with it. - Records and traceability: What was running, what it saw, and what it did. The record must be complete enough to answer for one past decision. - Documentation and disclosure: What a system is for, what it must not be used for, and whether the people it affects know that AI is involved. - Third-party and data assurance: What a model or library provider commits to on training use, retention, and sub-processors, and whether that commitment still holds. - Monitoring, incidents and change control: What happens after launch: who watches the system, what counts as an incident, and what triggers a new review. ## Release - [The AI Release Path](https://customlabs.io/release/): How to ship a change to an AI system, ramp it safely, and reverse it fast if it turns out to be wrong. - What counts as a release: Every input that changes system behavior. That covers model version, system prompt, retrieval corpus and index build, tool set and schemas, thresholds and config. It also covers the harness or orchestration code around all of them. - The gate before exposure: The checks a change has to clear before any real user sees it. They are a golden-set eval gate in CI, an offline replay against recorded production traffic and a cost and latency budget check. A sign-off record names what was compared against what. - Progressive exposure: How a change reaches real users gradually instead of all at once. The pieces are a canary cohort picked for blast radius, a ramp schedule with abort criteria set first and a permanent holdback for comparison. A kill switch gets pulled on a schedule. - Reversal and pinning: What "revert" has to mean once the model, the prompt, the index and the tool schemas can each change independently. It means pinned model versions and one immutable bundle per release. It also means a stated rule for forward-fix versus rollback. A provider deprecation calendar dates the migration before the shutoff. - In-flight watch: What gets monitored once a change is live. Guard metrics (refusal rate, tool-error rate, p95 latency, spend per request) are tracked separately from quality metrics. The watch also needs sampled human review of live traffic and drift thresholds with a named owner. The trace plumbing feeds all of it. - Incident and change record: What happens once something goes wrong. The severity ladder is built for a system that fails by being confidently wrong. The runbook's first step is to pin and reduce exposure. A stated disclosure path and a rule that every postmortem becomes a new eval case complete the set. ## Adoption - [The Agent Adoption Playbook](https://customlabs.io/adoption/): The pilot worked. Here is how the rest of your engineers start using it, and the numbers that separate real adoption from seat activation. - The mandate: The problem the rollout must solve, one named accountable sponsor, and a written definition of success. Agree all three before the first licence is bought. - The first team: Choose a pilot team whose workload, codebase health and appetite generalise. Name the exit-from-pilot criteria before the pilot starts. - The paved road: The sanctioned harness and defaults, sandboxing and repo hygiene. Agent instructions files, tests that gate a merge, and the boundary of what an agent may touch. Enablement built as pairing in the team's own repo. - Absorbing the output: Review capacity, CI throughput and spec quality. Who owns the merge. How the senior engineer's role changes once writing code stops being the bottleneck. - Measurement: The baseline captured before rollout. Every adoption number paired with a quality number. The split between the median engineer and the power user. - Sustain: Plateau and regression past the launch spike, and spend per team. Unsanctioned use read as a signal. Retiring pilot scaffolding on schedule. A named platform owner with a refresh cadence. ## MCP - [MCP in Production](https://customlabs.io/mcp/): MCP standardizes the wire format. Identity, the catalog and the trust boundary are still yours to build, plus a ten-question gate for a new server. - Connection & transport: Where a server runs, as stdio or as a remote HTTP endpoint. The network hygiene each choice needs. This covers Origin-header validation, loopback binding, TLS on anything remote, and isolation of session state. - Identity & authorization: A protected MCP server that acts as an OAuth 2.1 resource server. It uses protected resource metadata discovery, PKCE, and audience-bound tokens scoped to one server. Credentials are short-lived. No personal access token sits pasted in a config file. - The catalog the model sees: How many servers and tools share one context window. How namespacing keeps two servers' identically named tools from colliding. Whether the model reads a static list or one that changes mid-session. - The trust boundary: Tool descriptions, annotations, schemas, and return values, all of them untrusted input by default. Structured returns over raw HTML, no auto-approval, full call parameters shown before execution, and sensitive servers kept apart from general-purpose ones. - Supply chain & change control: A registry or allowlist, plus provenance and publisher identity. Pinning a tool definition by hash, and re-consent when a definition changes. Typosquat checks, and sandboxing for a server that runs locally. - Operations: Per-call logging with parameters and user context, and redaction. Quotas and rate limits per session or tenant. Version pinning with a deprecation window. The contents of an incident runbook when the compromised component is someone else's server. ## Context Engineering - [Context Engineering](https://customlabs.io/context-engineering/): What occupies a context window at every step of a long run, and how to budget, compact, isolate and measure it before it fails. - Budget & allocation: The window as a fixed resource. It splits across instructions, tool definitions, retrieved content, running history and the task itself. Each slice needs an owner who answers for what it costs. - Selection: What gets pulled into a given step. Content is either preloaded at session start or fetched just in time. Anything retrieved needs a relevance floor. A wider retrieval set can make an answer worse, so the discipline must stop that. - History & compaction: What a long-running conversation or agent loop keeps, drops or summarizes as it outgrows the window. The change should follow a stated rule. Without one, it becomes a scramble once the window is full. - State outside the window: Durable state that lives outside any single context window. Examples are files, working notes and a task registry. This covers what belongs there. Anything not stored there gets carried in-window turn after turn. - Isolation & delegation: A clean context window handed to one unit of work at a time. It also covers the handoff contract between units. It states what may cross that boundary and what the other side must re-derive. - Integrity & measurement: Instructions kept structurally apart from data at scale. The provenance of everything in the window. Ordering that survives a compaction pass. A per-turn log, so a context problem is diagnosable after the fact. ## Architectures - [Reference Architectures](https://customlabs.io/architectures/): Six named system shapes we build, from grounded answering to an agent delivery fleet. Each page lists its cost drivers. - [Grounded answering over your own documents](https://customlabs.io/architectures/grounded-answering/): Answer questions from your own documents and cite the source. The model does not answer from its training data. - [Agentic workflow runner for a back-office queue](https://customlabs.io/architectures/agentic-workflow-runner/): An agent that works a queue of cases end to end. It runs in a bounded loop. A human checkpoint covers any action it cannot cleanly undo. - [Document extraction with a human review loop](https://customlabs.io/architectures/document-extraction-pipeline/): Turn inbound documents into structured records. A person reviews only the cases where the model is unsure. - [An assistant inside a product you already ship](https://customlabs.io/architectures/in-product-copilot/): An assistant embedded in a product you already ship. It is scoped to the signed-in user's own data and permissions. - [Model-agnostic inference gateway](https://customlabs.io/architectures/model-gateway/): One call site in front of every model provider. A price change or an outage becomes a config change. - [A coding-agent delivery fleet](https://customlabs.io/architectures/agent-delivery-fleet/): A control plane for running many coding agents at once. Each agent works one task in its own worktree. You see what each task costs. ## Topics - [Topics](https://customlabs.io/topics/): Every guide, architecture, comparison, insight, case study, pattern, failure mode and tool, grouped by the six problems they address. ## Library - [The Library](https://customlabs.io/library/): One filterable index of every page CustomLabs has published. Start a crawl here. ## Process - [Our process](https://customlabs.io/process/): 01 Brief & first call → 02 Diagnostic → 03 Phased build → 04 Handover ## Pricing - [Pricing & engagement](https://customlabs.io/pricing/): How we price engagements: a fixed-fee diagnostic, a value-priced build you own, then a monthly retainer. No published rate card, ever. ## Company - [About](https://customlabs.io/about/): An agentic AI consultancy. Our operating principles, and how our engineers run an agent fleet to ship your code. - [FAQ](https://customlabs.io/faq/): Common questions on cost, ownership and data. - [Contact](https://customlabs.io/contact/): Send a project brief.