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.2.3.tar.gz (9.2 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.2.3-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentforge_phoenix-0.2.3.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agentforge_phoenix-0.2.3.tar.gz
Algorithm Hash digest
SHA256 b28c52dc0d470fa8f5882ec2d10af94442f423068a8912fbbd16721711e31b08
MD5 a0f1e527131a4f736c48881367e54719
BLAKE2b-256 e830e778439a385b974930c4a019531d16f22f5840fdeef9b64341120ff9a4fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agentforge_phoenix-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agentforge_phoenix-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 aae38484d898d7ee2597d1c11c13cc4c803bc74f96077087db23f4b9cb6f208c
MD5 dce7030d2ae6bfc4a3f49b987d999ff8
BLAKE2b-256 aae45822523aa049858112a26df5d80eae64b3af9c899a881db6ac2af4352634

See more details on using hashes here.

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