Skip to main content

An operational monitoring library for Crew AI applications.

Project description

Agent Watch

Agent Watch is an operational monitoring library for Crew AI applications. It captures essential metrics such as token counts, costs, execution time, resource utilization, carbon emissions, and detailed logs. Additionally, it offers both textual and visual representations of the collected data via a Command-Line Interface (CLI) or a Streamlit dashboard.

Features

  1. Token Counting

    • Total tokens
    • Input tokens
    • Output tokens
  2. Cost Calculation

    • Based on the token usage and model pricing
  3. Performance Metrics

    • Time taken for each call
    • CPU and memory consumption
  4. Environmental Impact

    • Estimated CO₂ emissions
  5. Logging

    • Comprehensive logs of all operations
  6. Visualization

    • CLI summaries
    • Streamlit dashboard for detailed insights

Installation

You can install Agent Watch via pip. If not published to PyPI, install it locally:

pip install .

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

agent_watch-0.1.2.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

agent_watch-0.1.2-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agent_watch-0.1.2.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for agent_watch-0.1.2.tar.gz
Algorithm Hash digest
SHA256 770290e72291d2990070d015062bedde3dae839ac33a971063d8286c42cddb51
MD5 4c7f1f019e7132a0f599459236c07e4a
BLAKE2b-256 99ad37a8a36eb962dc727d70ddd840842c211a004381091cfedaffbeed7500aa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_watch-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for agent_watch-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2c93c611fdeee0e7cb524cd5d55dd123e88493bbcd3f2c8a16ea376279871dab
MD5 764f82c0a1dfe22e22d4344fdc818c52
BLAKE2b-256 b68645b851277823d34335b5faa194422999c44923d6976afebf6aa867fae30e

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