Skip to main content

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 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

  1. Install the agent:
    pip install food-ai
    
  2. Configure config.yaml with your preferred apps and meals.
  3. Run the agent (background):
    python activity_food_agent.py
    
  4. 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

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

food_ai-0.2.0.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

food_ai-0.2.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file food_ai-0.2.0.tar.gz.

File metadata

  • Download URL: food_ai-0.2.0.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for food_ai-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b5ed76000795f92a499e8788b12b18f6ec1f3bf658804e71a3352ec65e7c2fad
MD5 d039082242fd554f4142a7e6c9c5afa0
BLAKE2b-256 5bb4d28c719645d15f180c45a3812b72362a098ab77ac6f139448f71cb1511ae

See more details on using hashes here.

File details

Details for the file food_ai-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: food_ai-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for food_ai-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 535f31cf60bb0a00a92706b42fad44f92a42e175e15483c63cf529bcc13cfab3
MD5 16f6e70cc99993a1fc62d34a0ade96c0
BLAKE2b-256 4cb64dcd8f028e6f03ff2c7ecad332ec0957501f17b2dd08c66f6b0c5a062199

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page