A comprehensive AI-powered workplace automation platform leveraging multiple specialized agents orchestrated through LangGraph, with intelligent memory, caching, and governance systems.
OpsPilot is an intelligent workplace assistant that automates email triage, meeting management, task prioritization, follow-up tracking, wellness monitoring, and report generation using a multi-agent architecture with ReAct pattern implementation.
Key Features:
- π€ 6 Specialized Agents - Email, Meeting, Tasks, Follow-up, Wellness, Reporting
- π LangGraph Orchestration - Dynamic agent routing and workflow management
- π§ Vector Memory - Semantic search and learning from past interactions
- π‘οΈ Governance Layer - Policy enforcement, approvals, audit logging
- π Real-time Analytics - Wellness scoring, productivity metrics, cost tracking
- π¨ Modern UI - Next.js dashboard with real-time updates
OpsPilot/
βββ agents/ # Specialized AI agents (ReAct pattern)
βββ orchestration/ # LangGraph workflows & routing
βββ backend/ # FastAPI server & API routes
βββ frontend/ # Next.js web application
βββ memory/ # Vector store & episodic memory
βββ governance/ # Policy, audit & cost management
βββ repos/ # Data access layer
βββ config/ # Configuration management
βββ tests/ # Test suites
βββ chroma_db/ # Vector database persistence
βββ episodes/ # Recorded agent episodes
- Python 3.10+
- Node.js 18+
- Git
cd backend
pip install -r requirements.txt
python app.pyBackend runs on http://localhost:8002
cd frontend
npm install
npm run devFrontend runs on http://localhost:3000
| Agent | Purpose | Key Functions |
|---|---|---|
| Email Agent | Email triage & summarization | summarize(), extract_actions(), draft_reply() |
| Meeting Agent | Meeting management & MoM | generate_mom(), extract_decisions() |
| Tasks Agent | Task prioritization & tracking | prioritize(), extract_actions() |
| Follow-up Agent | Follow-up tracking & reminders | check_followups(), create_nudge() |
| Wellness Agent | Wellness scoring & recommendations | calculate_score(), suggest_breaks() |
| Reporting Agent | EOD/Weekly reports | generate_eod_report(), generate_weekly_report() |
- Framework: FastAPI
- Orchestration: LangGraph
- LLM: Azure OpenAI / Claude
- Memory: ChromaDB + Custom Vector Store
- Database: JSON (mock data)
- Cache: LLM Response Cache
- Framework: Next.js + React
- Styling: Tailwind CSS
- Language: TypeScript
- UI Components: Shadcn/ui
- Governance: Policy enforcement, Rate limiting
- Audit: Complete audit trail logging
- Monitoring: LLM usage & cost tracking
User Request
β
[Super-Graph] β Intent Classification
β
[Specialized Agent] β Processing (ReAct pattern)
β
[Memory Layer] β Vector store + Episodic memory
β
[Governance] β Approval gates + Audit logging
β
API Response β UI Update
- Workflow State: LangGraph
- Agent Memory: Episode storage (ChromaDB)
- Vector Memory: Semantic search & retrieval
- API State: Backend persistence
- Approvals: Sensitive actions require human approval
- Audit Trail: Complete operation logging
- Cost Management: LLM token & cost tracking
- Rate Limiting: API and LLM rate limits
- Policy Engine: Configurable governance rules
- ARCHITECTURE.md - Full system design & diagrams
- CODEBASE_INDEX.md - Complete module reference
- frontend/README.md - Frontend setup guide
- backend/README.md - Backend setup guide
# Run backend tests
cd backend
python -m pytest
# Run frontend tests
cd frontend
npm testConfiguration is centralized in config/settings.py:
SETTINGS = {
"env": "dev", # dev, staging, prod
"data": { ... }, # Data paths
"governance": { ... }, # Policy settings
"agents": { ... } # Agent configuration
}Use .env.example as a template for your environment setup.
- Monitor inbox
- Summarize & extract actions
- Draft replies
- Governance approval (if needed)
- Store in memory for future reference
- Schedule meeting
- Generate minutes (MoM)
- Extract decisions
- Track follow-ups
- Archive for future reference
- Receive task request
- Prioritize against workload
- Assign resources
- Track progress
- Report completion
Copy .env.example to .env and configure:
# LLM Configuration
AZURE_OPENAI_KEY=...
AZURE_OPENAI_ENDPOINT=...
AZURE_OPENAI_MODEL=...
# Data Configuration
DATA_DIR=./data/mock_data_json
# Server Configuration
API_PORT=8002
API_HOST=0.0.0.0
# Governance
ENABLE_APPROVALS=true
COST_LIMIT_USD=100Track agent performance and costs:
python print_graph.py # View workflow graph
python show_tasks.py # Display active tasks- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
For questions or issues:
- π Check CODEBASE_INDEX.md
- π Open an issue
- π¬ Start a discussion
Last Updated: February 5, 2026
Version: 1.0.0


