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.

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.0.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.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: food_ai-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 3c43fa135f7ca9a2425fe79bdb5950636b45a47266c5f290ac45337398f13359
MD5 1048e9006795a757180b31cac19dc21b
BLAKE2b-256 f673a146d19186654e9a95658a1eb3fb97ed2351b28ac30662c91d20c45236c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: food_ai-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc474c22eecbe25913959aa982a22279c6c8aa3a1fa3ae79ce7dfe15fa425c60
MD5 7959e30582e65adb6d1d530246fa6c25
BLAKE2b-256 602caca7ddaa8a235012317ab930f0e3a66f349e4f024e80b4fbe39ff14d939b

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