Skip to main content

agentforge-evidently

Evidently AI agent metrics + drift hook for the AgentForge framework.

Implements the StepHook + FinishHook contracts and registers as agentforge.hooks:evidently.

Installation

pip install agentforge-evidently[evidently]

Usage

from agentforge import Agent
from agentforge_evidently import EvidentlyHook

hook = EvidentlyHook.from_config(
    project="my-agent",
    report_dir="./evidently-reports",
)

agent = Agent(
    model="bedrock:...",
    on_step=hook,
    on_finish=hook,
)

What gets reported

Per-step records (one row per Step):

Column Source
run_id bound RunContext.run_id
iteration step.iteration
kind step.kind
cost_usd step.cost_usd
tokens_in / tokens_out step.tokens_in / step.tokens_out
duration_ms step.duration_ms
has_tool_call step.tool_call is not None

At finish, the hook appends a run-level row and writes an Evidently Report JSON to <report_dir>/<run_id>.json. The report carries the buffered rows + RunResult.finish_reason + RunResult.cost_usd so an offline analysis pipeline can compute drift / quality metrics across runs.

License

Apache-2.0.

Metadata

Release files for agentforge-evidently 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentforge-evidently 0.4.0
File Size Uploaded Provenance Actions
agentforge_evidently-0.4.0.tar.gz 9.9 kB With provenance Details for agentforge_evidently-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agentforge-evidently 0.4.0
File Interpreter ABI Platform Actions
agentforge_evidently-0.4.0-py3-none-any.whl Python 3 none any Details for agentforge_evidently-0.4.0-py3-none-any.whl

Total release size: 20.2 kB

Release files / agentforge_evidently-0.4.0.tar.gz

Download URL agentforge_evidently-0.4.0.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b936422504b10e03137235c712e17555204debf0fc9394aa7a35d75e166280fd
BLAKE2b-256 checksum
How to use checksums
e891d5b831b0f4ed6c3b90b0004bf70eadb00c7d70eac5b1485b8b94a0befad0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.

Transparency log

Release files / agentforge_evidently-0.4.0-py3-none-any.whl

Download URL agentforge_evidently-0.4.0-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d420109da489d66b41cba451796ff610d6a40d7178dc3f9cacb29930ada8dbef
BLAKE2b-256 checksum
How to use checksums
affe63fab1cc70b293b2dbdc89c63cd4541367078e9da85a1722f4ec4bc139ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.

Transparency log

Security for agentforge-evidently 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for agentforge_evidently-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page