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:
    python activity_food_agent.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.1.1.tar.gz (6.5 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.1.1-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: food_ai-0.1.1.tar.gz
  • Upload date:
  • Size: 6.5 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.1.1.tar.gz
Algorithm Hash digest
SHA256 d3e1b5ba357f406af243e9e0efb510394f3eaab97880f67acf73eb7def1ed2f3
MD5 69233a39e7dbdfcb656e6db1bf04d30e
BLAKE2b-256 df12c1e9c2e56564a0a7968df4392f2db3f8c20e2604bd6cff3a771a4a99283b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: food_ai-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.7 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 700adcdc70b39ee7f036f7ce301ddcdaced0bc002a82e442824ee340780b2ac5
MD5 f653cc70e88891e130ace5601b0e6ca8
BLAKE2b-256 d5d5c244d73d1f6bfcaf7d5fe28376f659d567d19a8e1016500e2caea8974469

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