How bharathkcs/quvi works
QUVI is procurement decision-support software: it ingests bids and project evidence, evaluates vendors and offers, forecasts delivery, and presents cited recommendations while leaving awards to people. The documented path runs from the web UI through the API and durable conductor workflow to specialized agents, with rules and trust checks governing results. The graph also preserves Ask, storage, ML, and optional LLM capabilities. Relationships are based on the README and shown excerpts; unsampled internals and wiring are not asserted beyond documented links.
Main entry points: workflow.py Conductor workflow · api REST API · a1_intake Bid intake · a3_bid_leveling Bid leveling
Components 21
User interface
- Web application
web/app - REST API
backend/app/api
Procurement workflow
- Bid intake
backend/app/agents/a1_intake - Vendor trust
backend/app/agents/a2_vendor_trust - Bid leveling
backend/app/agents/a3_bid_leveling - Submittal review
backend/app/agents/a4_submittal - Lead-time forecast
backend/app/agents/a5_lead_time - Global watch
backend/app/agents/a6_global_watch - Delivery risk
backend/app/agents/a7_delivery_risk - Alternatives
backend/app/agents/a8_alternatives - Conductor workflow
backend/app/conductor/workflow.py
Decision services
- Deterministic rules
backend/app/rules - Evidence safeguards
backend/app/trust - Cited Ask
backend/app/rag/ask.py
Runtime platform
- Application database
backend/app/db.py - Persistence layer
backend/app/persist.py - Object storage
backend/app/storage.py - Runtime configuration
backend/app/runtime_config.py
Evidence and AI
- Gated ML models
backend/app/ml/train.py - LLM router
backend/app/llm/router.py
Other components
- Project team
Connections 28
- Project team → Web application: uses
- Web application → REST API: REST requests
- REST API → Conductor workflow: starts workflow
backend/app/api/routes_items.py - Conductor workflow → Bid intake: dispatches
- Conductor workflow → Vendor trust: dispatches
- Conductor workflow → Bid leveling: dispatches
- Conductor workflow → Submittal review: dispatches
- Conductor workflow → Lead-time forecast: dispatches
- Conductor workflow → Global watch: dispatches
- Conductor workflow → Delivery risk: dispatches
- Conductor workflow → Alternatives: dispatches
- Bid leveling → Deterministic rules: checks bids
- Submittal review → Deterministic rules: checks clauses
- Delivery risk → Deterministic rules: computes risk
- Conductor workflow → Application database: durable events
- REST API → Application database: reads and writes
backend/app/api/routes_items.py - Bid intake → Object storage: stores files
- Bid intake → Evidence safeguards: screens evidence
- Bid leveling → Evidence safeguards: grounds claims
- Submittal review → Evidence safeguards: grounds findings
- REST API → Cited Ask: serves Ask
backend/app/api/routes_items.py - Cited Ask → Evidence safeguards: uses verified evidence
- Lead-time forecast → Gated ML models: gated forecasting
- Bid leveling → Gated ML models: gated ranking
- Bid intake → LLM router: optional extraction
- LLM router → Runtime configuration: checks mode
backend/app/llm/router.py - REST API → Persistence layer: persists records
- Conductor workflow → Runtime configuration: checks agent modes
backend/app/main.py