How sushyanth/pilarprep works
PilarPrep turns customer context into audience-specific briefs, approved handoffs, meeting comparisons, and accountable follow-up. The principal workflow runs from the React workspace through asynchronous jobs to brief generation, review and approval, then handoff or meeting processing; catch-up adds a read-only, role-aware view of approved context. The graph follows the README’s documented queue-and-worker architecture and sampled entry points. Infrastructure details and some service wiring are documented but not present in the supplied tree, so those links are limited to documented flows.
Main entry points: ai_worker/handler.py AI worker · jobs_api/handler.py Jobs API · meeting.py Meeting processing · service.py Agent workflows
Components 17
Customer workspace
- React workspace
frontend/src/App.tsx - Jobs client
frontend/src/lib/jobs-client.ts
Async job processing
Brief and meeting pipeline
- Brief generation
backend/bedrock/brief_generator.py - Meeting processing
backend/pipeline/meeting.py - Evidence handling
backend/pipeline/evidence.py - Private artifacts
- Evidence Knowledge Base
Handoff and catch-up
- Agent runtime
backend/agentcore/runtime/main.py - Agent workflows
backend/agentcore/runtime/service.py - Governed tools
backend/agentcore/tools/handler.py
Other components
- Sales / SA user
- Amazon Bedrock
- Scan and transcription
Connections 22
- Sales / SA user → React workspace: enters context
- React workspace → Jobs client: requests jobs
- Jobs client → Jobs API: calls API
- Jobs API → SQS jobs: enqueues job
- Jobs API → Job and project state: records job
- Jobs API → Private artifacts: stores input
- SQS jobs → AI worker: dispatches job
- AI worker → Job and project state: updates status
- AI worker → Private artifacts: reads and writes
- AI worker → Brief generation: generates or refines
- Brief generation → Amazon Bedrock: requests generation
- AI worker → Agent runtime: requests agent work
- Agent runtime → Agent workflows: handles request
- Agent workflows → Governed tools: dispatches tools
- Governed tools → Job and project state: reads project state
- Governed tools → Private artifacts: stores handoffs
- Agent workflows → Evidence Knowledge Base: retrieves evidence
- AI worker → Meeting processing: processes meeting
- Meeting processing → Scan and transcription: scans and transcribes
- Meeting processing → Evidence handling: handles evidence
- Meeting processing → SQS jobs: returns service events
- AI worker → Evidence Knowledge Base: reads evidence