How roxigroups/ria-agent works
This repository is the RIA/Roxy product website and live voice-demo application. A visitor explores the product and its capabilities, can review FAQs or request deployment, and can start a voice demo that obtains a token and connects through LiveKit. The backend contains agent, API, prompt, and database-driver modules. The graph includes the major website and voice-demo areas named in the source index; backend and token-route wiring is limited where source excerpts do not establish runtime calls.
Main entry points: app/page.tsx Home experience · contact/page.tsx Contact inquiry · qa/page.tsx FAQ page · ParticleCanvas.tsx Particle canvas
Components 28
Website experience
- Home experience
src/app/page.tsx - About page
src/app/about/page.tsx - Insights page
src/app/insights/page.tsx - Services page
src/app/services/page.tsx - Contact inquiry
src/app/contact/page.tsx - FAQ page
src/app/qa/page.tsx - Capabilities section
src/components/sections/CapabilitiesSection.tsx - Hero section
src/components/sections/HeroSection.tsx - Synergy section
src/components/sections/SynergySection.tsx - Deployment section
src/components/sections/DeploymentSection.tsx - FAQ content
src/components/demo/DemoFaqSection.tsx
Voice demo
- Homepage demo card
src/components/livedemo/LiveDemoCard.jsx - LiveKit modal
src/components/calling/LiveKitModal.jsx - Voice assistant
src/components/calling/SimpleVoiceAssistant.jsx - Robot avatar
src/components/calling/RobotAvatar.jsx - Call icons
src/components/calling/Icons.jsx - Demo session logic
src/components/calling/demoSession.js - Token route
src/app/api/getToken/route.ts
Agent backend
- Backend API
backend/api.py - RIA agent
backend/agent.py - Agent prompts
backend/prompts.py - Database driver
backend/db_driver.py
Shared presentation
- Header navigation
src/components/HeaderNav.tsx - Navigation dock
src/components/NavigationDock.tsx - Particle canvas
src/components/ParticleCanvas.tsx - Footer
src/components/Footer.tsx - Tilt card
src/components/TiltCard.tsx
Other components
- Visitor
Connections 41
- Visitor → Home experience: visits
- Visitor → About page: visits
- Visitor → Insights page: visits
- Visitor → Services page: visits
- Visitor → Contact inquiry: submits inquiry
- Visitor → FAQ page: visits
- Home experience → Hero section: renders
src/app/page.tsx - Home experience → Capabilities section: renders
src/app/page.tsx - Home experience → Synergy section: renders
src/app/page.tsx - Home experience → Deployment section: renders
src/app/page.tsx - Home experience → Navigation dock: renders
src/app/page.tsx - Home experience → Particle canvas: renders
src/app/page.tsx - Hero section → Homepage demo card: renders
src/components/sections/HeroSection.tsx - FAQ page → FAQ content: renders
src/app/qa/page.tsx - FAQ page → Header navigation: renders
src/app/qa/page.tsx - FAQ page → Particle canvas: renders
src/app/qa/page.tsx - FAQ page → Footer: renders
src/app/qa/page.tsx - About page → Header navigation: renders
src/app/about/page.tsx - About page → Particle canvas: renders
src/app/about/page.tsx - About page → Footer: renders
src/app/about/page.tsx - Insights page → Header navigation: renders
src/app/insights/page.tsx - Insights page → Particle canvas: renders
src/app/insights/page.tsx - Insights page → Footer: renders
src/app/insights/page.tsx - Contact inquiry → Header navigation: renders
src/app/contact/page.tsx - Contact inquiry → Particle canvas: renders
src/app/contact/page.tsx - Contact inquiry → Tilt card: renders
src/app/contact/page.tsx - Contact inquiry → Footer: renders
src/app/contact/page.tsx - Deployment section → Tilt card: renders
src/components/sections/DeploymentSection.tsx - Deployment section → Footer: renders
src/components/sections/DeploymentSection.tsx - Homepage demo card → Demo session logic: uses
src/components/livedemo/LiveDemoCard.jsx - Homepage demo card → Token route: requests token
- LiveKit modal → Voice assistant: uses
src/components/calling/LiveKitModal.jsx - LiveKit modal → Call icons: uses
src/components/calling/LiveKitModal.jsx - LiveKit modal → Demo session logic: uses
src/components/calling/LiveKitModal.jsx - Voice assistant → Robot avatar: uses
src/components/calling/SimpleVoiceAssistant.jsx - Voice assistant → Call icons: uses
src/components/calling/SimpleVoiceAssistant.jsx - Voice assistant → Demo session logic: uses
src/components/calling/SimpleVoiceAssistant.jsx - Token route → Backend API: forwards token request
- RIA agent → Backend API: references
backend/agent.py - RIA agent → Agent prompts: uses
backend/agent.py - Backend API → Database driver: uses
backend/api.py