Competitive intelligence tool.
A multi-agent platform that turns public signals about competitor banks into a curated brief and benchmarked UX journeys.
Built for external customer audiences and gated by plan. Production use to date is internal analysts, editors and admins.
The problem
Product, digital and CX teams at regional retail banks had no single view of what competitor banks ship, launch, partner on or change. Generic news monitoring misses app releases, app binaries, reviews and journey-level UX, and a raw feed floods readers instead of telling them what moved and why.
Who uses it
Two customer audiences. Strategy and product teams read the Brief and signal feed to see what competitors did. CX and UX teams use benchmarked journeys, scores, reviews and sentiment to compare their app experience. Internal staff (analyst, editor, super admin) curate, run analyses and publish and send the Brief.
My role
I designed and built this: the scraping agents, the LLM classification, dedup and brief pipeline, the UX benchmark service with its rubric and judge, the staff curation surfaces and the semantic design-token layer. Nearly all commits in the repository are mine, and the product decisions recorded as owner decisions are mine.
Built for retail banking. Ready for any industry.
The agents, the evidence rules and the judge do not know they are looking at banks. Point the collectors at a different set of competitors and the same platform briefs any market.
What changes
- Sources
Collection agents for news, app releases, store reviews and social posts. Aim them at the channels your market uses.
- Who it watches
A catalogue of tracked competitors. Replace the banks with the airlines, insurers or retailers you compete with.
- How journeys are scored
A versioned rubric. Write one for the journeys that matter in your market, such as booking, claims or checkout.
- What stays
Every finding cites its evidence and passes the judge before it publishes, whatever the industry.
- Insurance
- Airlines
- Telecoms
- Retail
- Utilities
- Fintech
Screens
Captured from the running product.
AI drafts.Code enforces.The human decides.
How a pipeline of AI agents benchmarks mobile banking journeys, and the five points where the analyst has the final say.
Human decidesThe analyst captures the screens and writes the notes that frame every AI prompt.
Why it matters for B2B commerce
The pattern maps to B2B commerce: messy external and ERP records classified into a strict schema, duplicates arbitrated, evidence-cited summaries for account managers, and a judge that enforces human directives before anything reaches a buyer. Plan-gated, per-organisation visibility mirrors customer-specific catalogues and price lists; rubric scoring could benchmark ordering and quoting journeys.
Technical detail: agents, research, design system and stack
How the agents are allowed to behave
Each agent gets its own level of autonomy, a guardrail and a planned failure mode.
- 5 Suggests
- 4 Drafts for review
- 3 Acts within limits
- 6 Acts autonomously
- Dedup Arbiter Autonomy: Acts autonomously. Acts autonomously Decides whether a near-duplicate signal is a re-report or a material new development.
- Event Clustering Arbiter Autonomy: Acts autonomously. Acts autonomously Decides whether distinct signals describe the same real-world event.
- Sentiment Scorer Autonomy: Acts autonomously. Acts autonomously Scores reviews, replies and comments as positive, neutral or negative.
- Signal Classifier Detailed below Autonomy: Acts autonomously. Acts autonomously Decides signal type, product category, confidence, title and summary for each raw payload.
- Translator Autonomy: Acts autonomously. Acts autonomously Translates non-English content to English before downstream processing.
- Voice Pattern Labeller Autonomy: Acts autonomously. Acts autonomously Writes a short attributed label for a cluster of customer posts making the same point about one bank.
- Brief Narrative Engine Autonomy: Acts within limits. Acts within limits Drafts the daily busy-day write-up, weekly and monthly issues, market issues and on-demand period digests.
- Relevance Filter Detailed below Autonomy: Acts within limits. Acts within limits Decides whether an item is relevant to regional retail-banking competitive intelligence.
- Review Triage Autonomy: Acts within limits. Acts within limits Decides whether analyst corrections make the report prose contradictory enough to re-synthesise.
- Journey Synthesiser (UX Agent 3) Autonomy: Drafts for review. Drafts for review Writes the journey report covering trust trajectory, friction map, findings and recommendations.
- On-demand Analyst Assistant Autonomy: Drafts for review. Drafts for review Answers per-bank research questions, writes single-signal commentary, runs saved analysis templates and summarises the rating impact of an app release.
- Screen Evaluator (UX Agent 2A) Autonomy: Drafts for review. Drafts for review Scores each screen against the active versioned rubric and updates the running journey narrative.
- Screenshot Cleaning Autonomy: Drafts for review. Drafts for review Anonymises personal data, removes overlays and refreshes dynamic values in captured screens.
- Analyst-Authority Judge Autonomy: Suggests. Suggests Checks the drafted report against every explicit analyst directive and flags contradictions.
- Cross-journey Reasoning Synthesis Autonomy: Suggests. Suggests Explains what the higher-scoring journey does better on the biggest score gaps between competitors.
- Screen Triage (UX Agent 1) Autonomy: Suggests. Suggests Detects overlays and modals, classifies the screen surface and asks the analyst clarification questions.
- Structure, Copy and Visual Aesthetics Sub-agents Autonomy: Suggests. Suggests Assess screen structure, copy and design era independently of usability scoring.
- Topic Report Analyst and Query Expander Autonomy: Suggests. Suggests Expands a search query with synonyms and Arabic/English variants, then writes a cross-bank topic report.
Autonomy is set per agent, not per product. Where an agent decides alone, the guardrail is a schema, a threshold or a fail-safe default — detailed in the cards below.
Signal Classifier
Acts autonomouslyDecides signal type, product category, confidence, title and summary for each raw payload.
- Reads
- One raw scraped payload with bank context and source authority label.
- Writes
- A typed signal record validated against a strict schema.
- Guardrails
- Every response validated against a typed schema before a signal can be written; enums listed in the prompt; JSON-only output; classifies but never generates signals.
- When it fails
- Invalid output raises a validation error, logs a pipeline error row and leaves the payload in a retry queue for up to 5 attempts, then dead-letters it with a diagnostic note.
- What that means
- Decides alone, no person in the path
Relevance Filter
Acts within limitsDecides whether an item is relevant to regional retail-banking competitive intelligence.
- Reads
- Signals, reviews and social items.
- Writes
- Relevant flag, confidence and reason; low-relevance items marked discarded.
- Guardrails
- Discards only above a configurable confidence threshold; discards are soft and restorable from a staff queue.
- When it fails
- Any provider or parse error defaults to relevant, so nothing is discarded by accident.
- What that means
- Decides alone inside a bounded scope
How I found out what to build
Versioned UX rubric (Experience Score 0-100: usability 60, utility 40, 12 dimensions scored 0-10 with anchors and bands). Brief design decisions came from read-only measurement scripts on production data over 8 weeks, testing cadence, confidence thresholds, lead-ranking stability and citation honesty.
The design system the AI reads
A four-layer semantic token system
- Feature code The only layer product code touches
- Components Component-level bindings
- Swappable theme values One name resolves to different values per theme
- Meaning names Semantic names, never raw values
Four-layer semantic token system (meaning names, swappable theme values, components, feature code) with tokens for score bands, sentiment, signal types, sources and AI evidence provenance. A CI lint bans hardcoded colour; a print-token twin, live preview route and an exported design bundle with tokens and guidelines make it machine-readable.
What it is made of
- Languages
-
- Python
- TypeScript
- SQL
- Frameworks
-
- FastAPI
- SQLAlchemy
- Alembic
- Pydantic
- React
- Vite
- Tailwind CSS
- shadcn/ui
- TanStack Query
- Recharts
- Playwright
- Model families
-
- Claude
- OpenAI models
- Qwen (hosted, OpenAI-compatible)
- local LLM via Ollama
- local LLM via llama.cpp
- nomic-embed-text embeddings
- Gemini image model
- Data stores
-
- PostgreSQL
- pgvector
- S3-compatible object storage
- Orchestration
- An external n8n scheduler calls backend endpoints (daily scrape, social collection every 2 hours, weekly and monthly brief pulses, verification jobs); the backend runs long jobs as async background tasks with bounded concurrency. One provider setting routes all backend tasks; UX agents route by tier, vision to a hosted model and text to a local model at zero cost.
Scale Files state 8 tracked banks at first launch and 21 catalogue banks with 499 items over 8 weeks in one market (median 4 new items a day). Repo has about 1,156 commits, 58 backend migrations, 10 scheduler workflows, 215 test files across two services, 6 collection agents and 3 rubric versions.