Catalog PyPI
PACKAGE EXPLORERView in registry

agentforge-evidently

PyPI

Evidently AI metrics + drift hook for AgentForge

agentaidriftevidentlyobservability
Versions collected1
Direct dependencies2From release 0.4.0
Last observed20 Oct, 21:57 UTC

README

Version 0.4.0 documentation

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):

ColumnSource
run_idbound RunContext.run_id
iterationstep.iteration
kindstep.kind
cost_usdstep.cost_usd
tokens_in / tokens_outstep.tokens_in / step.tokens_out
duration_msstep.duration_ms
has_tool_callstep.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.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.4.024 Jun 20262

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
scaffoldic/agentforge-py

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:57 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:e410b826f6f95a865f8eb1508fb504a391d222db00ce27150e8a18dfc3e46c39