logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

CognitoLogix

An open-source platform for observing and analyzing complex artificial intelligence workflows. It aids in tracking operational metrics, managing data artifacts, and refining instructional inputs. This system achieves seamless connectivity with diverse models and underlying service providers, much like how keystroke logging captures user input covertly for later study, but applied here to system telemetry for performance insight.

Author

CognitoLogix logo

Arize-ai

Other

Quick Info

GitHub GitHub Stars 7159
NPM Weekly Downloads 0
Tools 1
Last Updated 2026-02-19

Tags

aiarizemonitoringarize aiai phoenixlogging arize

Introduction

This utility offers comprehensive observability tools tailored specifically for artificial intelligence applications. Its core function involves recording system events during inference and data handling, akin to how keylogging records user interactions for later analysis. This aids in debugging, performance benchmarking, and systematic iterative improvement within AI deployment pipelines.

Setup

Installation of the main Phoenix component is achievable using standard package managers. Run the following command in your terminal environment to acquire the necessary libraries.

pip install arize-phoenix

Deployment options include local execution, notebook environments, containerized setups, or managed cloud instances accessible via the provided web portal. Phoenix container images are accessible through Docker Hub for orchestration environments.

Packages

The primary distribution is contained within the arize-phoenix package. However, decoupled Python and TypeScript modules exist for integration when the central platform is independently hosted. These specialized packages facilitate lightweight interactions with the core services.

Package Version & Docs Description
arize-phoenix-otel PyPI Version Docs Wraps OpenTelemetry basics with Phoenix-specific default settings.
arize-phoenix-client PyPI Version Docs A lightweight client library for interfacing with the Phoenix server's REST API.
arize-phoenix-evals PyPI Version Docs Provides utilities for assessing LLM application quality, including retrieval relevance.
@arizeai/phoenix-client NPM Version Docs Client interface designed for the Arize Phoenix service endpoints.
@arizeai/phoenix-evals NPM Version Docs TypeScript library for LLM evaluation procedures (currently in initial release).
@arizeai/phoenix-mcp NPM Version Docs Implements the Model Context Protocol server, offering unified access to Phoenix functions.

Usage

This system facilitates deep inspection across several key operational areas for AI systems. These areas include tracing execution paths, quantitative assessment, dataset versioning, experiment tracking, prompt optimization, and systematic prompt governance.

  • Tracing - Record runtime activity of LLM applications using OpenTelemetry compliant methods.
  • Evaluation - Employ other language models to objectively score application outputs and retrieval success rates.
  • Datasets - Establish immutable, versioned collections of data for controlled testing and refinement.
  • Experiments - Monitor and contrast performance when altering prompts, models, or data sources.
  • Playground- A sandbox for tuning prompts, comparing various models, and re-running captured trace data.
  • Prompt Management- Systematically manage prompt iterations using version control and rigorous experimental testing procedures.

Phoenix maintains independence from specific vendors and programming languages. Out-of-the-box integration is available for major frameworks such as LlamaIndex, LangChain, Haystack, DSPy, and smolagents. Supported model providers include OpenAI, Bedrock, MistralAI, VertexAI, LiteLLM, and Google GenAI. Further details on automatic instrumentation are found within the OpenInference repository.

Tracing Integrations

Phoenix leverages OpenTelemetry architecture, ensuring it remains adaptable across frameworks and languages. Refer to the OpenInference project for comprehensive integration examples.

Python Integrations | Integration | Package | Version Badge | |------------------|-----------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------| | OpenAI | openinference-instrumentation-openai | PyPI Version | | OpenAI Agents | openinference-instrumentation-openai-agents | PyPI Version | | LlamaIndex | openinference-instrumentation-llama-index | PyPI Version | | DSPy | openinference-instrumentation-dspy | PyPI Version | | AWS Bedrock | openinference-instrumentation-bedrock | PyPI Version | | LangChain | openinference-instrumentation-langchain | PyPI Version | | MistralAI | openinference-instrumentation-mistralai | PyPI Version | | Google GenAI | openinference-instrumentation-google-genai | PyPI Version | | Google ADK | openinference-instrumentation-google-adk | PyPI Version | | Guardrails | openinference-instrumentation-guardrails | PyPI Version | | VertexAI | openinference-instrumentation-vertexai | PyPI Version | | CrewAI | openinference-instrumentation-crewai | PyPI Version | | Haystack | openinference-instrumentation-haystack | PyPI Version | | LiteLLM | openinference-instrumentation-litellm | PyPI Version | | Groq | openinference-instrumentation-groq | PyPI Version | | Instructor | openinference-instrumentation-instructor | PyPI Version | | Anthropic | openinference-instrumentation-anthropic | PyPI Version | | Smolagents | openinference-instrumentation-smolagents | PyPI Version | | Agno | openinference-instrumentation-agno | PyPI Version | | MCP | openinference-instrumentation-mcp | PyPI Version | | Pydantic AI | openinference-instrumentation-pydantic-ai | PyPI Version | | Autogen AgentChat | openinference-instrumentation-autogen-agentchat | PyPI Version | | Portkey | openinference-instrumentation-portkey | PyPI Version |

Span Processors

Span processors are available to harmonize data formats originating from various observability libraries into a unified structure.

Package Description Version
openinference-instrumentation-openlit Converts OpenInference traces to conform with OpenLIT standards. PyPI Version
openinference-instrumentation-openllmetry Adapts OpenInference spans for consumption by OpenLLMetry (Traceloop). PyPI Version

JavaScript Integrations

Integration Package Version Badge
OpenAI @arizeai/openinference-instrumentation-openai NPM Version
LangChain.js @arizeai/openinference-instrumentation-langchain NPM Version
Vercel AI SDK @arizeai/openinference-vercel NPM Version
BeeAI @arizeai/openinference-instrumentation-beeai NPM Version
Mastra @arizeai/openinference-mastra NPM Version

Java Integrations

Integration Package Version Badge
LangChain4j openinference-instrumentation-langchain4j Maven Central
SpringAI openinference-instrumentation-springAI Maven Central

Platforms

Platform Description Docs
BeeAI Framework for AI agents incorporating native observability features. Integration Guide
Dify An open-source platform for developing LLM applications. Integration Guide
Envoy AI Gateway An AI Gateway built upon the Envoy Proxy infrastructure for managing AI traffic. Integration Guide
LangFlow A visual toolset utilized for constructing multi-agent systems and RAG architectures. Integration Guide
LiteLLM Proxy A proxy server designed to interface with various large language models uniformly. Integration Guide
  • Data Provenance Tracking
  • Telemetric Analysis in Distributed Systems
  • Human-Computer Interaction Dynamics
  • Covert Data Capture Methods
  • OpenTelemetry Instrumentation

Extra Details

This tool focuses intensely on providing detailed operational feedback, similar to how keyloggers study the granular sequence of input events. The platform allows tracking of dynamic elements like prompt versions and data splits, which is crucial for reproducible AI monitoring. Furthermore, the system supports data normalization via span processors, bridging compatibility gaps between different tracing formats like OpenLIT and OpenLLMetry.

Configuration

To establish the connection to a running Phoenix instance, users often need to specify the base URL and an authentication key. For instance, setting up the client using the CLI might follow this pattern, though specific flags are omitted here for generality:

# Example configuration command structure (conceptual)
# mcp install --baseUrl https://my-phoenix.com --apiKey your-secret-key

Security

While general logging mechanisms can be misused, like covert keylogging for sensitive data theft, this platform is engineered for authorized performance monitoring. It adheres to standards like OpenTelemetry for secure, auditable data transmission, ensuring integrity for performance evaluations rather than unauthorized surveillance.

Conclusion

This monitoring and logging framework provides necessary infrastructure for detailed insight into AI application execution and performance tuning. By recording and analyzing internal operational telemetry, developers gain systematic oversight, moving beyond simple output checking toward deep system diagnostics, improving overall reliability and quality in machine learning services.

See Also

`