Arize observability metadata recommends nonexistent npm package arize-phoenix
[email protected] exposes arize-phoenix as the package for the Arize observability adapter and ships a fallback warning recommending:
npm install arize-phoenix
The references are in:
src/praisonai-ts/src/observability/types.ts, inOBSERVABILITY_TOOLS.arize.packagesrc/praisonai-ts/src/observability/adapters/index.ts, in thecreateArizeAdaptercatch block
The same values ship in the 1.7.3 npm tarball (dist/observability/types.js and dist/observability/adapters/index.js:186).
arize-phoenix currently returns 404 from npm. It is the Python/PyPI project name; Arize's JavaScript packages instead use the @arizeai scope.
Reproduction:
npm view arize-phoenix
# npm ERR! 404 Not Found
npm view @arizeai/openinference-core version
# resolves successfully
Runtime note: in a clean extracted [email protected] package, createObservabilityAdapter("arize") loads the bundled external/arize.js, which imports only the internal memory adapter. The fallback warning is therefore not emitted in the normal path:
arize_adapter=arize
arize_warning=
So this issue is about stale/misleading package metadata and an effectively dead fallback message, not a demonstrated dependency-installation or security path.
Suggested fix:
- Replace
OBSERVABILITY_TOOLS.arize.packagewith the intended@arizeaipackage(s), or omit it if there is no single canonical dependency. - Remove or update the
npm install arize-phoenixwarning. - Add a test ensuring advertised npm packages resolve and fallback hints match the adapter's actual dependencies.
👋 Thanks for opening this issue, @shmulc8!
A maintainer will review this shortly. In the meantime:
- Make sure you've included steps to reproduce (for bugs)
- Check existing issues for duplicates
- Review the documentation for related guides
Bug and enhancement reports are auto-triaged with Claude. Questions and other issues: a maintainer can comment @claude to trigger analysis.
Routing: Agent-callable tools → PraisonAI-Tools; lifecycle plugins (tracing/hooks/guardrails) → PraisonAI-Plugins. TypeScript/JavaScript SDK fixes land in src/praisonai-ts/ in this repo.
Claude finished @shmulc8's task —— View job • claude/issue-4620-20260902-0749 • [Create PR ➔](https://github.com/MervinPraison/PraisonAI/compare/main...claude/issue-4620-20260902-0749?quick_pull=1&title=Issue%20%234620%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%234620%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)
Fixed Arize observability package metadata
- [x] Read the affected files
- [x] Fix package reference in types.ts (
arize-phoenix→@arizeai/openinference-core) - [x] Fix fallback warning in adapters/index.ts
- [x] Commit, push, create PR
PR: https://github.com/MervinPraison/PraisonAI/pull/4642
Summary
arize-phoenix is the PyPI name and returns 404 on npm. Arize's JS packages use the @arizeai scope. Replaced the stale metadata and fallback warning with @arizeai/openinference-core:
src/praisonai-ts/src/observability/types.ts—OBSERVABILITY_TOOLS.arize.packagesrc/praisonai-ts/src/observability/adapters/index.ts—createArizeAdaptercatch-block warning
Kept the fix minimal (2 lines). Did not add a resolver test to avoid scope creep / network dependency in CI, per the lightweight-package guidance.
Note: Could not run npm run build locally — dev dependencies (rimraf) aren't installed in this environment. The changes are simple string-literal edits with no type impact.
• Branch
Claude finished @shmulc8's task —— View job • claude/issue-4620-20260902-0751 • [Create PR ➔](https://github.com/MervinPraison/PraisonAI/compare/main...claude/issue-4620-20260902-0751?quick_pull=1&title=Issue%20%234620%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%234620%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)
Fixed Arize observability package metadata
- [x] Read the affected files
- [x] Fix package reference in
types.ts(arize-phoenix→@arizeai/openinference-core) - [x] Fix fallback warning in
adapters/index.ts - [x] Commit, push, create PR
PR: https://github.com/MervinPraison/PraisonAI/pull/4645
Summary
arize-phoenix is the PyPI/Python project name and returns 404 on npm. Arize's JavaScript packages use the @arizeai scope. Replaced the stale metadata and the (effectively dead) fallback warning with @arizeai/openinference-core:
src/praisonai-ts/src/observability/types.ts—OBSERVABILITY_TOOLS.arize.packagesrc/praisonai-ts/src/observability/adapters/index.ts—createArizeAdaptercatch-block warning
Kept the fix minimal (2 string-literal edits, no type impact). Did not add a resolver test to avoid CI network dependency / scope creep, per the lightweight-package guidance.
Note: Did not run npm run build locally as the changes are simple string-literal edits with no type impact; CI on the PR will validate the build.