What problem does it solve?
It converts raw TOTVS sales transcripts into structured, audit-friendly outputs and team-ready action plans, so churn risks and product gaps do not get lost.
Core Features & Use Cases
- End-to-end agent pipeline with Pydantic AI: runs a fixed 5-tool sequence to analyze transcripts, check the product catalog, create development plans, notify the right teams, and update opportunities.
- Multi-provider model reliability (FallbackModel): supports provider shorthand and failover to reduce single-model downtime.
- SSE streaming across services: streams tool calls, results, usage, and completion events from the Python agent service through the Node Fastify proxy to the frontend.
- Dataset-safe security for TOTVS inputs: applies PII redaction with pre-flight detection for already-anonymized TOTVS tokens and blocks prompt injection attempts via a prompt guard.
- Database-integrated audit trail: persists analysis results, gaps, development plans, and team notifications into PostgreSQL using the project’s canonical schema.
Quick Start
Tell the assistant: "Analyze this TOTVS meeting transcript using the NEXUS pipeline and stream the tool calls live."