AI Deploy Network
Professional ServicesAI AgentAI Case Study

CAVAS AI Assistant — Human-in-the-Loop AI Workflow System

AI Deploy Network Approved

CAVAS AI Assistant was built to make multi-source opportunity review more consistent, structured, and controllable. The result is a tested human-in-the-loop workflow that combines AI-assisted analysis with deterministic safeguards, explicit state management, and controlled handoff.

Vassiliy YeskinBy Vassiliy Yeskin
Chapter 01

The Business Challenge

The business situation the organisation faced before the project began.

Manual opportunity intake and review becomes inconsistent and time-consuming when information arrives from multiple sources and must be evaluated against business rules before action is taken. The challenge was to create a system that could collect, structure, analyse and route incoming opportunities while preserving human control over important decisions and maintaining a clear audit trail.

Chapter 02

Why AI Was the Right Solution

Why AI was the right approach — and what alternatives were considered.

The workflow had two different types of decisions.

Some decisions were deterministic: explicit exclusions, required fields, workflow states, confirmation rules, and other business constraints. These were better handled in application logic.

Other decisions required interpretation of unstructured text, such as understanding what an opportunity was really asking for, comparing it with the target profile, and distinguishing a strong match from a superficially similar one. That is where AI added value.

The final design therefore used a hybrid approach rather than asking an LLM to control the entire process. Deterministic logic handles hard constraints and state transitions; AI supports interpretation, analysis, and structured recommendations; the human operator retains final control over important actions.

Chapter 03

How the Solution Was Delivered

Discovery, design, development, testing and rollout — the journey, not the tooling.

  1. 1Defined the end-to-end workflow from source discovery to controlled handoff
  2. 2Built persistent workflow states and operator-facing Telegram controls
  3. 3Added deterministic filtering and business-rule guards before AI evaluation
  4. 4Introduced AI-assisted analysis and semantic-fit classification
  5. 5Added structured human review and explicit confirmation boundaries
  6. 6Tested the workflow through controlled end-to-end trials
  7. 7Hardened reliability with failure-safe behaviour, auditability, and extensive automated tests
  8. 8Refined operator guidance, rejected-item visibility, and handoff readiness
Chapter 04

Key Technical & Architecture Decisions

Architecture, model selection, workflow and trade-offs.

The most important architectural decision was to separate AI reasoning from workflow authority.

AI can analyse, classify, summarise, and prepare recommendations, but application logic controls workflow states and execution. Important actions require explicit human confirmation.

The system uses persistent state so the workflow does not depend on conversational memory. This makes interrupted or multi-step processes easier to resume, inspect, and audit.

A deterministic quality filter runs before semantic-fit classification. Clear mismatches are rejected using explicit rules, while AI is reserved for cases that benefit from interpretation. If semantic classification fails, the workflow uses a safe fallback rather than silently rejecting the item or proceeding automatically.

Structured outputs were preferred over free-form LLM responses wherever downstream logic depends on the result.

A local-first testing strategy was used to control development risk and cost. Automated tests cover workflow logic, guards, state transitions, failure cases, and integration boundaries before changes are allowed into the main workflow.

Chapter 05

Challenges & How They Were Solved

Obstacles hit along the way and how they were overcome.

One challenge was source variability. Different sources expose different fields, formats, quality levels, and failure modes. The workflow was designed around normalized intake and explicit provider boundaries so one weak source would not define the whole system.

A second challenge was relevance quality. Simple keyword filtering produced false positives, while unconstrained AI classification would have introduced unnecessary cost and unpredictability. The solution was a layered pipeline: deterministic quality filtering first, semantic-fit evaluation second, and existing ranking logic afterward.

Another challenge was preventing AI output from becoming workflow authority. Explicit states, confirmation boundaries, fail-safe fallbacks, and audit history were introduced so the system could assist decisions without silently executing them.

Operator usability also required iteration. Controlled trials exposed missing next-step guidance, weak rejected-item visibility, and drafts that could be too generic. These issues were addressed with clearer operator guidance, rejected-item previews, stronger fit guards, and tighter draft-readiness checks.

Finally, live sources are inherently unstable. The system was therefore designed to distinguish code reliability from live-source availability rather than treating a temporary lack of candidates as a software failure.

Chapter 06

User Adoption & Change Management

How users responded — training, change management and feedback loops.

This was an owner-operated system rather than a client-wide organisational rollout, so adoption was handled through controlled trials instead of formal employee training.

The workflow was introduced incrementally. Individual stages were first validated locally, then exercised through guided end-to-end trials using the Telegram operator interface.

The operator remained in control at review and confirmation points. This made it possible to observe where guidance was unclear, where drafts were not ready for use, and where the system needed stronger safeguards before broader operation.

Feedback from those trials was converted directly into workflow improvements, including clearer next-step instructions, rejected-item visibility, stronger exclusion guards, and safer handoff behaviour.

Business Impact

Business Outcomes & Impact

The measurable outcomes from the underlying AI Deployment — with the story behind them.

Hours Automated
0
Cost Savings
Currency not specified
Revenue Impact
Currency not specified
Measurable Business Outcome

End-to-end controlled trials successfully validated the workflow from source discovery through review and handoff. The automated test suite reached 1,800+ passing tests with approximately 83% code coverage. Quality hardening added deterministic filtering, semantic-fit classification, fail-safe fallback behaviour, human approval boundaries, and explicit auditability across workflow states.

Business Outcome Categories

Productivity ImprovementQuality ImprovementRisk ReductionAI Performance ImprovementKnowledge Management

The story behind the numbers

The main outcome was not a claimed financial saving, but a more controlled and reliable decision workflow.

Multi-source opportunities could be collected, filtered, analysed, reviewed, and handed off through one explicit process instead of being handled as disconnected manual steps. Deterministic rules removed clearly unsuitable items before AI evaluation, while semantic analysis helped assess less obvious fit.

Human approval remained mandatory at important decision points. Persistent workflow state, audit history, rejected-item visibility, and confirmation boundaries made the process easier to inspect and reduced the risk of silent or accidental actions.

Controlled end-to-end trials validated the workflow from discovery through review and handoff. The automated test suite grew beyond 1,800 passing tests with approximately 83% code coverage, providing a strong reliability baseline for continued development.

No revenue, cost-saving, or hours-saved figures are claimed because those outcomes were not measured in a client production deployment.

Reflection

Lessons Learned

What surprised the team, what worked well, and what would be done differently.

  • Use AI for interpretation, not for workflow authority
  • Keep important state outside conversational memory
  • Run deterministic rules before expensive semantic evaluation
  • Require explicit human confirmation for consequential actions
  • Treat safe fallback behaviour as part of the architecture, not as an exception
  • Test operator guidance as carefully as backend logic
  • Keep rejected and failed items visible instead of silently discarding them
  • Separate live-source availability from software reliability
  • Do not claim business KPIs that have not been measured
  • Harden the workflow before expanding the feature set
Looking Ahead

Future Opportunities

Where this solution could go next.

The next opportunity is to generalise the same architecture beyond opportunity discovery into broader business workflows.

The core pattern — structured intake, deterministic rules, AI-assisted analysis, explicit workflow states, human approval, audit history, and controlled handoff — can be applied to lead qualification, service routing, internal review, operational triage, and other decision-support workflows.

Future versions can add more approved data sources and integrations, stronger evaluation datasets, richer operator dashboards, and reusable workflow modules for different business processes.

Another important direction is deeper measurement: once the system is used in a real client workflow, outcome tracking can be added for review time, throughput, error reduction, conversion, and other business-specific KPIs.

For Peers

Professional Reflections

Guidance for another builder tackling a similar problem.

The strongest lesson was that reliability comes from workflow design, not from the language model alone.

AI works best when its role is clearly bounded. Hard business rules, state transitions, confirmation requirements, and execution logic should remain deterministic wherever possible. AI should be used where interpretation genuinely adds value.

A second lesson was to test the operator experience, not only the code. A technically correct workflow can still fail if the next action is unclear, rejected items disappear from view, or generated output looks complete when it is not ready for use.

The project also reinforced the value of incremental hardening. Controlled trials repeatedly exposed small operational weaknesses that unit tests alone would not reveal. Fixing those issues before expanding the scope produced a much stronger system than adding more features would have.