How eswarsainathreddy/daily-minutes works
Daily Minutes is a personalized daily-briefing application that gathers news, email, calendar, and weather data, enriches it with AI and user preferences, then presents cached results in a Streamlit dashboard. The README describes an agentic path using MCP tools, RAG context, and LLM generation; the tree also shows separate refresh, feedback, and calendar/email branches. Some implementation files were not sampled, so edges for those branches rely on explicit README statements or SOURCE INDEX references rather than inspection of their internals.
Main entry points: streamlit_app.py Streamlit dashboard · background_refresh_service.py Background refresh · daily_brief_workflow.py Daily brief workflow · rag_service.py RAG service
Components 27
Presentation
- Streamlit dashboard
src/ui/streamlit_app.py - Brief views
src/ui/components/daily_brief.py - Calendar views
src/ui/components/calendar_components.py - Email views
src/ui/components/email_components.py
Intelligence
- Daily brief workflow
src/workflows/daily_brief_workflow.py - ReAct agent
src/agents/react_agent.py - News agent
src/agents/news_agent.py - Background refresh
src/services/background_refresh_service.py - Article analysis
src/services/article_analyzer.py - Ollama LLM
src/services/ollama_service.py - MCP tool server
src/services/mcp_server.py
Data sources
- News connectors
src/connectors - Calendar service
src/services/calendar_service.py - Calendar connectors
src/connectors/calendar - Email service
src/services/email_service.py - Email connectors
src/connectors/email - Weather service
src/services/weather_service.py
Memory and feedback
- RAG service
src/services/rag_service.py - Memory retrieval
src/memory/retrieval.py - Embedding service
src/memory/embedding_service.py - Vector store
src/memory/vector_store.py - Feedback collector
src/services/feedback_collector.py - Preference tracker
src/services/preference_tracker.py
Runtime and persistence
- SQLite manager
src/database/sqlite_manager.py - Configuration
src/core/config_manager.py - Domain models
src/core/models.py
Other components
- User
Connections 36
- User → Streamlit dashboard: uses
- Streamlit dashboard → Brief views: renders
src/ui/streamlit_app.py - Streamlit dashboard → Calendar views: renders
src/ui/streamlit_app.py - Streamlit dashboard → Email views: renders
src/ui/streamlit_app.py - Streamlit dashboard → Daily brief workflow: invokes
src/ui/streamlit_app.py - Streamlit dashboard → Background refresh: starts
src/ui/streamlit_app.py - Streamlit dashboard → SQLite manager: reads cache
src/ui/streamlit_app.py - Daily brief workflow → ReAct agent: uses
src/workflows/daily_brief_workflow.py - Daily brief workflow → Preference tracker: uses
src/workflows/daily_brief_workflow.py - Daily brief workflow → Feedback collector: uses
src/workflows/daily_brief_workflow.py - ReAct agent → MCP tool server: calls tools
src/agents/react_agent.py - ReAct agent → Ollama LLM: reasons with
src/agents/react_agent.py - News agent → News connectors: fetches from
src/agents/news_agent.py - News agent → RAG service: searches similar
- Background refresh → SQLite manager: logs refresh
src/services/background_refresh_service.py - Background refresh → Article analysis: analyzes articles
src/services/background_refresh_service.py - Background refresh → Calendar service: refreshes
src/services/background_refresh_service.py - Background refresh → Email service: refreshes
src/services/background_refresh_service.py - Background refresh → Weather service: refreshes
src/services/background_refresh_service.py - Article analysis → Ollama LLM: analyzes with
- MCP tool server → News connectors: registers tools
- News connectors → Ollama LLM: uses external APIs
- Calendar service → Calendar connectors: uses
src/services/calendar_service.py - Email service → Email connectors: uses
- RAG service → Ollama LLM: embeds with
src/services/rag_service.py - RAG service → Vector store: stores and searches
- Memory retrieval → Embedding service: generates vectors
src/memory/retrieval.py - Memory retrieval → Vector store: searches and stores
src/memory/retrieval.py - Feedback collector → Memory retrieval: uses memory
src/services/feedback_collector.py - Feedback collector → Preference tracker: updates preferences
src/services/feedback_collector.py - Preference tracker → Memory retrieval: uses memory
src/services/preference_tracker.py - Calendar views → Calendar service: requests data
src/ui/components/calendar_components.py - Calendar views → Domain models: formats
src/ui/components/calendar_components.py - Streamlit dashboard → RAG service: uses
src/ui/streamlit_app.py - Streamlit dashboard → Configuration: uses
src/ui/streamlit_app.py - Configuration → SQLite manager: persists settings
src/core/config_manager.py