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.0.tar.gz (44.8 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.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agent_inspector-1.0.0.tar.gz
  • Upload date:
  • Size: 44.8 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.0.tar.gz
Algorithm Hash digest
SHA256 9e94aa973e6368755121f8d5a92e70d4f092cfbddcaa718bd84f422a7ab006d2
MD5 7f9a2c0993d3992239ee92b4e2ca5fea
BLAKE2b-256 924d85b6e6fd46c2c37298ae095e2dad498ad778305b95e9556c2d9f7767308d

See more details on using hashes here.

Provenance

The following attestation bundles were made for agent_inspector-1.0.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agent_inspector-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 080f3f6450da6a61caa24254bd5eace8857c41a22e5154e465d4b66c9c554c1b
MD5 4b846286ce1408d62211289a74503910
BLAKE2b-256 40256337b2a64729ea24a206a7b57ea083f474d4770176d4cf27c51b71f3d4d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for agent_inspector-1.0.0-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