Skip to content

Custom AI Integration

Connect AI to your existing systems.

We build the layer between your data and the model. It checks who is asking, retrieves only what they may see, calls the model you choose, and writes back to your systems only after validation. Hosted models, open-weight models in your own cloud, or on-premise for Enterprise scope.

From raw data to structure

data-path.configSample data

Pick a source and a destination to see the default path a request takes.

Read from
Deliver to

The path this request takes

  1. Access checkWho is asking and what their role may see, from your SSO or app session.
  2. Scoped retrievalSearch the documents this user’s role may open, by keyword and by meaning.
  3. RedactFields you mark as sensitive are masked before the prompt is built.
  4. Model gatewayThe configured provider is called with zero-retention settings where available, and the call is logged.
  5. ValidateCheck that the answer cites the retrieved records; unsupported claims are flagged.
  6. DeliverShow the answer and its sources to the person who asked.

An illustration of our default data path on sample choices, not a live system.

From raw data to structure

What “AI on your data” means, in three stages

Scroll to move through the stages. It is a metaphor, not a training run: most custom AI work is retrieval over your data, and fine-tuning is used only where tests show it earns its place.

Illustration: scattered points gather into clusters, then settle into one ordered, rolled surface, a metaphor for training a custom model on your data. Not a real training run.

Three stages

Illustration
  1. Raw dataUnstructured examples
  2. PatternsRelated examples group together
  3. StructureA model of how your data fits together
Error on held-out examples falls as training proceedsIllustration
Training stepsError

Illustration, not a real training run. Real projects report their own evaluation results, with the method and the date.

The problem

Your data and your AI tools do not talk to each other

AI with extra steps

Staff paste chatbot output into spreadsheets and copy records back by hand; nothing connects the model to the systems where the work happens.

Off-the-shelf tools miss your rules

They do not know your data model, your permissions or your approval rules, so their answers cannot be trusted inside a real workflow.

Sensitive data cannot go into a public tool

Customer, finance and health records need access controls, audit logs and sometimes a model that runs inside your own cloud.

Jobs it takes on

  • Internal knowledge search
  • Document intelligence
  • CRM enrichment
  • Report drafting
  • Data extraction pipelines
  • Permission-aware assistants
  • Legacy system bridges
  • Model gateway and spend control

Deployment options

Three ways to run it

Chosen in the assessment from your data rules, volume and team, then written into the proposal.

  1. Hosted models on accounts in your name

    Fits when
    Most projects: the fastest start and the strongest models, paid per use.
    Trade-off
    The provider processes the data, under the retention settings and regions it offers.
  2. Open-weight models in your cloud

    Fits when
    Data that must stay in your environment, or steady high volume.
    Trade-off
    More setup, capacity planning and monitoring; model quality is checked against your tasks first.
  3. On-premise, Enterprise scope

    Fits when
    Data that cannot leave your premises at all.
    Trade-off
    Hardware, operations and upgrades sit with your team or a support agreement.

Engineering decisions

10 decisions in every integration we ship

Security-first defaults, written into the design document you sign off before the build.

  1. Permissions checked on every request

    The caller’s role comes from your SSO or app session and is enforced before retrieval, so the model never sees data the user could not open themselves.

  2. Retrieval scoped by role, not by prompt

    Filters on department, region or customer are applied in the query itself. Telling a model “don’t reveal this” is not a control.

  3. A model gateway in front of every provider

    One internal API holds provider keys, retries, timeouts, spend caps and logging, so switching providers is a configuration change.

  4. Zero-retention settings where available

    Provider accounts are set not to retain or train on your prompts wherever the provider offers it, and the setting is recorded at handover.

  5. Redaction before the model

    Fields you mark as sensitive are masked or dropped before a prompt leaves your systems.

  6. Structured outputs, validated

    Anything written back is produced against a schema and validated; output that fails is held for review instead of written.

  7. Approval for critical write-backs

    Changes to finance, customer or production records above your thresholds wait for the system owner.

  8. An audit log a reviewer can read

    Every request records who asked, which records were retrieved, which model answered and what was written, with personal fields masked.

  9. Encryption in transit and at rest

    TLS between components, encrypted stores, and secrets in a managed vault, never in code.

  10. Everything in your repositories

    Code, prompts, retrieval pipelines and evaluation sets go to your repositories with documentation.

How it works

Routing, residency and audit, and the alternatives we weighed

Model routing behind a gateway

Each task goes to the model that fits it: a small, inexpensive model for classification and extraction, a stronger one for drafting and reasoning. The gateway logs every call and enforces caps, so spend and quality are visible task by task.

What’s the alternative? One large model for everything

Simpler to wire, but every request pays top-tier prices and latency, and you inherit one provider’s outages and price changes.

Data residency, checked per project

We list where each component stores and processes data: your database, the vector index, the model provider. Provider regions are checked in the assessment; where data cannot leave your environment, we use open-weight models in your cloud or, for Enterprise scope, on-premise.

What’s the alternative? Assume the default region is fine

Default regions are often not where your contracts or regulators expect the data to be, and finding that out after launch means a migration.

Audit logging and review

Requests, retrievals, model calls and write-backs land in an append-only log with personal fields masked. A reviewer can trace any answer back to the records it used and the person who asked.

What’s the alternative? Logging errors only

Error-only logs cannot answer “why did the assistant say this?” or “who saw that record?”, the first questions in any audit or incident review.

Models and systems

Models and the systems they connect to

Vendors named here are in our build stack. Systems that are not listed are reached through their API, a database account or an export, scoped in the assessment.

Models
  • OpenAI
  • Anthropic Claude
  • Google Gemini
  • Llama
  • Mistral
Your systems
  • Your CRM via its API
  • Your ERP via its API
  • Internal databases
  • Legacy REST or SOAP services
Data layer
  • Postgres with pgvector
  • Supabase
  • Cloudflare Vectorize
Built with
  • Python
  • LangChain
  • Docker

Evaluation checklist

Questions to ask before connecting AI to your data

If a vendor answers any of these with “the model handles it”, the control is in the wrong place.

  1. Is access checked before retrieval, or only mentioned in the prompt?
  2. Can an answer include records the user could not open themselves?
  3. Where is each piece of data stored and processed, component by component?
  4. Can we switch model providers without rewriting the integration?
  5. What is written back to our systems, and what needs approval first?
  6. Can a reviewer trace an answer to the records and the person behind it?
  7. Which provider settings stop our prompts from being retained?
  8. Do the code, prompts and evaluation sets end up in our repositories?

Typical targets

What we design and test for

Checked with test cases built from your systems and roles before launch.

  • Typical target

    100% of the test set

    of cross-role test cases where users get only the records their role allows

    Basis: Role filters enforced in the retrieval query and tested with cross-role cases before launch

  • Typical target

    100% of writes

    of write-backs validated against a schema before they reach your systems

    Basis: Validation is a required step in code; anything that fails is held for review and never written

  • Typical target

    30–60%

    lower model spend than sending every task to one top-tier model

    Basis: Typical when routine classification and extraction move to smaller models; estimated from your task mix in the assessment and tracked by the gateway

Typical targets are what we design and test for, with the basis stated. They are not results from a client project and not a guarantee; your proposal sets the targets for your scope.

Process and timeline

Assessment first, then a milestone plan

For a single-system integration. Multi-system or on-premise builds get a milestone plan after the assessment.

  1. Day 1-3

    Assess

    Technical assessment of your systems, data sources, access model and security requirements, mapped into an integration architecture.

  2. Day 3-7

    Design

    APIs, data pipelines, the model for each task, retrieval, authentication and failure handling, written into a design you sign off.

  3. Day 7-14

    Integrate

    Build the integration layer, connect the systems, set up retrieval (and fine-tuning only where it fits) and test end to end with your data.

  4. Ongoing

    Monitor

    Latency, accuracy, spend and errors monitored through the gateway, with model updates as providers change.

Day ranges are typical for the scope described; your proposal fixes the timeline before work starts.

Engagement and price

What an integration build costs

Published starting prices. Every quote follows a free technical assessment.

Starter, one-time
From $497
A smaller proof-of-concept integration
Growth plan
$997/month
Standard CRM or knowledge-base integrations

Enterprise builds spanning multiple systems are custom-quoted after a free scoping call. On-premise deployment sits in the Enterprise plan and is quoted after the assessment.

Billed at cost, outside our fees: AI model and API usage · Telephony minutes for voice agents · WhatsApp Business messaging fees · Hosting · Paid software subscriptions. See full pricing

Our commitment on every custom AI build

MiniAI Labs is founder-led: the person who assesses your systems is the person who designs and ships the integration.

  • Fixed scope and timeline agreed before we start
  • Working integration demo before final payment
  • 14-day money-back guarantee on our fees (third-party costs excluded)
  • Direct access to the builder, not an account manager

Explainer

Custom AI integration, explained slide by slide

Explainer · 11 slides · about 54 s

Sample data

Custom AI integration, explained in 11 slides

How we connect a model to your CRM, ERP and databases through a layer that checks access, retrieves only permitted data and routes critical write-backs for approval.

Custom AI integration, explained in 11 slidesSample data

Custom AI Integration

Connect AI to your existing systems.

Models wired into your CRM, ERP, databases and internal tools, with access controls and a swappable provider.

Custom AI integration, explained in 11 slidesSample data

The problem

Your data and your AI tools don’t talk to each other.

  • Staff paste chatbot output into spreadsheets by hand
  • Off-the-shelf tools don’t know your data model or rules
  • Sensitive data can’t go into a public AI tool
Custom AI integration, explained in 11 slidesSample data

What we build

An integration layer between your systems and the model

We build an API-first layer that reads from and writes to your systems, grounds answers in your data, enforces who may see what, and lets you swap the model without a rebuild.

  • Hosted or open-weight models
  • Reads and writes your systems through their APIs
  • Permissions enforced on every request
Custom AI integration, explained in 11 slidesSample data

How it works

A safe path from your data to the model

A staff request passes an access check. Scoped retrieval pulls only the records that user may see from your data, and a model gateway sends the request and the allowed context to a hosted or self-hosted model. Routine results are written back to your systems; critical changes wait for the system owner’s approval.

Diagram with 8 parts: Staff request (source), Your data (source), Access check (control), Scoped retrieval (processing), Model gateway (processing), Language model (model), Your systems (system of record), System owner (human).

Connections:

  • Staff request → Access check (request)
  • Access check → Scoped retrieval (user’s scope)
  • Your data → Scoped retrieval (indexed)
  • Access check → Model gateway (verified)
  • Scoped retrieval → Model gateway (allowed context)
  • Model gateway → Language model (prompt)
  • Language model → Your systems (routine write-back)
  • Language model → System owner (critical change)
  • System owner → Your systems (approved)
Custom AI integration, explained in 11 slidesSample data

Inputs and integrations

Models, systems and where it runs

Models

  • OpenAI
  • Claude
  • Gemini
  • Llama
  • Mistral

Your systems

  • Your CRM via its API
  • Your ERP via its API
  • Internal databases
  • Legacy REST or SOAP services

Data layer

  • Postgres with pgvector
  • Supabase
  • Cloudflare Vectorize

Runs in

  • Your cloud account
  • Private cloud or on-premise
  • Zero-retention provider settings

Systems you need that aren’t listed here are scoped in the assessment.

Custom AI integration, explained in 11 slidesSample data

One run, step by step

One permission-aware answer, start to finish

Scenario: An internal assistant for an operations team

  1. Request inAn analyst asks for overdue orders by regionDone
  2. Access checkedSSO role is operations, with read-only finance accessDone
  3. Data retrievedOrder records only; finance tables filtered outDone
  4. Model calledSent to the configured provider with zero retentionDone
  5. Write refusedA credit-limit change is outside the analyst’s roleNeeds review
  6. Routed to the ownerLogged and sent to the finance system ownerHanded to a person
Custom AI integration, explained in 11 slidesSample data

Guardrails

Security-first by default

  • Encryption in transit and at rest
  • Role-based access checked on every request
  • Zero-retention provider settings where available
  • On-premise or private cloud when data can’t leave

When unsure

If A request goes beyond the user’s role or the model is unsure: It is refused or routed to a named owner for review

Custom AI integration, explained in 11 slidesSample data

Approval gate

Critical write-backs need the owner’s approval

  1. Integration layer
  2. Approval gateChanges to finance, customer or production records above your thresholds
  3. System owner
Passed along
  • The proposed change
  • The data it was based on
  • Who asked for it
Custom AI integration, explained in 11 slidesSample data

What you get

Yours at handover

  • Integration code in your repositories
  • Prompts, retrieval pipelines and any fine-tuned models
  • Documentation any team can maintain
  • Monitoring for latency, accuracy, cost and errors
  • A model layer you can switch by configuration
Custom AI integration, explained in 11 slidesSample data

Typical timeline

Assessment first, then a milestone plan

  1. Day 1–3AssessSystems, data, security needs
  2. Day 3–7DesignAPIs, pipelines, models, auth
  3. Day 7–14IntegrateBuild, connect, test end to end
  4. OngoingMonitorLatency, accuracy, cost

Typical timeline: 7–14 daysfor a single-system integration; multi-system or on-premise builds get a milestone plan after the assessment

  • Fixed scope and timeline agreed before we start
  • A working integration demo before final payment
Custom AI integration, explained in 11 slidesSample data

Next step

Map your systems with us

A free technical assessment call: your systems, data and security needs.

Book a Strategy CallFree 30-minute call · no commitment

Slide 1 of 11

Worked examples

Concept builds for custom AI

Concept builds are worked examples, not client work.

See all concept builds
Concept build

Custom AI

Visual Defect Triage for a Small Manufacturer

A concept build for a camera inspection step that sorts machined parts into pass, flagged or unsure with a detector trained on the plant’s own images. Unsure parts always go to a person, and the quality team keeps the final say on scrap and rework.

  • Manufacturing
  • India market
  • Oct 2026
Concept build

Custom AI

Private Knowledge Assistant on Your Own Cloud

A concept build for an internal assistant that answers staff questions from a firm’s own documents, inside the firm’s cloud account. Every answer cites its sources, and retrieval is filtered by each person’s existing document permissions, so nobody gets an answer built from a file they could not open.

  • Professional services
  • US market
  • Oct 2026

FAQ

Questions buyers ask about custom AI integration

Do we need to fine-tune a model to use AI on our own data?

Usually not. Most questions about your own data are answered better by retrieval: the system finds the relevant records and the model answers from them, with sources. Fine-tuning helps with a consistent format or tone, or a narrow classification task, and we recommend it only when tests show retrieval falls short.

Can the model run inside our own cloud account?

Yes. Open-weight models such as Llama or Mistral can be served in your cloud, so prompts and data stay in your environment. That takes more setup and capacity planning than a hosted model, so we compare both on your volume during the assessment.

How do you stop the assistant showing someone data they should not see?

Access is checked against the user’s role before anything is retrieved, and the role filters are part of the database query, not an instruction to the model. We test it with cross-role cases, such as an analyst asking for finance tables, before launch.

Can our data stay in a particular country or region?

Often, but it depends on each provider’s available regions, which we check component by component during the assessment. Where a hosted provider cannot meet the requirement, we use an open-weight model in your cloud or, for Enterprise scope, on-premise. We never assume a region without checking.

What happens to our records if the model gets something wrong?

Write-backs are validated against a schema, and changes above your thresholds wait for the system owner’s approval. A wrong answer in a draft or a chat is visible and traceable in the audit log; it does not silently change a record.

How do you connect to an old system that has no API?

Through whatever it exposes: a database read with a restricted account, scheduled file exports, a SOAP service or, as a last resort, a small adapter around its screens. The adapter is isolated and documented, so replacing the old system later means replacing only the adapter.

Which parts of the build do we own at the end?

All of it: integration code, prompts, retrieval pipelines, evaluation sets and any fine-tuned model artifacts, delivered to your repositories with documentation. Provider accounts are in your name, so another team could run and change it without us.

Next step

Map your systems with us.

A free technical assessment call: your systems, your data and your security requirements. You leave with an integration outline and a typical timeline; the fixed price follows in a written proposal.

Free 30-minute call · no commitment

Send an RFP or security questionnaire