๐ค OMNI AI
Omni-Agentic Intelligent Automation System
OMNI AI is a Streamlit-based multi-agent intelligent automation platform designed to demonstrate how a central AI Orchestrator can communicate with and route requests to specialized AI agents.
The system supports both Demo Mode and Open AI or Grok API Mode, allowing users to test the complete agentic workflow without an API key and then connect the application to Open or Grok AI when an OPENAI_API_KEY or XAI_API_KEY is available.
๐ Key Features
๐ง AI Orchestrator
The central master agent analyzes the user's request and selects the appropriate specialist agent.
๐ค 10 AI Agents
- ๐ง AI Orchestrator
- โฐ Daily Reminder Agent
- โค๏ธ Health & Wellness Agent
- ๐ Calendar & Schedule Agent
- ๐ Learning & Education Agent
- ๐ Productivity & Task Agent
- ๐ฐ Finance & Expense Agent
- ๐ Information & Communication Agent
- ๐ค Robotics Agent
- ๐ Drones & Autonomous Systems Agent
๐ Agentic Workflow
OMNI AI demonstrates the following workflow:
USER
โ
โผ
โโโโโโโโโโโโโโโโโโโ
โ Streamlit UI โ
โโโโโโโโโโฌโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโ
โ AI ORCHESTRATOR โ
โ Master Agent โ
โโโโโโโโโโฌโโโโโโโโโ
โ
โโโโโโโโโโโโโผโโโโโโโโโโโโ
โ โ โ
โผ โผ โผ
Reminder Calendar Learning
Agent Agent Agent
โ โ โ
โโโโโโโโโโโโโผโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโผโโโโโโโโโโโโ
โผ โผ โผ
Tasks Finance Wellness
Agent Agent Agent
โ โ โ
โโโโโโโโโโโโโผโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโผโโโโโโโโโโโโ
โผ โผ
Robotics Drones
Agent Agent
โ
โผ
โโโโโโโโโโโโโโโโโโโ
โ Demo Engine / โ
โ OpenAI/Grok API โ
โโโโโโโโโโฌโโโโโโโโโ
โ
โผ
Structured Result
๐ฎ Demo Mode
Demo Mode does not require an API key.
It allows users to demonstrate the agentic architecture locally.
Example:
User:
Create a robotics project using ESP32 and a camera.
โ
AI Orchestrator
โ
๐ค Robotics Agent
โ
Demo Robotics Workflow
โ
Structured Response
Another example:
User:
Remind me about my AI class tomorrow at 9 AM.
โ
๐ง AI Orchestrator
โ
โฐ Daily Reminder Agent
โ
Reminder Workflow
โ
Notification
๐ Open AI or Grok API Mode
Grok API Mode connects OMNI AI to the xAI API.
The application sends the user's request together with the selected specialist agent to Grok.
Example:
User Request
โ
Agent Detection
โ
Selected Specialist Agent
โ
Open AI or Grok API
โ
AI Response
โ
Streamlit
The application uses the xAI Chat Completions endpoint and the configured Grok model.
๐ฌ OMNI AI Chatbot
The chatbot provides a natural-language interface for communicating with the agents.
Example requests:
Create a task for learning Python tomorrow at 6 PM.
Schedule a meeting tomorrow at 10 AM.
Help me design an ESP32 robotics project.
Create a study plan for Artificial Intelligence.
Help me organize my monthly expenses.
Design a drone navigation system using GPS and IMU.
The orchestrator identifies keywords and routes the request to the corresponding specialist.
๐ Agent Detection
OMNI AI currently uses lightweight keyword-based routing.
Examples:
| User Request Contains | Selected Agent |
|---|---|
| reminder, alarm, deadline | โฐ Daily Reminder Agent |
| health, wellness, exercise | โค๏ธ Health & Wellness Agent |
| meeting, calendar, schedule | ๐ Calendar Agent |
| learning, study, Python, exam | ๐ Learning Agent |
| task, todo, productivity | ๐ Task Agent |
| expense, finance, budget | ๐ฐ Finance Agent |
| email, message, report | ๐ Communication Agent |
| robot, Arduino, ESP32, sensor | ๐ค Robotics Agent |
| drone, UAV, navigation | ๐ Drones Agent |
If no specialist keyword is detected:
๐ง AI Orchestrator
is selected.
โฐ Reminder & Notification System
OMNI AI includes a basic notification engine for scheduled items.
Supported notification categories include:
- Reminders
- Meetings
- Tasks
- Learning activities
- Wellness activities
- Expenses/payment reminders
- Communications
- Robotics projects
- Drone missions
The application can periodically refresh using:
streamlit_autorefresh
When an item becomes due, OMNI AI can display:
- Streamlit toast notification
- In-app warning
- Browser notification when browser permissions allow it
๐ Calendar & Meetings
The Calendar Agent allows users to create:
- Meetings
- Classes
- Appointments
- Events
- Project Reviews
Each event can contain:
- Title
- Date
- Time
- Duration
- Location/platform
- Participants
- Event type
- Notification setting
๐ Learning Agent
The Learning Agent allows users to create learning activities.
Information includes:
- Subject/course
- Learning goal
- Study date
- Study time
- Notification
Example:
Subject:
Generative AI
Goal:
Learn prompt engineering and LLM application development.
Date:
2026-10-05
Time:
18:00
๐ Productivity & Task Agent
The Task Agent supports:
- Task creation
- Due dates
- Due times
- Priority
- Completion tracking
- Notifications
- Task deletion
Priority levels:
High
Medium
Low
โค๏ธ Wellness Agent
The Wellness Agent can manage activities such as:
- Exercise
- Walking
- Hydration
- Meditation
- Appointments
- Other wellness activities
๐ฐ Finance Agent
The Finance Agent provides basic expense organization.
Supported information:
- Expense/payment description
- Amount
- Category
- Payment date
- Payment time
- Notification
Categories include:
Food
Transport
Education
Utilities
Shopping
Bills
Other
The dashboard calculates the total expenses stored during the current application session.
๐ Communication Agent
The Communication Agent can create:
- Emails
- Announcements
- Reports
- Messages
- Notices
Users can provide:
Recipient
Subject
Content
Schedule Date
Schedule Time
OMNI AI generates a basic structured communication and stores it in the current session.
๐ค Robotics Agent
The Robotics Agent supports project planning for robotics and embedded systems.
Controllers
Examples include:
- Arduino Uno
- Arduino Mega
- Arduino Nano
- ESP32
- ESP8266
- Raspberry Pi
- Raspberry Pi Pico
- STM32
- PLC
- Jetson Nano
- NVIDIA Jetson Orin
- BeagleBone
Sensors
Examples:
- Ultrasonic
- IR
- PIR
- Camera
- IMU
- GPS
- LiDAR
- Temperature
- Humidity
- Gas Sensor
- RFID
- Load Cell
Actuators
Examples:
- DC Motor
- Servo Motor
- Stepper Motor
- Relay
- Solenoid
- Pneumatic Actuator
- Hydraulic Actuator
- Linear Actuator
Communication
Examples:
- Wi-Fi
- Bluetooth
- BLE
- LoRa
- CAN
- UART
- I2C
- SPI
- Ethernet
- MQTT
- Modbus
๐ Drones & Autonomous Systems Agent
The Drone Agent supports planning for autonomous platforms.
Platforms
- Quadcopter
- Hexacopter
- Octocopter
- Fixed Wing UAV
- VTOL UAV
- UGV
- Autonomous Vehicle
Controllers
- Pixhawk
- ArduPilot
- PX4
- Raspberry Pi
- Jetson
- ESP32
- Custom Flight Controller
Sensors
- RGB Camera
- Depth Camera
- Thermal Camera
- LiDAR
- GPS
- IMU
- Ultrasonic
- Radar
- Computer Vision Camera
Navigation
- GPS
- GPS + IMU
- Visual Navigation
- LiDAR Navigation
- SLAM
- Manual
- Custom
๐พ Data Architecture
The current version intentionally has:
No Database Dependency
Application data is stored in:
st.session_state
Therefore, data is primarily session-based.
The application does not require:
- MySQL
- PostgreSQL
- SQLite
- MongoDB
- Firebase
This makes the project simple to deploy and demonstrate.
๐ Suggested Project Structure
OMNI-AI/
โ
โโโ Omniapp1.py
โโโ README.md
โโโ requirements.txt
โโโ .streamlit/
โโโ secrets.toml
๐ฆ requirements.txt
Create a file named:
requirements.txt
with:
streamlit
requests
streamlit-autorefresh
๐ Streamlit Secrets
For Grok API Mode, configure the API key using Streamlit Secrets.
Create:
.streamlit/secrets.toml
and add:
XAI_API_KEY = "YOUR_XAI_API_KEY"
Do not publish a real API key inside GitHub source code.
For Streamlit Cloud, add the key through:
App
โ Settings
โ Secrets
โถ๏ธ Run Locally
Install Python and open a terminal in the project directory.
Install dependencies:
pip install -r requirements.txt
Run the application:
streamlit run Omniapp1.py
The application will open in the browser.
๐ Streamlit Community Cloud Deployment
Step 1 โ Create GitHub Repository
Create a repository, for example:
omni-ai
Step 2 โ Upload Files
Upload:
Omniapp1.py
requirements.txt
README.md
Step 3 โ Open Streamlit Cloud
Go to:
https://share.streamlit.io/
Step 4 โ Deploy
Select:
New app
Select your GitHub repository and Python file:
Omniapp1.py
Then deploy.
Step 5 โ Configure API Key
After deployment:
App Settings
โ Secrets
Add:
XAI_API_KEY = "YOUR_XAI_API_KEY"
Save the secret and restart the application.
๐งช Recommended Demo Presentation
For a live demonstration, use the following sequence.
Demo 1 โ Orchestration
Enter:
I need to learn Python and create a study schedule.
Expected routing:
๐ง AI Orchestrator
โ
๐ Learning & Education Agent
Demo 2 โ Reminder
Enter:
Remind me about my AI workshop tomorrow at 9 AM.
Expected routing:
๐ง AI Orchestrator
โ
โฐ Daily Reminder Agent
Demo 3 โ Robotics
Enter:
Design an ESP32 robot using an ultrasonic sensor and DC motor.
Expected routing:
๐ง AI Orchestrator
โ
๐ค Robotics Agent
Demo 4 โ Drone
Enter:
Help me design a GPS and IMU based autonomous drone system.
Expected routing:
๐ง AI Orchestrator
โ
๐ Drones & Autonomous Systems Agent
Demo 5 โ Finance
Enter:
Help me organize my monthly expenses and budget.
Expected routing:
๐ง AI Orchestrator
โ
๐ฐ Finance & Expense Agent
๐๏ธ Technology Stack
| Technology | Purpose |
|---|---|
| Python | Application logic |
| Streamlit | Web interface |
| xAI Grok API | AI reasoning |
| Streamlit Session State | Temporary application data |
| Requests | API communication |
| Streamlit Autorefresh | Notification checking |
| GitHub | Source-code hosting |
| Streamlit Cloud | Deployment |
๐ฎ Future Development
The architecture can be extended with:
- n8n workflow automation
- WhatsApp integration
- Email automation
- Google Calendar integration
- Persistent database
- Vector database/RAG
- Local LLMs
- Ollama
- LM Studio
- GPT4All
- Voice interface
- Document processing
- Computer vision
- IoT device control
- ESP32 integration
- Raspberry Pi integration
- Robotics control
- Drone telemetry
- MQTT
- REST APIs
- Multi-agent tool calling
- Autonomous workflow execution
A future architecture could become:
OMNI AI
โ
AI ORCHESTRATOR
โ
โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโ
โ โ โ
Agents Tools Knowledge
โ โ โ
โผ โผ โผ
Grok API n8n RAG
โ โ โ
โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโ
โ
External Services
โ
โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโ
โผ โผ โผ
WhatsApp Email IoT/Robotics
โ ๏ธ Important Security Note
Never hard-code a production API key directly into:
Omniapp1.py
Never commit:
secrets.toml
containing a real API key to a public GitHub repository.
Use Streamlit Secrets or environment variables.
If an API key has already been exposed publicly, revoke/rotate it through the API provider before continuing.
๐ข Project Status
OMNI AI
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Streamlit UI โ
10-Agent Architecture โ
AI Orchestrator โ
Demo Mode โ
Grok API Mode โ
Chatbot Architecture โ
Reminder System โ
Calendar โ
Learning โ
Tasks โ
Wellness โ
Finance โ
Communication โ
Robotics โ
Drone Systems โ
Database Dependency โ
๐ค OMNI AI
Omni-Agentic Intelligent Automation System
Multi-Agent AI โข Intelligent Automation โข Productivity โข Learning โข Wellness โข Communication โข Finance โข Robotics โข Autonomous Systems
Built with:
Python + Streamlit + Open AI or Grok API
Designed and Developed by Engr. Aqsa Zehra and Engr. Bilal Mehmood
