AI Agent Development
Agents that call your tools, read your data and take bounded actions, with permissions, approvals and monitoring designed in from the start.
Getting a language model to produce an impressive answer takes an afternoon. Getting it to produce a correct, affordable and safe answer every day, inside software people already depend on, is the actual engineering work. This is the part I focus on: the data plumbing, the guardrails, the evaluation and the plain code around the model.
Agents that call your tools, read your data and take bounded actions, with permissions, approvals and monitoring designed in from the start.
Classical machine learning for tabular data, forecasting and classification, from feature engineering through deployment and drift monitoring.
Automation for document- and message-heavy processes, combining fixed workflow steps with model steps, confidence thresholds and human review.
Text classification, extraction, summarisation, search and sentiment, including multilingual text, using LLMs or smaller fine-tuned models as the task requires.
Document OCR and layout extraction for invoices, IDs and forms, with validation, human review and privacy controls for real-world image quality.
Data pipelines, warehousing, dashboards and forecasting that give teams reliable numbers first and predictions where they change decisions.
Most useful AI products are ordinary software with one or two model calls in the right place. A support tool drafts replies but an agent still sends them. A sales CRM suggests a personalised opening line but the rep edits it. An operations team uploads invoices and only reviews the ones the system is unsure about. In each case the value comes from fitting the model into a step people already do, with clear inputs, a defined output format and an obvious way to correct mistakes.
Integrating a model into an existing application is usually less about the prompt and more about everything around it: which data the model is allowed to see, how responses are streamed to the UI, what happens when the provider times out, and where outputs are stored so they can be reviewed later. I built AI prompt tooling for a CRM on the OpenAI API with WebSockets for real-time updates, and the hard parts were exactly these: state, latency and making the output editable rather than final.
Tool calling lets a model request a structured action, such as looking up an order or creating a ticket, which your code then validates and executes. An agent is a loop of these calls toward a goal. That loop is powerful and also where things go wrong, so the useful design questions are which tools exist, what each one is permitted to touch, and which actions need a human to approve them. See AI agent development for how those limits are set.
Retrieval-augmented generation (RAG) is how a model answers from your documents, tickets or product data instead of from its training data. Content is split into chunks, embedded and stored in a vector index such as PostgreSQL with pgvector or a dedicated engine like Qdrant. At query time the most relevant chunks are retrieved, filtered by the user's permissions, and passed to the model. Retrieval quality decides answer quality far more than model choice does, and permission filtering is not optional when the data includes anything private.
Not every AI problem is a chat problem. Several common needs map to different techniques, and picking the right one saves money and reduces risk.
| Problem | Usual approach | Where it is covered |
|---|---|---|
| Repetitive email, form or ticket handling | Deterministic workflow with model steps for reading and classifying | AI automation |
| Pulling fields from invoices, IDs or scanned forms | OCR and layout extraction, then validation | Computer vision and OCR |
| Classifying, extracting or searching text at volume | LLMs or smaller fine-tuned models | NLP development |
| Churn, demand, risk or pricing on tabular data | Classical ML such as gradient-boosted trees | Machine learning development |
| Knowing what happened and what is likely next | Data pipelines, a warehouse, dashboards, forecasting | Data science and predictive analytics |
Underneath all of these sits the same requirement: clean, reachable data. If customer records live in three systems with different IDs, the first deliverable is often a pipeline that reconciles them, not a model.
A model-backed feature needs the same discipline as any other production code, plus a few things specific to probabilistic output. I write about the evaluation and cost side in more detail in building AI features that ship.
Some problems that arrive labelled as AI are better solved without a model. If the rules can be written down, a rules engine or a few well-tested functions will be faster, cheaper, fully predictable and easy to audit. Routing a form by its dropdown value, calculating a discount, validating an IBAN or sending a reminder three days before a due date are all deterministic tasks.
The same applies to analytics. A well-built dashboard that answers the questions a team asks every week is often worth more than a predictive model nobody trusts. Prediction makes sense once the descriptive numbers are reliable and someone has a decision that a forecast would change.
Products from my portfolio that involved this kind of work.

Web
B2B CRM for cold-email outreach with AI-powered personalization, deliverability and warm-up. Built core CRM modules, AI prompt tooling and real-time updates.

Web
Generative-AI self-publishing platform that helps authors draft, refine and market full manuscripts end-to-end.

Web
Remote patient monitoring dashboard for diabetic-foot-ulcer prevention. Heatmaps, trends and alerts on top of the smart-mat data pipeline.
Usually not. Most product features work well with a hosted model from OpenAI, Anthropic or Google combined with good prompts, structured output and retrieval over your own data. Training or fine-tuning becomes worth considering when you have a narrow, high-volume task, enough labelled examples, and a cost or latency target that a general model cannot meet.
You cannot eliminate it entirely, but you can make it rare and visible. Grounding answers in retrieved documents, asking for citations, constraining output to a schema, validating results in code and routing low-confidence cases to a person all reduce the impact. An evaluation set tells you how often it still happens.
It can be, if you check the terms and limit what you send. Review the provider's data retention, training and regional processing terms, send only the fields a task needs, redact personal identifiers where possible, and log what leaves your system. For some regulated data, a self-hosted open-weight model may be the better option.
Data preparation and integration usually cost more than the model work itself. The other drivers are how many systems the feature touches, how much evaluation and human review the use case needs, and ongoing token or compute spend, which depends on volume, model size and how much context each request carries.
Pick based on your own evaluation results rather than general rankings. Each provider has strengths on different tasks, prices and context sizes, and models change often. A thin abstraction over the provider lets you run the same test set against several models and switch later without rewriting the feature.
Yes, and that is often the most practical place to start. A model call can sit behind a new API endpoint or a background job, so the existing application only needs to send inputs and display results. The main work is exposing the right data safely and handling slow or failed responses.
SaaS products, CRMs, APIs and internal systems shaped around the way your business already runs.
Web apps, stores and content sites built for speed, search visibility and years of maintenance.
iOS and Android apps planned around store review, offline use and the backend they depend on.
Interface and product design grounded in how it will be built, tested with users and handed off cleanly.
Independent technical advice on architecture, data, AI and scope before you commit budget.