Skip to content
LalithshaPublic

About

Production-grade, event-driven AI customer support copilot platform built with Java 21, Spring Boot microservices, Kafka, pgvector RAG, and React.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

30 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ResolveIQ — AI assists. Humans stay in control.

ResolveIQ

An AI-assisted customer-support platform that turns a reported problem into an evidence-backed answer, a human-approved action, and a confirmed outcome.

A customer says, “I was charged twice.” ResolveIQ brings the ticket, relevant guidance, supporting evidence and refund controls into one workspace. AI helps investigate and draft; an authorized person decides what to send or execute. Confirmed resolutions can become reviewed knowledge for the next case.

Built as an end-to-end engineering portfolio project with Java 21, Spring Boot, Apache Kafka, PostgreSQL/pgvector, and React/TypeScript. Explore it through recorded demos and screenshots, or run the complete application locally with Docker.

Watch the demo · Explore screenshots · See results · Explore the architecture · Run locally

6 role-specific workspaces 8 Java services + 2 shared libraries Human approval before customer sends
Customer → agent → knowledge → audit Full-stack, event-driven implementation AI suggestions stay behind a review boundary

Why this project matters

Support teams need more than a plausible answer. They need to know where it came from, whether an action is safe, whether the customer’s problem was actually solved, and what can be reused next time.

Support problem What ResolveIQ implements Why it helps
Agents repeatedly search for context Classification, routing, priority queues and citation-backed drafts Puts investigation and response in one place.
A suggested refund can be wrong or repeated Policy checks, approval, input-integrity checks, idempotent execution and reconciliation Makes actions reviewable and protects against repeated effects.
Similar tickets hide a shared incident Incident clustering, review and approved customer updates Connects individual complaints to a coordinated response.
Customer evidence can expose sensitive data Consent, sanitized previews and audited original access Supports useful investigation with privacy controls.
A closed ticket does not prove success Customer confirmation and a gated knowledge-release workflow Promotes reviewed resolutions instead of trusting every closure.

Watch the product

Full walkthrough · 4 minutes 30 seconds

Follow a duplicate-charge case across customer, support agent, team lead, administrator, knowledge manager and auditor workspaces.

resolveiq-product-demo.mp4

Playback link: ▶ Watch the full product demo

Time What to look for
00:08 Customer reports the duplicate charge.
00:30 Agent inspects triage, routing and grounded citations.
01:22 Consented evidence appears in a redacted preview.
01:46 A $40 simulated refund moves through proposal, approval and execution.
02:16 Agent reviews and sends the customer response.
02:42 A shared incident moves into reviewed customer communication.
03:10 Customer confirms the resolution.
03:30 A prepared resolution cohort becomes sanitized, evaluated and released knowledge.
04:00 Administrator governance and auditor evidence.
Short on time? Watch the 20-second product intro

An illustrated overview of the evidence and human-approval workflow. The full walkthrough above shows the actual application.

resolveiq-intro.mp4

Playback link: ▶ Watch the product intro

Demo scope: a local portfolio environment with fictional customers, simulated payments and deterministic AI. The videos and screenshots show implemented workflows; their scores and fixture counts are not production business results. There is no public live deployment at this stage.

Product in action

The agent’s workspace

The queue, customer context, approved article citation and response editor are visible together. The AI draft is not sent until a person approves it.

Real light-mode workspace showing ticket context, a grounded citation and the Approve and send control

Four workflows beyond answering a ticket

These are actual light-mode application captures. Click any image to inspect it at full size.

Controlled resolution actions
A $40 simulated refund is approved; execution remains a separate step.

Approved refund proposal with risk, approval count and separate Execute Action control
Incident Radar
A team lead drafts the update; an administrator approves its publication.

Incident Radar with linked fictional tickets and a published, reviewed customer update
Evidence Lab
Consent and a redacted preview protect sensitive customer information.

Evidence Lab showing consent, a redacted email and audited original-access controls
Verified knowledge release
Confirmed outcomes feed sanitization, evaluation, release and rollback controls.

Prepared fictional cohort showing sanitized and released knowledge, local evaluation and rollback control

The platform also keeps portal/email conversation history and internal notes in a canonical ticket timeline, with identity verification and human handoff controls.

Results and evidence

The achievement is a working support lifecycle with explicit safety boundaries: ticket → evidence → approved action → customer confirmation → reviewed knowledge. The recorded demo includes a reconciled $40 simulated refund, an approved incident update and a released knowledge candidate from six fictional confirmed customers.

Measured engineering trade-offs

The recorded local retrieval benchmark compares strategies over 100 synthetic queries and 20 knowledge articles, using a real Spring Boot API and PostgreSQL/pgvector path with local sentence-transformer embeddings.

Measure Keyword search Hybrid keyword + vector search Interpretation
Mean reciprocal rank (MRR) 0.9037 0.9725 Relevant answers appeared closer to the top; higher is better.
Server-reported p95 latency 2 ms 11 ms Better ranking came with more retrieval work.

That run recorded a 7.62% relative MRR improvement, with unchanged top-five hit rate. These are September 22, 2026 local measurements on a small synthetic corpus, not production accuracy or throughput claims. Benchmark runner

The action fault-simulation report records:

Scenario Recorded outcome
Successful refund/account-unlock executions 100 / 100 reconciled
Duplicate retries 100 / 100 without a repeated effect
Invalid actions 100 / 100 denied before approval

These scenarios use simulated payment/identity adapters and mocked persistence. They demonstrate boundary behavior, not live payment performance or real-world incident rates. Scenario implementation

Engineering behind the workflow

The frontend is organized around six personas. Backend services own their business data and communicate through authenticated APIs and Kafka events.

ResolveIQ architecture showing role workspaces, authenticated APIs, grouped support services, Kafka, PostgreSQL/pgvector and MinIO, with human approval, reliable processing and scoped access safeguards

Read from top to bottom: people use role workspaces → the gateway routes scoped requests → services manage support, AI workflows and knowledge → infrastructure stores data and carries events.

Related services are grouped to keep the overview readable. Arrows show selected request and retrieval paths; internal service calls, the full Kafka return path, MinIO attachment access, discovery and observability are omitted. Authentication checks also run in the owning services. Click the image for the full-size vector, or explore the detailed architecture.

Engineering decision Implementation and purpose
Reliable asynchronous processing Ticket changes and outbox events persist atomically; idempotent consumers handle repeated delivery. Durable orchestration records workflow state and supports replay.
Retrieval with provenance Full-text search and vector similarity combine through reciprocal rank fusion. Retrieval filters authorized, published, active knowledge and returns citations.
Actions with integrity Version checks, canonical digests, policy decisions and approval counts bind execution to reviewed inputs. High-risk actions add step-up authentication and proposer exclusion.
Tenant and role boundaries JWT validation at gateway and owning services; customer ownership checks, scoped staff access and read-only auditors.
Knowledge lifecycle Draft/review/publication, indexing, supersession and rollback align retrieval with approved content.
Operational visibility Ticket/workflow audit, outbox health, AI governance traces and service-owned OpenAPI documents make state inspectable.
Technology and service ownership
Layer Technologies
Frontend React 18, TypeScript, Vite, Tailwind CSS, TanStack Query
Backend Java 21, Spring Boot 3.3, Spring Security, Maven
Data and retrieval PostgreSQL 16, pgvector, full-text search, hybrid RRF
Events and storage Apache Kafka, transactional outbox, MinIO
Testing JUnit, Mockito/AssertJ, Testcontainers, Vitest, Playwright
Runtime/deployment definitions Docker Compose, Kubernetes/Kustomize, OpenTelemetry, Prometheus, Grafana
Directory Owns
api-gateway Browser-facing routing and edge security
auth-service Authentication, refresh sessions and tenant directory
ticket-service Tickets, conversations, attachments, incidents and outcomes
ai-orchestration-service Durable triage and controlled actions
ai-analysis-service Classification, guardrails and evidence processing
routing-service Teams, assignments, rules and SLA policies
rag-service Knowledge versions, hybrid search and release evaluation
discovery-service Local service discovery
common-contracts, common-security Shared event/API contracts and security primitives

Run it locally

For a quick review, the videos and screenshots need no setup. For hands-on exploration, use Docker Compose, Python 3, curl and jq. Host-side development/test commands also need Java 21 and Node.js 20/npm.

git clone https://github.com/Lalithsha/ResolveIQ.git
cd ResolveIQ
cp .env.example .env

# Start the application and wait for healthy services.
docker compose --profile app up -d --build --wait --wait-timeout 420

# Create fictional users, routing fixtures and lifecycle-indexed knowledge.
./scripts/seed-data.sh

Open localhost:3000. The first build can take several minutes. Start with the Customer and Support Agent accounts in the demo account guide, then explore the remaining roles. Provider credentials are not required for the deterministic demo.

The base seed establishes users, tickets and knowledge. Extra incident, action, evidence and outcome scenarios are prepared in the Part 2 walkthrough. It does not recreate every recorded screenshot automatically.

The development profile supports frontend hot reload and backend rebuild/restart. If ports are occupied, use the conflict-free startup guide.

Verification and current scope

The repository includes unit/service tests, Kafka and pgvector integration tests, frontend checks and six-role browser journeys. CI workflow · Manual acceptance guide · Part 2 gate harness

./mvnw clean verify
npm --prefix frontend ci
npm --prefix frontend run lint
npm --prefix frontend run test
npm --prefix frontend run build

# Requires the healthy, seeded local stack.
npm --prefix frontend run test:e2e

The demo establishes functional local workflows. It does not establish production adoption, customer time savings, real payment settlement or full deployment acceptance. The historical Part 2 certificate is explicitly NOT_ACCEPTED pending the broader real-media, retrieval, coverage, load, restore and recovery gates. Existing CI lint and JWT-fixture secret-scan findings are tracked in the demo README PR; an all-green CI claim is not made here.

Explore further

If you want to understand… Start here
Architectural contracts and boundaries Implementation blueprint
The core support platform Part 1 implementation record
Incidents, actions, evidence and verified knowledge Part 2 plan and acceptance criteria
Code-backed workflows and the interview demo Architecture and demonstration evidence
API contracts, after starting locally Gateway /openapi/auth, /openapi/ticket, /openapi/orchestration, /openapi/analysis, /openapi/routing, /openapi/rag
Deployment definitions Kubernetes base — code supplied, not a hosted environment

Licensed under Apache 2.0. Screenshot provenance

About

Production-grade, event-driven AI customer support copilot platform built with Java 21, Spring Boot microservices, Kafka, pgvector RAG, and React.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages