Observed since 20 Oct, 21:58 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
StatsD metrics emitter hook for AgentForge
StatsD metrics emitter for the AgentForge framework.
Implements the StepHook + FinishHook contracts on the
existing agentforge.hooks entry-point so installing the
package makes name: statsd available in
modules.observability config blocks.
pip install agentforge-statsd[statsd]
The [statsd] extra pulls in the statsd>=4.0 Python client.
Without the extra, the package is importable but the
production factory raises ModuleError with pip remediation.
from agentforge import Agent
from agentforge_statsd import StatsdHook
hook = StatsdHook.from_config(
host="statsd.internal",
port=8125,
prefix="agentforge.pr-reviewer",
)
agent = Agent(
model="bedrock:...",
on_step=hook,
on_finish=hook,
)
| Metric | Type | When |
|---|---|---|
<prefix>.step.<kind> | counter +1 | every step |
<prefix>.step.duration_ms | timing | every step with duration_ms > 0 |
<prefix>.tool.<name> | counter +1 | every step with tool_call |
<prefix>.run.finish.<reason> | counter +1 | on run finish |
<prefix>.run.duration_ms | timing | on run finish |
<prefix>.run.cost_usd | gauge | on run finish |
<prefix>.run.tokens_in | gauge | on run finish |
<prefix>.run.tokens_out | gauge | on run finish |
Apache-2.0.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.4.0 | 24 Jun 2026 | 2 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 21:58 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:e4bf2a16faa0660a4aa8d9e87633bd025e22653f29cc3b8ead6af06b456264cc