Distribution · Partner networks
A sales and support platform for a distributed partner network
Partners ask who on their team is inactive and what blocks the next level — and get numbers for their own part of the network only, enforced at the SQL level.
- Status
- In production
- Timeline
- ~12 months (two phases, ~8 months of active development)
- Stack
- Python / FastAPI
- OpenAI API (Assistants, Whisper)
- spaCy
- MS SQL Server
- Neo4j
- React / TypeScript
The task
A company running a distributed partner network needed a sales and support platform. The first job: partners and team leads could not quickly see who was inactive or what blocked the next level — the data sat in a back-office database and several internal APIs. Direct LLM access to the database was off the table: personal data, other teams and the schema had to stay closed.
What we built
- We built a chat and voice assistant: each question is routed to the client's internal APIs or to model-generated, read-only SQL against the back office, and answered in business terms.
- The model does not guess the schema: table descriptions and a relationship graph point it to the right tables and joins, and every generated query is logged for review.
- No query reaches the database unchecked: read-only access, a table whitelist, mandatory per-user scoping, blocked personal-data columns, response sanitisation and rate limits.
- On top of the database sits a network-analytics layer — team activity, sales-volume gaps, level blockers, reward forecasts — plus an admin panel with chat statistics, logs and promotions.
- The platform design also covers buyer and marketing modules: personal recommendations, repeat purchases, loyalty tiers, segmentation, and campaigns with A/B testing and push/email delivery.
Outcome
- 20 of 21
- UAT checks passed on the client's live back-office database (reconciliation protocol); one partial — no last-activity date in the data
- 10 of 10
- question categories from the assistant behaviour spec (~25 scenarios) implemented; one sub-item outstanding (checklist count)
- 6 layers
- of data protection between the LLM and the database, from blocked personal-data columns to rate limits (counted in code)
- 48 of 48
- analytics-layer tests passing: 33 functional with mocks, 15 end-to-end on a live SQL Server (per the project test report)
More cases
Aviation — aircraft components trading and MRO
PilotAircraft parts procurement: from inbox chaos to a managed pipeline
An AI agent reads incoming RFQs, compares supplier quotes and checks trace documents; an operations system moves each deal through mandatory stages.
- Full loop
- full AI loop on a live procurement process — from incoming RFQ to team notification; confirmed by the owner
- 3
- types of trace documents checked by the agent: FAA 8130-3, EASA Form 1, COC; counted from the owner's brief
Music tech · SaaS
MVP in operation (closed launch)Music releases without missed deadlines
Release ops for independent labels: 9-stage lifecycle, pitching deadlines for 12 stores, AI drafts with human approval. Zero to production-grade in 7 weeks.
- 7 weeks
- from first commit to a production-grade stack with Vault, encrypted backups, SLOs and a move to a Russian data centre (265 commits)
- 16 days
- from project start to an investor presentation with a live product demo
IT consulting · Lead qualification
In-house productA pilot plan for the visitor, a qualified lead for sales
We replaced the contact form with an AI consultant: it interviews the visitor, returns a pilot plan with KPIs and risks, and sales gets a lead with budget and timeline.
- 1 day
- Working MVP — frontend, backend and deploy configs — built in a single day
- 16 days
- From first commit to production with HTTPS and an issued certificate on its own domain
Estimate the impact on your own figures
AVA is a process-economics calculator. In a couple of minutes it shows whether a similar task pays off in your case — before any call and with no commitment.
Estimate the impact with AVAHave a similar task?
Describe the process and the data you have. We will tell you what can be measured in money and what cannot — before any work starts.
or email us directly: hello@xteam.pro