Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

openai-agents-python architecture

Changing src/agents/_debug.py in openai-agents-python reaches 250 modules. 28 files call it directly. Snapshot 64fbde5.

The first file to open in openai-agents-python is src/agents/_debug.py. A change there reaches 250 of 317 modules.

This lead file reaches 79% of the graph. The median published proof reaches 60%.

agents/_debug.py250 · 28 fan-in
agents/logger.py248 · 58 fan-in
tracing/spans.py244 · 12 fan-in
tracing/traces.py244 · 10 fan-in
tracing/processor_interface.py244 · 5 fan-in

Median 60%. Thick bar is blast share. Thin bar is fan-in.

Download the finding

Project: openai-agents-python · Score: 67.4/100 (Moderate technical debt) · 317 modules · 1,939 edges · Python · 50 of 54 · Language score median 78.9

Cycles
100+
Duplicate authorities
0
God modules
42
Layer violations
0
arc impact src/agents/_debug.py

Under 3 minutes to first arc impact on a TypeScript monorepo (internal runs).

README badge

ArcSight architecture proof for openai-agents-python
[![ArcSight architecture proof for openai-agents-python](https://arcsight.ai/badge/proof/openai-agents-python/)](https://arcsight.ai/repositories/openai-agents-python/)

Blast radius paths

Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.

openai-agents-python · 64fbde5

RankFileFan-inBlastShare
1src/agents/_debug.py

concentrates too many responsibilities, shared utility hub

2825079%
2src/agents/logger.py

concentrates too many responsibilities, shared utility hub

5824878%
3src/agents/tracing/spans.py

sits on a dependency cycle

1224477%
4src/agents/tracing/traces.py1024477%
5src/agents/tracing/processor_interface.py524477%
All ranked files
RankFileFan-inBlastShare
6src/agents/tracing/util.py524477%
7src/agents/tracing/scope.py424477%
8src/agents/tracing/setup.py424477%
9src/agents/tracing/processors.py224477%
10src/agents/sandbox/types.py3224377%
11src/agents/sandbox/errors.py5323975%

Highest fan-in

src/agents/exceptions.pyfan-in 79

Circular dependencies

This snapshot records 100+ dependency cycles.

Nearby proofs

Snapshot notes

In openai openai-agents-python, a change that begins in agents _debug.py keeps traveling until it reaches agents logger.py, with tracing spans.py as the third file on that walk and the ROOT_CLUSTER group as the group around them, snapshot mark fcffdebace.

tracing traces.py is worth opening beside agents _debug.py because tracing processor_interface.py still participates when tracing traces.py moves, and tracing util.py stays in view for openai openai-agents-python, snapshot mark fcffdebace.

Review tracing scope.py only after agents logger.py and tracing setup.py are both on the table, since the link from tracing processors.py back to tracing spans.py belongs to openai openai-agents-python under snapshot mark fcffdebace.

sandbox types.py and sandbox errors.py are later stops, and a reviewer who has already seen agents _debug.py should still look at agents exceptions.py before treating the ROOT_CLUSTER group as understood for openai openai-agents-python, snapshot mark fcffdebace.

agents items.py closes the file list after agents _debug.py and agents logger.py, which keeps the openai openai-agents-python note tied to snapshot mark fcffdebace, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • ROOT_CLUSTER (299 modules)

CLI workflow

Impact, then scan, fix, finish, and watch.

  • arc impact <file>See what a change breaks
  • arc scanFind issues
  • arc fixApply fixes
  • arc finishResolve remaining
  • arc watchKeep clean

More commands (explain, guard…) →

FAQ

Which file should change first in openai openai-agents-python: agents _debug.py?
Start with agents _debug.py, because the rest of the openai openai-agents-python walk leaves from that file and agents logger.py is the next file in the same review. Commit fcffdebace records it.
What else is on the openai openai-agents-python walk besides agents _debug.py and tracing spans.py?
tracing spans.py and tracing traces.py stay on the walk with tracing processor_interface.py, which are different files from agents _debug.py inside the ROOT_CLUSTER group for openai openai-agents-python. Commit fcffdebace records it.
How should a reviewer use tracing util.py in the openai openai-agents-python snapshot?
Keep tracing util.py, tracing scope.py, and tracing setup.py open together, then check tracing processors.py before merging the openai openai-agents-python change. Commit fcffdebace records it.
Where does the openai openai-agents-python review stop after sandbox types.py?
Stop after sandbox types.py, sandbox errors.py, and agents exceptions.py have been compared with agents _debug.py, leaving the ROOT_CLUSTER group until those openai openai-agents-python files are clear. Commit fcffdebace records it.

Run ArcSight on your repo

Install locally, then run arc impact on the file you plan to change — before merge.

npx arcsight init
arc impact <path>
Install ArcSight →

Embed this report

Use this iframe to show the architecture badge on your site.

<iframe src="https://arcsight.ai/embed/openai-agents-python/" width="320" height="180" frameborder="0"></iframe>

Explore

Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo