AI Agents in Business Software: What They Can Do Today
What AI agents in business software can really do today, why many agentic AI projects fail, and how to build ones that last.
How to test a generative AI feature so you know it is ready, and keep it that way.
In short
LLM evaluation is what turns an impressive demo into a product you can trust. A language model can answer ten demo questions perfectly and fail the eleventh in a way that embarrasses your company. Gartner expected at least 30% of generative AI projects to be abandoned after the proof of concept by the end of 2025, partly because value and quality were unclear (Gartner). Here is how we would evaluate an LLM feature before launch.
Write down, with the business owner, what a good answer looks like: correct, complete, grounded in your sources, in the right format and tone, and safe. Decide which mistakes are tolerable and which are not. A wrong product recommendation is annoying; a wrong statement about fees or medical dosage is not acceptable.
| Method | Good for | Watch out for |
|---|---|---|
| Exact or rule-based checks | Formats, numbers, required fields, extraction | Too strict for free text |
| Reference comparison | Answers with a known correct content | Different wording of a right answer |
| Model-graded rubrics | Faithfulness to sources, tone, completeness | Must be checked against human ratings first |
| Human review | High-risk answers, final sign-off | Slow and costly, so sample wisely |
For RAG systems, score retrieval and generation separately: did the system find the right documents, and did the answer stick to them? See RAG vs fine-tuning for how the two fit together.
The OWASP Top 10 for LLM applications lists the main risks, with prompt injection at the top (OWASP). Include in your tests:
Agree the minimum scores before the first test run, so results are not argued after the fact. For example: at least 95% correct on critical facts, no failures on the safety set, and answers within your latency budget for 95% of requests.
Prompts, retrieval settings, model versions and source documents all change behaviour. Run the golden set automatically in your delivery pipeline, like unit tests, and block releases that fall below the gates.
Users have reason to be sceptical: in Stack Overflow’s 2025 survey, more developers distrusted the accuracy of AI output than trusted it (Stack Overflow). Evaluation is how you earn trust with evidence.
Choosing a model? Use the same golden set to choose a foundation model. For the full path from demo to product, read how to take an AI prototype to production.
From our work
We have taken AI into real products: the software of an autonomous warehouse drone for D-ARIA with more than 99% inventory accuracy (case study), and AI-based person following for a mobile robot with EFS Consulting. If you have an AI prototype, our free AI prototype to production review tells you what to keep, what to fix and what it will take.
| Area | Typical tools |
|---|---|
| Evaluation frameworks | promptfoo, Ragas, DeepEval, OpenAI Evals |
| Tracing | Langfuse, OpenTelemetry generative AI conventions, LangSmith |
| Datasets | versioned test sets in Git, DVC, spreadsheets for expert review |
| CI | GitHub Actions or GitLab CI gates on evaluation scores |
For production monitoring, see observability with OpenTelemetry.
Testing an AI feature built on a language model against agreed examples and criteria, such as correctness, grounding in sources, format, tone, safety, latency and cost, before launch and after every change.
Start with 100 to 300 real, varied cases, including hard and adversarial ones, and keep adding every real failure you find. Quality and variety matter more than size.
Yes, for criteria such as faithfulness or tone, but first check its grades against human ratings on a sample. Keep humans for high-risk answers and final sign-off.
Include inputs and documents that contain hidden instructions to ignore rules, reveal data or call tools, and check that the system refuses. Combine this with strict permissions for any tools the model can use.
Send a few lines about the product, the deadline and the team you have today. A senior engineer replies within two working days.