An AI agent that monitors computer activity and autonomously decides what food to order.
Project description
Food Agent Activity Monitoring
An AI agent that monitors computer activity and autonomously (or via confirmation) decides what food to order from Swiggy based on your work state.
Features
- Cross-platform Activity Sensing: Detects focused windows (Windows, macOS, Linux).
- State Classification: Uses a rolling window to determine if you are in an
INTENSEwork state or aFUNrelaxed state. - Dynamic Scoring: Different weights for nutrition, convenience, indulgence, and value based on state.
- SQLite Logging: Keeps track of all detected states and ordering decisions.
- Swiggy Placeholder: Ready for MCP integration.
Setup
One-Click Install & Launch (Windows PowerShell):
iwr https://raw.githubusercontent.com/That-Tech-Geek/activity-food-agent/master/install.ps1 | iex
Manual Installation:
pip install food-ai
food-ai-launch
- Configure
config.yamlwith your preferred apps and meals. - Run the agent (background):
python activity_food_agent.py - Launch the Dashboard:
streamlit run dashboard.py
Development
activity_food_agent.py: Main logic.config.yaml: Configuration and meal database.agent_log.db: SQLite database for logs.
Maintainer
- Sambit Mishra (sambit1912@gmail.com)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file food_ai-0.2.2.tar.gz.
File metadata
- Download URL: food_ai-0.2.2.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab612b750d09aea1c379d88bb1b898939de41da0ada4f625642e2c227c42a862
|
|
| MD5 |
957555e7e082f1d42b0f7399f6efc291
|
|
| BLAKE2b-256 |
0cd9632d62e8a7619c2a2807ce30ddfa859e5aa5a7aea6ffbb8dc3de13b6a93b
|
File details
Details for the file food_ai-0.2.2-py3-none-any.whl.
File metadata
- Download URL: food_ai-0.2.2-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b32a98d22a212722d07599d84d9a83b02cf99f818cbedfbe90b9f5a2e2b3e676
|
|
| MD5 |
90baea44ea52179d3e4f782c30ee2954
|
|
| BLAKE2b-256 |
54d32350f9a1d3d9593baa81d758d7c53d2a9df63d33e74aaf9da68a84c4330c
|