Agilotek

AI Engineering

How we build AI systems you can trust in production

Reference architectures for the systems we build most, and the engineering behind them: grounding, guardrails, human escalation, evaluation, data handling and cost.

01Reference architectures

Four systems, step by step

These show how we typically build each system. Every deployment is adapted to your tools, data and rules.

These are reference architectures, not recordings of client systems. You can talk to a demo of the voice receptionist below; demos of the others are coming soon.

AI voice receptionist

Answers calls, understands what the caller needs, checks your calendar or systems, and books, answers or routes the call.

  1. 01 · Input

    Incoming call

    • Phone number / SIP trunk
    • Telephony provider
  2. 02 · AI step

    Speech to text

    • Real-time transcription
    • Caller intent detected
  3. 03 · AI step

    Conversation model

    • LLM with your business knowledge
    • Tools: calendar, CRM, FAQs
  4. 04 · Control

    Checks

    • Allowed actions only
    • Confirms details back to caller
  5. 05 · Result

    Outcome

    • Appointment booked
    • Call summary logged to CRM
    • Text-to-speech reply
Branch from step 3Live transfer to staffUrgent calls, unclear requests or a caller asking for a person are transferred, with a summary sent ahead.

Live demo · in your browser

Talk to the demo receptionist

Ask for a painting estimate, report a roof leak or try to book a visit. The call runs right here on this page, with no phone number and no app.

  • Calls last about a minute and end automatically at 1:20.
  • This is a demo copy of the live agent. It isn't connected to the client's calendar or CRM, so nothing you say creates a real booking.
  • Your browser will ask for microphone access. Audio is used only to run this demo call.

Press to start the demo call

Built for a painting company in Georgia. Read the case study

Lead qualification

Engages new leads from forms, chat or ads within minutes, asks qualifying questions and routes good leads to sales.

  1. 01 · Input

    New lead

    • Web form, chat, ad or email
    • Webhook into the workflow
  2. 02 · Control

    Enrichment

    • Company and contact data
    • Duplicate check in CRM
  3. 03 · AI step

    Qualifying conversation

    • LLM asks your criteria questions
    • Email, SMS or chat
  4. 04 · AI step

    Scoring

    • Answers scored against your rules
    • Reason recorded for each score
  5. 05 · Result

    Routing

    • Hot leads booked with sales
    • Others into nurture
    • CRM updated
Branch from step 4Sales reviewBorderline scores and high-value accounts go to a person to decide, rather than being auto-routed.

Document extraction

Reads invoices, forms, contracts or IDs, extracts the fields you need, validates them and writes them into your systems.

  1. 01 · Input

    Documents in

    • Email, upload or shared folder
    • PDF, scans, photos
  2. 02 · AI step

    OCR and layout

    • Text and tables read
    • Document type classified
  3. 03 · AI step

    Field extraction

    • LLM fills a fixed schema
    • Source location kept for each field
  4. 04 · Control

    Validation

    • Format and total checks
    • Cross-check with existing records
  5. 05 · Result

    Into your systems

    • ERP, accounting or database
    • Audit trail per document
Branch from step 4Human review queueLow-confidence fields or failed checks go to a reviewer, who sees the document and the extracted value side by side.

Customer support agent

Answers customer questions from your own knowledge base, takes simple actions, and hands complex cases to your team.

  1. 01 · Input

    Customer message

    • Website chat, email, WhatsApp
    • Customer identified
  2. 02 · Control

    Retrieval

    • Search your help docs and policies
    • Only approved sources
  3. 03 · AI step

    Grounded answer

    • LLM answers from retrieved text
    • Cites the source passage
  4. 04 · Control

    Validation

    • Policy and tone checks
    • No answer without a source
  5. 05 · Result

    Reply or action

    • Answer sent
    • Order lookup, ticket created
    • Conversation logged
Branch from steps 2–4Hand-off to an agentNo good source found, an angry customer, or a refund above a limit: the ticket goes to your team with the full history.
Input AI step Control / check Human path Result
02Reliability

Grounding, guardrails, validation and escalation

A model on its own can be confidently wrong. These four layers are what make an AI system safe to put in front of customers.

Knowledge grounding

The model answers from your approved documents and data, retrieved at the time of the question, not from memory. Answers can cite the passage they came from.

Guardrails

Rules around the model: which topics it may discuss, which actions it may take, spending or refund limits, and filters for personal or sensitive data.

Response validation

Outputs are checked before they're used: required fields present, formats and totals correct, claims backed by a source, tone within policy.

Human escalation

Low confidence, a failed check, an out-of-scope request or a customer asking for a person hands the case to your team, with full context.
03Models & providers

The right model for the job, not one vendor

We choose models per project, based on accuracy, speed, cost, data residency and compliance.

OpenAI & Azure OpenAI

GPT models through OpenAI directly, or through Azure for enterprise and regional hosting.

Anthropic Claude

Claude models through Anthropic's API or through major cloud platforms.

Google Gemini

Gemini models through Google AI Studio or Vertex AI.

Open-source, self-hosted

Models such as Llama, Mistral and Qwen running on your own servers, so data never leaves your infrastructure.

Built to switch

The model sits behind its own layer in our systems, so you can change provider, add a fallback or move to a self-hosted model without rebuilding the rest.

Hosted where you need it

Provider APIs, your own cloud account, or on-premise. Chosen per project to meet your data and compliance requirements.
04Quality

Testing, evaluation and monitoring

We measure AI quality the same way we measure the rest of the software: with tests that run every time something changes.

Evaluation sets

A set of real-world examples with known correct answers, built with you before launch and kept separate from anything used for tuning.

Accuracy criteria

Success measures agreed per project, such as correct extraction rate, correct routing or answer accuracy, with a minimum bar for going live.

Regression checks

Every prompt, model or data change is re-run against the evaluation set, so improvements in one place don't break another.

Production monitoring

Logging, escalation rates, error rates, latency and cost tracked after launch, with alerts when quality or spend drifts.
Accuracy targets and performance or load-test results are specific to each system, so we share them per project rather than publishing general figures.
05Data handling

How client data is handled in AI systems

Data handling is agreed per project and written into your contract. These are the decisions we make with you.

Storage

Where data, logs and conversation history are stored: your cloud account, ours, or on-premise, and in which region.

Retention

How long prompts, transcripts and outputs are kept, and when they are deleted, including after the project ends.

Access

Who on our team and yours can see data, with least-privilege access for the people who need it.

Third-party AI providers

Which providers process data, and their data settings. Where available, we can use options that stop data being retained or used for training.
We sign NDAs, data processing agreements (DPAs) and, for HIPAA work, business associate agreements (BAAs).
06Costs

What an AI system costs to run

AI systems have running costs that grow with usage. We estimate them up front from your expected volume.

Tokens and usage

Language models bill by tokens, small pieces of text, read and written. Voice systems also bill per minute of speech.

Hosting

Servers, databases and storage, plus GPU capacity for self-hosted models.

Third-party services

Telephony, messaging, OCR or data enrichment services the workflow uses.

Maintenance

Monitoring, prompt and model updates as quality drifts, and support.

Questions people ask

OpenAI (including Azure OpenAI), Anthropic Claude, Google Gemini, and open-source models such as Llama, Mistral and Qwen hosted on your own infrastructure. We choose based on your needs: accuracy, cost, data residency and compliance.

Want one of these for your business?

Pick a starting point and we'll map it to your tools, data and rules on a call.