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.1.2.tar.gz (6.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.1.2-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: food_ai-0.1.2.tar.gz
  • Upload date:
  • Size: 6.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.1.2.tar.gz
Algorithm Hash digest
SHA256 2c6588190340ecf0056bdddb315a960fe648c0e523576b20a2728ea95db2923f
MD5 d27f3953137b76f3ecc2381425ad76a7
BLAKE2b-256 7892c96cb67c70a6bc035b6a91d1cd6c23e2738cce993e0fe4cffcab7924f5d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: food_ai-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.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.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a30ef2c6ef33486d39ee0cfbf4477c3bfc3b801a538e7bfb9df7d754339b2249
MD5 4b5d4d2fa5263e893a975a0a8f4c3ce3
BLAKE2b-256 07d67380d75eae1586a5749b70aca5aaf2c3d262b14f0e2c958892589340df8a

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