All case studies / Case study 05 / 12
Qarsel Leasing
Compliance agent with official-source search
A compliance agent that knows when its documents are not enough
In short
The assistant answers from internal contracts and procedures. When it judges the information missing or out of date, it checks the regulation in force on approved official sources, then cites both.
- Client
- Qarsel Leasing
- Sector
- Leasing and financing
- Size
- 350 staff, regulated business
- 4 mininstead of half a day per regulatory question
- 2 sourcesinternal and official, always cited
- 0answers given without a source
The context
Qarsel’s legal team manages several thousand leasing contracts, and financial regulation changes several times a year. Sales teams ask compliance questions every day and wait for legal to answer.
The challenge
- 01
An assistant that only knows internal documents can answer with outdated rules.
- 02
An assistant that makes up an answer is worse than no assistant at all.
- 03
Every answer must stand up in front of an auditor.
- 04
Contracts are confidential and must not leave the company.
Our approach
A routing agent first weighs the question against the excerpts found in the internal base. It computes a confidence score: if the information is missing, ambiguous or older than the latest known regulatory update, it runs a search restricted to official sources approved by legal. The answer combines both and cites every source.
The solution, step by step
- 01
The question
“What late-payment penalty can we apply on this contract?”
- 02
Internal search
The agent finds the contract clause and the matching collection procedure.
- 03
Confidence score
The clause dates from 2022: the agent judges the rule may have changed since.
- 04
Official search
It checks only approved regulatory sources and finds the most recent text.
- 05
A justified answer
The answer combines contract and regulation, and cites both: audit-ready.
Results
- −85%questions escalated to legal
- 4 minaverage answer time
- 100%of answers with verifiable sources
- Allow-listof web sources controlled by legal
What we deliver
- Vector base of contracts and procedures
- Routing agent with confidence score
- Search restricted to approved official sources
- Web interface with clickable citations
- Question log for audit
Technologies
- LangChain
- ChromaDB
- Claude / OpenAI API
- Web search API
- Python
- React
Timeline
6 to 10 weeks
Team
1 AI engineer, 1 developer, 1 legal lead on the client side
Illustrative cases: clients and figures are fictional, representative of the solutions we deliver.