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.1.tar.gz (11.1 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.1-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: food_ai-0.2.1.tar.gz
  • Upload date:
  • Size: 11.1 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.1.tar.gz
Algorithm Hash digest
SHA256 00a21d10993f16c0c24e2ecd0bab072627d520b18457e471766a4a6c70b752ee
MD5 5c0a008c80dd35ce74a7ca2272af541f
BLAKE2b-256 d70129be19b7b254748b1edbda99d9b199b3579dbfe09041451aa8b11b71366b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: food_ai-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 11.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a5fe35e4039798c3707786cec14b7aed9f6846bc228d889457bab7f674eac6a2
MD5 3237dc738fca418431249b1b931b6d3e
BLAKE2b-256 30cb3e57ecacc91e12591d92e33b68504949fda62b7fd33c87a8fbdc1c910dc5

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