System Architecture

Overview Deployment Architecture API Reference Local Setup Security

High-Level Overview

Client Layer
Next.js Frontend
(Vercel)
API Gateway
FastAPI Backend
(Render)
Agent Core
LangGraph + Groq
(Orchestration)
PostgreSQL (Users)
ChromaDB (Vectors)

Email Agent

Capabilities:

  • • Summarizes threads
  • • Extracts action items
  • • Detects urgency
  • • Drafts responses

Output:

  • • Smart summaries
  • • Priority labels
  • • Calendar invites
  • • Task entries

Calendar Agent

Capabilities:

  • • Conflict detection
  • • Meeting optimization
  • • Smart scheduling
  • • Preparation briefs

Output:

  • • Schedule Blocks
  • • Focus time slots
  • • Meeting briefs
  • • Rescheduling options

Priority Agent

Capabilities:

  • • Cross-domain scoring
  • • Deadline ranking
  • • Resource allocation
  • • Decision tree analysis

Output:

  • • Unified matrix
  • • Task recommendations
  • • Focus suggestions
  • • Delegation tips

Social Agent

Capabilities:

  • • Sentiment analysis
  • • Trend detection
  • • Relationship mapping
  • • Content scoring

Output:

  • • Engagement insights
  • • Trending topics
  • • Network analytics
  • • Post ideas

Data Flow Example: Daily Briefing

1

System Initialization

Load user preferences, historical context, and previous state

2

Parallel Data Collection

All agents simultaneously gather data from their respective sources

3

Independent Analysis

Each agent processes data using specialized AI models and algorithms

4

Cross-Agent Communication

Agents share insights through the LangGraph state object

5

Priority Synthesis

Priority Agent consolidates all insights into unified recommendations

6

User Presentation

Frontend displays intelligent briefing with actionable insights