Inspiration
The idea is to create an agent that acts as a "secondary brain," capable of filtering out the irrelevant and highlighting the essential. Instead of the user having to manually review every email or meeting, the agent becomes a productivity curator, organizing, prioritizing, and anticipating needs.
It draws inspiration from:
- The concept of "Deep Work" for freeing up time for genuine focus.
- Human executive assistants: individuals who filter schedules and communications so that a leader can focus on what matters.
- Simplicity and clarity, avoiding unnecessary noise.
Solution Overview
FocusFlow was born as an agent for the specific need to reduce stress for our attention, and for that, here are the main parts of the agent to meet this goal:
- Manage emails: Read and send emails (Gmail and Outlook)
- Manage calendar: Create events and meetings
- Automatically prioritize: Sort by urgency without intervention
- Optimize costs: Use appropriate models based on priority
- Filter spam: Eliminate noise without spending AI resources
- Ensure security in critical actions: Requires human approval
- Contextual responses: Each level has an appropriate tone and approach
Flow
This is the current flow (how the agent works):
User submits request
↓
Conditional Branch analyzes keywords
↓
Is it SPAM? → Direct routing (filtered)
Does it contain URGENT words? → High Priority → Human Approval
Is it about CALENDAR? → High Priority → Human Approval
↓
AI Router intelligently classifies
↓
Route to appropriate model (High/Normal/Low)
↓
Performs actions with tools
↓
If critical → Human Approval
↓
Response to user
Key Features
The main features built for this agent are:
1. Multi-Level Prioritization System
a) Conditional Branch (Deterministic Filter - Free and Fast):
- Automatically filters spam
- Detects urgent keywords (URGENT, EMERGENCY, ASAP)
- Identifies calendar requests
- Redirects the rest to the AI Router
b) AI Router (Intelligent Classification):
- Analyzes the complete context of each request
- Classifies into 4 levels: Default, High, Normal, Low
- Uses Claude Haiku 4.5 (cost-effective and fast)
2. Specialized Priority Models
- High Priority: GPT-4o (temp 0.5) - Maximum capacity for emergencies
- Normal Priority: Balanced model (temp 0.7) - Standard daily workload
- Low Priority: Claude Haiku (temp 0.7) - Cost-effective for info/FYIs
3. Integrated Tools
All the Models have access to:
- Gmail Tool - Sending emails
- Outlook Read Message - Reading emails
- Google Calendar - Creating events
- Create Outlook Event - Meetings in Outlook
4. Human Approval for Security
- Human validation for critical, high-priority actions
- Differentiated paths (Approved/Denied)
- Prevents the execution of irreversible actions without supervision
Technologies Used
For this agent, I just use Aria and its feature "Text to AI", including different tools for the agent (Google Email and Outlook) to use in the different parts.
Target Users
The main users for this agent are:
- Corporate professionals who need to handle a large volume of emails, meetings, and simultaneous tasks.
- Entrepreneurs and freelancers who need to organize deliveries, coordinate meetings, and maintain fluid communication.
- And users focused on personal well-being who want to avoid overload and maintain a balance between work and rest.
Built With
- ai
- airia


Log in or sign up for Devpost to join the conversation.