Skip to main content

Arize Phoenix dashboard hook for AgentForge

Project description

agentforge-phoenix

Arize Phoenix dashboard hook for the AgentForge framework.

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

Installation

pip install agentforge-phoenix[phoenix]

Usage

from agentforge import Agent
from agentforge_phoenix import PhoenixHook

hook = PhoenixHook.from_config(
    endpoint="http://localhost:6006",
    project_name="my-agent",
)

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

Logged events

  • log_run — once per RunResult at finish, carrying run_id, finish_reason, cost_usd, tokens_in, tokens_out, duration_ms.
  • log_step — once per Step, carrying iteration, kind, duration_ms, cost_usd.
  • log_tool_call — once per step.tool_call, carrying the tool name + redacted argument shape.

Phoenix's OTel-compatible exporter can also receive agentforge-otel spans without this package; install this hook when you want explicit Phoenix project-namespaced logging (e.g. when you want every run in a single project view).

License

Apache-2.0.

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

agentforge_phoenix-0.4.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

agentforge_phoenix-0.4.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file agentforge_phoenix-0.4.0.tar.gz.

File metadata

  • Download URL: agentforge_phoenix-0.4.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for agentforge_phoenix-0.4.0.tar.gz
Algorithm Hash digest
SHA256 30735bf28620abed510763e459e6409f864f0616a41f5e0ecc57efbc83c2d2fc
MD5 cee59ee8c23a6f69edad83c0c32faaef
BLAKE2b-256 877f49bf89efeb0569840b49c25fadda46829d2338df0a47050c9e4e79349dea

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentforge_phoenix-0.4.0.tar.gz:

Publisher: release.yml on Scaffoldic/agentforge-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agentforge_phoenix-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agentforge_phoenix-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 497275ef648b1af7a0319e94f33d2a3d6aa1a2e4f0bfadd8fe44ac96028c0c4f
MD5 7e2c62d169a6676ea5a068424b3d874a
BLAKE2b-256 ffc63f69e0a1a7a0e79e5349e48e70c4d186e7635639daf9cd9054dbc0f74655

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentforge_phoenix-0.4.0-py3-none-any.whl:

Publisher: release.yml on Scaffoldic/agentforge-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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