Skip to main content

CLI launcher for Cylestio Perimeter with default OpenAI and Anthropic configs

Project description

Agent Inspector

Debug, trace, and evaluate agent risk and behavior in real-time.

Agent Inspector gives you instant visibility into your AI agents with ready-to-run profiles for OpenAI and Anthropic. Start a local proxy and live tracing dashboard with a single command.

Ideal for development-time evaluation and for running alongside your test suite (including CI).

Installation

Install via pipx (recommended):

pipx install agent-inspector

Or via pip:

pip install agent-inspector

Or run directly with uvx:

uvx agent-inspector

Quick Start

Launch Agent Inspector for your provider:

# For OpenAI
agent-inspector openai

# For Anthropic
agent-inspector anthropic

This starts:

  • A proxy server on port 4000 (configurable)
  • A live trace dashboard on port 7100 (configurable)

Point your AI application to http://localhost:4000 and start monitoring immediately.

Usage

Basic Commands

# Launch with default settings
agent-inspector openai

# Override ports
agent-inspector openai --port 8000 --trace-port 9090

# View bundled configurations
agent-inspector --show-configs

# Get help
agent-inspector --help

Configuration

Agent Inspector comes with preconfigured profiles for OpenAI and Anthropic. Each profile includes:

  • Local proxy settings
  • Streaming trace interceptor for real-time analytics
  • Sensible logging defaults

Features

Live Tracing & Debugging

  • Streaming live trace of sessions, tool executions, and messages for instant debugging
  • Real-time token usage and duration tracking
  • Tool usage monitoring
  • Health badges and status indicators

Risk Analytics

Evaluate agent risk across four categories:

  • Resource Management: Token usage, session duration, and tool call patterns
  • Environment & Supply Chain: Model versions and tool adoption
  • Behavioral Stability: Consistency and predictability scoring
  • Privacy & PII: Automated detection of sensitive data exposure

PII Detection (Microsoft Presidio)

  • Scan prompts, messages, and tool inputs for sensitive data
  • Confidence scoring on each finding
  • Session-level and aggregate reporting

Session Intelligence

  • Step-by-step timeline of model calls and tool executions
  • Behavioral pattern analysis and outlier detection
  • Deep drill-downs for rapid debugging and triage

Dependencies

Agent Inspector is built on:

License

Apache License - see LICENSE for details

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

agent_inspector-1.0.1.tar.gz (49.7 kB view details)

Uploaded Source

Built Distribution

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

agent_inspector-1.0.1-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file agent_inspector-1.0.1.tar.gz.

File metadata

  • Download URL: agent_inspector-1.0.1.tar.gz
  • Upload date:
  • Size: 49.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for agent_inspector-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6bd0694c27767fd3ed828877ca362db5f8b546d3b6c7e817dad7d39cb623a50c
MD5 021dc19fcdaa65513021cf0babde2ae6
BLAKE2b-256 6d2102cb417f30a06510bbbd2b9140f51f7d814bb35df95618b64610389630f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for agent_inspector-1.0.1.tar.gz:

Publisher: publish.yml on cylestio/agent-inspector

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

File details

Details for the file agent_inspector-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for agent_inspector-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b1b82dc8a9717d96d9ce07f7bbf089ed679618a16e052cc164e8dec531622e59
MD5 2557152ef1f46c72b14bf547e03ed055
BLAKE2b-256 9bf3702cc40499e88a174fd64174f44ba524bfa1d385adc71bcb71c0ca786c4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for agent_inspector-1.0.1-py3-none-any.whl:

Publisher: publish.yml on cylestio/agent-inspector

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