How janvee1201/auditpilot works
AuditPilot is a multi-agent business-process automation product: requests are classified and routed into onboarding, procurement-to-payment, or meeting-to-task workflows, with shared pattern memory influencing error recovery. Its FastAPI API exposes workflow and operational endpoints, while a scheduled briefing synthesizes recent activity for email delivery. The React application provides the user-facing interface. The graph preserves documented workflow stages and capabilities; unsampled workflow internals are represented at their existing directories, and no frontend-to-API call is asserted because the supplied evidence does not show one.
Main entry points: graph.py Master Orchestrator · agent.py Pattern Memory · main.py FastAPI Application · scheduler.py Briefing Scheduler
Components 21
User Interface
- Web Application
frontend/src/App.tsx
API and Orchestration
- FastAPI Application
backend/api/main.py - Workflow API
backend/api/routes/workflow.py - Operational API
backend/api/routes - Master Orchestrator
backend/orchestrator/graph.py - Intent Classification
backend/orchestrator/nodes/intent_classify.py
Business Workflows
- W1 Onboarding
backend/w1 - W1 Error Recovery
backend/w1/nodes/error.py - W2 Procurement
backend/w2 - W2 Decision Routing
backend/w2/nodes/orchestrator.py - Meeting Intake
backend/w3/nodes/intake.py - Task Extraction
backend/w3/nodes/extraction.py - Owner Resolution
backend/w3/nodes/owner_resolution.py - Task Writing
backend/w3/nodes/task_writer.py - W3 Error Handling
backend/w3/nodes/error.py
Memory and Briefings
- Pattern Memory
backend/w4/agent.py - Shared SQLite
backend/shared/db.py - Briefing Scheduler
backend/modules/scheduler.py - Briefing Generator
backend/modules/briefing_generator.py - Email Delivery
backend/modules/email_sender.py
Other components
- Operator
Connections 22
- Operator → Web Application: uses
- FastAPI Application → Workflow API: registers
backend/api/main.py - FastAPI Application → Operational API: registers
backend/api/main.py - Workflow API → Master Orchestrator: invokes
backend/api/routes/workflow.py - Master Orchestrator → Intent Classification: classifies
backend/orchestrator/graph.py - Master Orchestrator → W1 Onboarding: dispatches
- Master Orchestrator → W2 Procurement: dispatches
- Master Orchestrator → Meeting Intake: dispatches
- W1 Onboarding → W1 Error Recovery: handles errors
backend/w1/nodes/error.py - W1 Error Recovery → Pattern Memory: requests decision
backend/w1/nodes/error.py - W2 Procurement → W2 Decision Routing: routes errors
- W2 Decision Routing → Pattern Memory: requests decision
backend/w2/nodes/orchestrator.py - Meeting Intake → Task Extraction: passes notes
- Task Extraction → Owner Resolution: passes tasks
- Owner Resolution → Task Writing: passes assignments
- W3 Error Handling → Pattern Memory: requests decision
backend/w3/nodes/error.py - Pattern Memory → Shared SQLite: reads and updates
backend/w4/agent.py - Task Writing → Shared SQLite: writes tasks
backend/w3/nodes/task_writer.py - FastAPI Application → Briefing Scheduler: starts scheduler
backend/api/main.py - Briefing Scheduler → Briefing Generator: generates briefing
backend/modules/scheduler.py - Briefing Scheduler → Email Delivery: delivers briefing
backend/modules/scheduler.py - Briefing Generator → Shared SQLite: reads activity
backend/modules/briefing_generator.py