How jeyaseelan6/calmworkai works
CalmWork AI is an engineering delivery coordination platform. Users work through engagement and planning workflows, with backend APIs coordinating specialized agents for planning, knowledge retrieval, action recommendations, and delivery; related capabilities include approvals, change intelligence, document handling, and supervisor chat. The backend also provides privacy processing, authentication, and persistent domain storage. The source index and excerpts establish application startup, authentication, document ingestion, and some agent behavior; several API and UI implementations were not sampled, so their internal call relationships are left unasserted.
Main entry points: main.py FastAPI application · know_agent.py KNOW agent · auth.py Authentication · plan_agent.py PLAN agent
Components 23
User Experience
- Workspace UI
frontend/src/app - API proxy
frontend/src/app/api/v1/[...path]/route.ts
API Workflows
- FastAPI application
backend/app/main.py - Authentication
backend/app/api/v1/auth.py - Engagement workflows
backend/app/api/v1/engagements.py - Planning workflows
backend/app/api/v1/planning.py - Approvals
backend/app/api/v1/approvals.py - Document workflows
backend/app/api/v1/documents.py - Change intelligence
backend/app/api/v1/intelligence.py - Supervisor chat
backend/app/api/v1/supervisor.py
AI and Knowledge
- Agent runtime
backend/app/agents/adk_runtime.py - PLAN agent
backend/app/agents/plan_agent.py - KNOW agent
backend/app/agents/know_agent.py - MOVE agent
backend/app/agents/move_agent.py - DELIVER agent
backend/app/agents/deliver_agent.py - Document ingestion
backend/app/knowledge/ingestion.py - Knowledge vectors
backend/app/knowledge/vector_store.py - Groq inference
backend/app/ai/groq_service.py
Platform Services
- Privacy guardrail
backend/app/privacy - Relational database
backend/app/db/database.py - Domain records
backend/app/models/engagement.py
Other components
- Workspace user
- Groq API
Connections 21
- Workspace user → Workspace UI: uses
- Workspace UI → API proxy: requests API
- API proxy → FastAPI application: forwards requests
- FastAPI application → Relational database: initializes
backend/app/main.py - FastAPI application → KNOW agent: optional seed ingestion
backend/app/main.py - FastAPI application → Authentication: registers routes
- FastAPI application → Engagement workflows: registers routes
- FastAPI application → Planning workflows: registers routes
- FastAPI application → Approvals: registers routes
- FastAPI application → Document workflows: registers routes
- FastAPI application → Change intelligence: registers routes
- FastAPI application → Supervisor chat: registers routes
- Authentication → Relational database: queries users
backend/app/api/v1/auth.py - Authentication → Domain records: uses user model
backend/app/api/v1/auth.py - KNOW agent → Document ingestion: processes documents
- Document ingestion → Privacy guardrail: anonymizes text
backend/app/knowledge/ingestion.py - KNOW agent → Knowledge vectors: searches knowledge
- PLAN agent → KNOW agent: grounds plans
- Groq inference → Groq API: requests completions
backend/app/ai/groq_service.py - PLAN agent → Privacy guardrail: sanitizes output
backend/app/agents/plan_agent.py - FastAPI application → Agent runtime: configures runtime