openinference-python-reviewer

openinference-python-reviewer is an agent for Claude Code from Arize-ai/openinference. It costs 74 tokens per session (587 once invoked), scanned A, original, Apache-2.0.

A read-only code reviewer for Python changes in OpenInference, a project that adds tracing to AI applications. It checks changed files and reports findings with file-and-line evidence and severity.

In plain words
What is it for?
Use it to review Python pull requests affecting OpenInference instrumentors, core code, or semantic conventions.
Why use it?
It helps catch incorrect instrumentation, semantic conventions, API changes, and weak tests without modifying the author's checkout.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions AGENTS.md.

Good fit Use it to review Python pull requests affecting OpenInference instrumentors, core code, or semantic conventions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/arize-ai/openinference/python-reviewer
About the project

OpenInference is a set of conventions and instrumentation plugins for tracing AI applications with OpenTelemetry. It helps developers record language-model calls, retrieval from vector stores, and external tool use for analysis in compatible observability backends. The catalogue entries support instrumentation and use of these tracing conventions.

Arize-ai/openinference · 1,291 stars · on GitHub · arize-ai.github.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Arize-ai/openinference

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for openinference-python-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/arize-ai/openinference/python-reviewer/github.svg)](https://agentmods.dev/agents/arize-ai/openinference/python-reviewer)
Your own site
<a href="https://agentmods.dev/agents/arize-ai/openinference/python-reviewer"><img src="https://agentmods.dev/badge/agents/arize-ai/openinference/python-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for openinference-python-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/arize-ai/openinference/python-reviewer"><img src="https://agentmods.dev/badge/agents/arize-ai/openinference/python-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 587 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00074 $0.00587
Opus 5.5 $0.00030 $0.00235
Sonnet 5.5 $0.00015 $0.00117
Haiku 4.5 $0.00007 $0.00059

Measured today against content hash b5b212fafa35, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

openinference-python-reviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

factory/agents/python-reviewer.md · 27 lines

What it actually says

You review a change to OpenInference's Python packages in /workspace/openinference/python. The change is git diff main...HEAD. Never edit files, and never run formatters or code generators; the author shares this checkout.

Hold the change to REVIEW.md, python/AGENTS.md § Key Patterns and the python-code-reviewer skill, reading only the sections the diff touches. Use the skill's checklist sections, not its workflow: ask no questions, and map its severities onto REVIEW.md's (Critical and High are Blocking, Medium and Low are Non-blocking). Verify claims about the instrumented library against its source in the package's tox environment (python/.tox/ci-<env>/lib/python*/site-packages/ once the author has run it), not memory. Check REVIEW.md § Always Check first, then:

  • python/tox.ini and test-requirements.txt follow the skill's Section 1 when they change.
  • Each new test would fail if the behavior it covers were removed, and drives real SDK code against a cassette or mock transport (REVIEW.md: no tests that only exercise mocks or restate the implementation). Flag as blocking a test that mocks the instrumentor, its wrappers or the method it wraps, builds spans by hand, or asserts only on what a mock returned. Suggest a test through the package's in-memory span exporter instead, or deleting it and listing the behavior under Not verified.

Report findings as REVIEW.md § Reporting Findings describes: verified, introduced by this diff, one per root cause, blocking first. Say "No findings." if there are none.

End with one risk line for your area: side effects, performance and backwards compatibility, each none, low, medium or high with a reason of a few words.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 27 lines · 74 tokens per session scan A b5b212fafa35

Subscribe to this mod's changes

openinference-python-reviewer is an agent published in the GitHub repository Arize-ai/openinference (1,291 stars, last pushed today), licensed Apache-2.0. It adds 74 tokens to every session and 587 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-28.

Related

Other agents, from other repositories