How kacytran1122/-billo works
Billo is an AI care companion spanning pre-visit safety and price comparison, visit tracking, after-care document review, benefit follow-up, and guarded simulated settlement. Patients enter through ASI:One or tagged iMessage; Fetch.ai agents coordinate specialist workflows and use the shared Core API for rules, OCR, and durable case data. The frontend presents the product experience. Relationships among sampled components are supported by source references or README statements; unsampled capability links are omitted where their wiring is not shown.
Main entry points: main.py Core API · coordinator.py Case Coordinator · main.ts Photon Bridge · sentry.py Privacy-safe Sentry
Components 19
Patient Experience
- Web Experience
frontend/src/features/landing/LandingPage.tsx - Photon Bridge
backend/photon/src/main.ts
Agent Workflows
- iMessage Gateway
backend/fetch.ai/imessage_gateway.py - Case Coordinator
backend/fetch.ai/coordinator.py - Emergency Screening
backend/fetch.ai/red_flag.py - Care Finder
backend/fetch.ai/care_finder.py - Bill Auditor
backend/fetch.ai/bill_auditor.py - Settlement Router
backend/fetch.ai/settlement_router.py - Case Medic
backend/fetch.ai/case_medic.py
Core Services
- Core API
backend/api/app/main.py - Deterministic Rules
backend/api/app/rules.py - Bill Reader
backend/ocr/reader.py - Local OCR Engine
backend/ocr/engine.py - Visa Simulation
backend/api/app/visa.py
Case Data
- Case Store
backend/api/app/store.py
Safety and Observability
- Privacy-safe Sentry
backend/observability/sentry.py
Other components
- Patient
- ASI:One
- iMessage
Connections 25
- Patient → ASI:One: asks for care
README.md - Patient → iMessage: tags Billo
README.md - Patient → Web Experience: uses experience
README.md - iMessage → Photon Bridge: sends messages
README.md - Photon Bridge → iMessage Gateway: forwards inbound
backend/photon/src/main.ts - Photon Bridge → Core API: uploads files
backend/photon/src/main.ts - ASI:One → Case Coordinator: submits cases
README.md - iMessage Gateway → Case Coordinator: routes messages
README.md - Case Coordinator → Emergency Screening: screens emergencies
README.md - Case Coordinator → Care Finder: finds care
README.md - Case Coordinator → Bill Auditor: organizes bills
README.md - Case Coordinator → Settlement Router: routes settlement
README.md - Case Coordinator → Core API: uses shared tools
README.md - Bill Auditor → Core API: requests case tools
- Settlement Router → Core API: posts checks
backend/fetch.ai/settlement_router.py - Core API → Deterministic Rules: applies rules
backend/api/app/main.py - Core API → Bill Reader: reads documents
- Bill Reader → Local OCR Engine: runs local OCR
backend/ocr/reader.py - Core API → Case Store: reads and writes
backend/api/app/main.py - Core API → Visa Simulation: checks simulated payments
backend/api/app/main.py - Core API → Privacy-safe Sentry: reports telemetry
backend/api/app/main.py - Case Coordinator → Case Medic: routes recovery
- Case Medic → Core API: requests recovery actions
- Photon Bridge → Privacy-safe Sentry: traces bridge
backend/photon/src/main.ts - Case Coordinator → Privacy-safe Sentry: traces cases