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 perRunResultat finish, carryingrun_id,finish_reason,cost_usd,tokens_in,tokens_out,duration_ms.log_step— once perStep, carryingiteration,kind,duration_ms,cost_usd.log_tool_call— once perstep.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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentforge_phoenix-0.2.4.tar.gz.
File metadata
- Download URL: agentforge_phoenix-0.2.4.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
924a2ab96f0d92e2000930a8fca09cdb0872bf281a11613bc55d82634cf4eeef
|
|
| MD5 |
88f3d7f450041aa75ebfaaae6bcc0cab
|
|
| BLAKE2b-256 |
1ee8fe155d092eb7f1b7417e0e34a055794c3fdd150f63e5e84a01bf9b1f3260
|
File details
Details for the file agentforge_phoenix-0.2.4-py3-none-any.whl.
File metadata
- Download URL: agentforge_phoenix-0.2.4-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca48658c849f04af0dca2589a9e05811d0f478b8b6f14e4326f37b42d394a19f
|
|
| MD5 |
16e6087a0132136d4c0821aa610cd475
|
|
| BLAKE2b-256 |
ebfc878ff846553e0097f2fc2328f225ae0c28f21dbb3742a5b6ba5ce402fc2d
|