How hamna-munir/07-ai-meeting-agent works
AI Meeting Agent is a local Streamlit app that turns a natural-language request into a human-approved Google Calendar booking. The main flow collects missing details, extracts and validates meeting constraints, finds genuinely free slots, presents choices, asks for explicit confirmation, then creates the event. The graph preserves the parser, scheduling, safety, and calendar-integration layers. Relationships are based on the excerpts, SOURCE INDEX references, and README; unsampled implementation details are not inferred.
Main entry points: agent.py Meeting agent · meeting_parser.py Request parser · calendar_service.py Calendar service · app.py Streamlit UI
Components 12
User interface
- Streamlit UI
src/app.py
Agent orchestration
- Meeting agent
src/agent.py - Approval guards
src/safety.py - Runtime config
src/config.py
Request understanding
- Request parser
src/meeting_parser.py - Prompt templates
src/prompts.py
Calendar scheduling
- Slot orchestration
src/scheduler.py - Availability tools
src/calendar_tools.py - Calendar service
src/calendar_service.py
Other components
- User
- LLM service
- Google Calendar
Connections 12
- User → Streamlit UI: submits request
README.md - Streamlit UI → Meeting agent: forwards messages
src/app.py - Meeting agent → Request parser: extracts details
src/agent.py - Request parser → Prompt templates: uses extraction prompt
src/meeting_parser.py - Request parser → LLM service: requests extraction
src/meeting_parser.py - Meeting agent → Prompt templates: formats responses
src/agent.py - Meeting agent → Slot orchestration: requests slot options
src/agent.py - Slot orchestration → Availability tools: finds available slots
src/scheduler.py - Availability tools → Calendar service: reads calendar events
src/calendar_tools.py - Meeting agent → Approval guards: checks approval
src/agent.py - Meeting agent → Calendar service: creates approved event
src/agent.py - Calendar service → Google Calendar: reads and writes events
src/calendar_service.py