Skip to main content

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 INTENSE work state or a FUN relaxed 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
  1. Configure config.yaml with your preferred apps and meals.
  2. Run the agent (background):
    python activity_food_agent.py
    
  3. 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

Metadata

Release files for food-ai 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for food-ai 0.2.2
File Size Uploaded Provenance Actions
food_ai-0.2.2.tar.gz 11.2 kB Without provenance Details for food_ai-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for food-ai 0.2.2
File Interpreter ABI Platform Actions
food_ai-0.2.2-py3-none-any.whl Python 3 none any Details for food_ai-0.2.2-py3-none-any.whl

Total release size: 22.8 kB

Release files / food_ai-0.2.2.tar.gz

Download URL food_ai-0.2.2.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ab612b750d09aea1c379d88bb1b898939de41da0ada4f625642e2c227c42a862
BLAKE2b-256 checksum
How to use checksums
0cd9632d62e8a7619c2a2807ce30ddfa859e5aa5a7aea6ffbb8dc3de13b6a93b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / food_ai-0.2.2-py3-none-any.whl

Download URL food_ai-0.2.2-py3-none-any.whl
Size 11.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b32a98d22a212722d07599d84d9a83b02cf99f818cbedfbe90b9f5a2e2b3e676
BLAKE2b-256 checksum
How to use checksums
54d32350f9a1d3d9593baa81d758d7c53d2a9df63d33e74aaf9da68a84c4330c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Security for food-ai 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page