Custom AI integration services for software your business already runs
A model that impresses in a chat window still has to read the right records, return data your code can use and stay within a budget. We write that layer in code and test it against your real examples.
Updated
What it is
A custom AI integration connects a model API, such as OpenAI's or Anthropic's, to a business's own software, so a step in it can read, sort, summarize or draft. Unlike a chat tool, the model sits behind the application, and code decides what it sees and what happens to the answer.
When it makes sense, and when it doesn't
When it makes sense
- A step in your software means sorting inbound requests, pulling fields out of PDFs or drafting replies for someone to approve.
- People lose time hunting through internal documents, and any answer has to point back to its source.
- Managers want to ask plain-English questions of the reports you already trust.
- A no-code flow with an AI step has hit its limits on logic, testing or volume.
When it doesn't
- The job is moving records between systems by fixed rules, with no model involved. That's API integration work.
- A simple flow covers the task, or you want an agent run for you month to month. Both belong with AI agents and automation.
- The software would send patient health information to a model. This service isn't set up for that work.
How we run it
Write the test set before the code
Before any real example reaches a model, we read the current data terms for the exact plan in use. The set holds real examples of the task with the answers your team would accept, including the awkward ones: the blank form, the email in two languages, the question the documents can't answer. Every prompt or model change reruns against it before release.
Demand output the code can check
Structured outputs, offered by both OpenAI and Anthropic, hold a response to a JSON schema. The code still checks for refusals and for responses cut off at the token limit, which both vendors say may not match the schema.
Find the passages before asking the question
When an answer depends on your documents, code retrieves the relevant passages first, sends only those and cites the source. Retrieval follows the source's permissions, and if nothing relevant turns up, the system says so instead of guessing.
Treat every document as untrusted
OWASP's top ten for LLM applications opens with prompt injection, where instructions hidden in an email or file steer the model. So the model gets the least access the task needs, and any step that emails, pays or deletes waits for a person's approval. Where customers see the output directly, the assistant says it's an AI at the start of the chat.
Cap the spend from the first release
A finished integration that calls a paid model needs a model account, and usage is billed as it runs. Anthropic's workspaces and OpenAI's projects both take monthly spend limits, and OpenAI's hard limit stops traffic once reached, so the code handles that failure too. Each request carries a token cap and logs its cost.
Plan for the model to retire
Vendors retire models, and Anthropic states that requests to a retired model fail. So the model name lives in configuration, all calls pass through one module, and the test set runs against the replacement well before the date.
Fit it to the software you have
Where your software offers an API or its code can be changed, the model step goes inside it; otherwise it runs as a small service beside that software.
Call a model API directly, use an agent framework, or use a no-code flow
A task with a known path rarely needs a framework that lets the model choose its steps.
| Direct model API | Agent framework | No-code flow | |
|---|---|---|---|
| Who maintains it | A developer, in the application code | A developer, who also tracks framework releases | Often operations staff, in a visual editor |
| Cost control | Set in code, with token caps and vendor spend limits | Harder to predict, since the model can choose how many calls to make | Model usage plus the flow tool's own plan, which varies by tool |
| Testing | Automated tests plus the test set, before each release | The test set, plus checks on which steps and tools the agent picked | Usually sample items run by hand; automated tests vary by tool |
| Swapping models | One module changes, then the test set reruns | Often supports several vendors, though prompts need retesting | Often a setting on one step, with any retesting done by hand |
| Where data goes | To the model vendor or a cloud platform; with an open-weight model, only to the servers it runs on | The same, plus any tracing service the framework is set up to use | Through the flow tool's servers too, unless it is self-hosted |
Tools used
OpenAI API
Model calls with structured outputs and per-project spend limits
Claude API
Model calls with schema-constrained responses and workspace spend caps
Mistral
Open-weight models to download and deploy
Node.js
The runtime for model services that sit beside existing software
TypeScript
Types for the expected response, checked by validation code at runtime
Frequently asked questions
How do I integrate AI into existing software?
Pick one step, not the whole product: reading a form, sorting a request, drafting a reply. Add a small piece of code that sends the needed text to a model API, checks the reply and passes it on, with a person approving anything risky. Release it to a few users behind a switch, and keep the old path running until the new one holds up.
When is a chat tool enough, and when do I need a custom AI integration?
A chat tool is enough when one person brings the text, reads the answer and decides what to do with it. You need an integration when the step should happen inside your software, when output must land in a specific field, or when the task repeats many times a day. A telling sign: staff spend their day pasting records into a saved prompt and answers back out.
Does OpenAI or Anthropic train on data sent through the API?
By default, no. OpenAI says API data isn't used for training unless you opt in, and Anthropic says the same of inputs and outputs from its commercial products, with exceptions such as feedback someone sends. Retention is a separate question, and shorter-retention options need the vendor's approval and don't cover every feature. Terms also vary by plan and cloud platform.
Can AI analyze my business reports and data?
Yes, within limits. A model can summarize a report or turn a plain-English question into a query against a read-only copy of the data, showing that query so someone can check it. Figures should come from the query and not from the model, which can get arithmetic wrong. If two reports disagree on what counts as a lead, fix that through analytics first.