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.0.tar.gz (5.6 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.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agent_watch-0.1.0.tar.gz
  • Upload date:
  • Size: 5.6 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.0.tar.gz
Algorithm Hash digest
SHA256 ffe77d74875757199f8c20555ec9a7add3a9b1ed3138846eb3068627935c207b
MD5 31b817731ce7565d8aea3021e901372d
BLAKE2b-256 55fb833f6855bd870186ec6af7a847c41fbe462be2cdde81cf65ebcae575be51

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_watch-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 77c5b105126ddd7d807f95aa7de4c0bb4e540fee2d886c9ec239be791991f9e4
MD5 92b59654379f4893ab800904dffaabfd
BLAKE2b-256 9f06c8bca6ad1720248246fe12d90d2e46288955cd9658c50dcd4c1fff80fff7

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