Expertise

AI Expert

An AI expert is someone who places language models into the system not as a demo, but as a production component whose cost, errors and limits are measured. In recent years my focus has been LLM-based assistants, RAG architectures and autonomous agents. KaiMoi and DoktorAsistan are two real products I have built in this area.

What does an AI expert do?

  • Chooses the right problem. Not every job needs AI; sometimes a simple rule engine is cheaper and more reliable. The expert distinguishes where a model genuinely creates value.
  • Prepares the data. Collects, cleans and chunks the sources the model will answer from, and sets up access permissions.
  • Sets up a RAG architecture. Instead of making the model memorise company data, it lets the model answer by fetching the right document at the right time.
  • Writes prompts and evaluation. Builds test sets that measure answer correctness; does not settle for "looks good".
  • Manages cost and latency. Lowers usage cost with model routing, caching, smaller models and streaming responses.
  • Sets security and boundaries. Access control, personal data masking, human approval and abuse prevention.
  • Monitors in production. Continuously tracks answer quality, error rate, latency and cost metrics.

What are LLM, RAG and agents?

LLM (large language model) is a model trained on a large amount of text that understands and generates text. On its own it does not know your company's current data; that is why it is not enough by itself in most enterprise use.

RAG (Retrieval-Augmented Generation) is the model fetching relevant documents from a retrieval layer before generating an answer. This way the answer is based on your data and can cite sources. This is what matters in areas such as policies, product documentation, contracts and patient information.

An agent is a system that makes decisions step by step and can use tools (search, database, files, API) to reach a goal. Agents are powerful, but they should not go to production without an authority boundary, an approval point and an audit trail.

When does AI make sense, and when not?

  • Makes sense: free-text understanding, summarisation, classification, finding answers inside documents, customer support, content generation and multi-step workflows.
  • Be careful: exact calculation, decisions with legal consequences, high-risk medical guidance and unmonitored automated actions.
  • May not be needed: work solvable with rules, areas with no data, and small one-off tasks.

The real problems of AI in production

  • Hallucination. The model can answer wrongly while sounding confident; RAG and source citation reduce this but do not eliminate it.
  • Cost. Token cost grows as usage grows; model routing and caching are essential.
  • Latency. User experience requires streaming responses, precomputation and the right model choice.
  • Privacy. Personal or sensitive data must be masked and the provider chosen before it is sent to a model.
  • Evaluation. "Works well on examples" is not enough; a measurable test set and regular checks are needed.
  • Model changes. Providers update models; the system should not be locked to a single provider.

My experience

KaiMoi is the AI agent and backend product I built. I designed a multi-agent runtime made up of the Kai (autonomous developer) and Moi (reviewer and orchestrator) roles. The system does cost-sensitive routing between DeepSeek, Claude and Anthropic. I am also developing an open-source multi-agent orchestration framework called Cogentic.

At DoktorAsistan I built LLM- and RAG-based question-and-answer, content generation and assistant flows for patient and doctor communication. Multi-channel notifications, automated email flows, CRM enrichment and analytics run in the same system.

I also assessed whether AI can fully manage a site or product in my article websites managed with AI.

How does the process work?

  1. Discovery. Which job, with which data, and against which success criterion will be solved?
  2. Data and architecture. Sources, access, the RAG structure, model choice and privacy boundaries.
  3. Small MVP. A measurable prototype working in a single flow.
  4. Evaluation. Accuracy, cost, latency and user feedback.
  5. Production. Monitoring, error handling, human approval and continuous improvement.

Frequently asked questions

How do we add AI to my existing application?

First the job to be solved and the success criterion become clear. Then the data sources and access permissions are defined; accuracy, cost and latency are measured with a small MVP. If the result is satisfactory, it moves into a production flow.

What does an AI project cost?

The cost has two parts: development and usage. Usage cost depends on model choice, the number of requests and answer length. With model routing, caching and smaller models this cost can be reduced substantially.

What is RAG and why is it needed?

RAG is the model fetching the relevant sections from your documents before answering. This way the answer is current and based on your data; it can cite sources and the risk of hallucination is reduced.

Is it safe to use agents?

Yes, with an authority boundary, approval points and an audit trail. An agent should not perform critical actions such as money transfers, deletion or sending data outside without human approval.

Will my data go abroad?

Which provider will be used and where the data will be processed are set clearly at the start of the project. For sensitive data, masking, local models or providers with enterprise contracts are considered. KVKK requirements must be part of the design.

Which model do you use?

It depends on the job. Not every task needs the most expensive model; some jobs are solved with small, fast models. The system is not built to stay tied to a single provider, but with a layer where the model can be swapped.

Can AI fully manage a site?

It can automate routine work to a large extent; but strategy, legal responsibility and critical decisions must remain with a human. You can find my detailed view in the related article.