AG-UI: a map of its code, package by package.

AG-UI is the Agent-User Interaction Protocol: its TypeScript SDK, integrations and apps. Wingbox built the graph of the repository, with no model, and the map stacks its TypeScript and JavaScript code by package: 499 files and 837 dependencies on 24 planes, the packages the others depend on lower. Click a file to see what a change to it reaches.

AG-UI on 24 package planes, one file selected with its blast radius
Open the live mapRead the reportag-ui-protocol/ag-uiDrag to turn the planes, scroll to zoom, click a file for its blast radius.
The report

What Wingbox wrote on the whole repository

REPORT.md as the tool wrote it, without its own guesses of architecture layers.

Wingbox report: ag-ui

Generated on 2026-11-16 by wingbox 0.2.6 from the code graph of this project. Open map.html in this folder for the interactive map.

Key findings

  • A change to sdks/typescript/packages/core/src/index.ts reaches 544 of 2,917 modules (19%) within 2 hops; 341 modules depend on it directly.
  • 1 boundary violation between layers that are set by folders. 73 more candidates rest on a guessed layer and are not counted.

Summary

Modules2,917
Dependencies between modules6,502
Functions, constants, classes and types15,530
Languagests 1,365, py 726, cs 426, java 139, go 108, tsx 66, js 37, rs 26, rb 24
Boundary violations1

Most depended-on modules

A change in one of these files reaches the most code (test files are left out). "Within 2 hops" counts the modules that depend on it directly or through one other module.

FileDirect dependentsWithin 2 hops
sdks/typescript/packages/core/src/index.ts341544
sdks/typescript/packages/client/src/index.ts187287
sdks/dotnet/src/AGUI.Abstractions/Generated/AGUIEvents.g.cs105173
sdks/dotnet/src/AGUI.Abstractions/Generated/AGUITypes.g.cs99196
sdks/dotnet/src/AGUI.Abstractions/Generated/BaseEvent.g.cs99162
sdks/dotnet/src/AGUI.Abstractions/Serialization/AGUIJsonSerializerContext.cs5893
integrations/aws-strands/typescript/src/agent.ts50109
sdks/community/java/ag-ui/core/src/main/java/com/agui/community/core/event/Event.java5066
sdks/typescript/packages/client/src/agent/index.ts47235
sdks/typescript/packages/core/src/schemas.ts46122
sdks/dotnet/src/AGUI.Abstractions/Generated/AGUIMessages.g.cs44167
sdks/dotnet/src/AGUI.Client/AGUIChatClient.cs4457
sdks/community/java/ag-ui/core/src/main/java/com/agui/community/core/event/EventType.java3656
sdks/community/go/pkg/core/types/message_helpers.go3454
sdks/community/go/pkg/core/types/metadata.go3454

Where to start reading

Files that nothing else depends on and that pull in the most modules:

  • sdks/community/go/example/server/cmd/main.go, depends on 38 modules
  • integrations/claude-managed-agents/dotnet/src/AGUI.ClaudeManagedAgents/ManagedAgentsAgent.cs, depends on 22 modules
  • integrations/crew-ai/python/examples/agents/dojo.py, depends on 18 modules
  • integrations/antigravity/python/examples/server/__init__.py, depends on 16 modules
  • integrations/aws-strands/python/examples/server/api/__init__.py, depends on 15 modules
  • integrations/claude-managed-agents/dotnet/src/AGUI.ClaudeManagedAgents/ManagedAgentsRecovery.cs, depends on 14 modules
  • integrations/langgraph/python/examples/agents/dojo.py, depends on 14 modules
  • integrations/community/genkit/go/genkit/genkit.go, depends on 13 modules
  • integrations/mastra/typescript/examples/src/mastra/index.ts, depends on 13 modules
  • sdks/dotnet/src/AGUI.Server/ChatResponseUpdateAGUIExtensions.cs, depends on 12 modules

Next steps

Check what a change will reach before you make it:

wingbox impact sdks/typescript/packages/core/src/index.ts

Rebuild after the code changes with wingbox build. This report and the map are rewritten on every build.

Limits

The graph comes from static parsing. Dependencies created at run time (dependency injection, reflection, generated code) are not visible here.

Method

How this was made

  • Wingbox 0.2.6 from PyPI on the whole repository at commit 344d21f, 2026-11-16: one command, wingbox build .
  • The map leaves out the 2,418 test files and puts every other file on the plane of its package, the folder of its nearest package manifest. The planes are stacked by the dependencies between packages.
  • Checked against the code. TypeScript and JavaScript dependencies compared with an import resolver written apart from Wingbox: 3,150 in the graph, 2,515 found by the resolver, 2,515 in both. The more in the graph are imports of a workspace package by its name (@ag-ui/...) whose package.json points to build output that is not in the repository; Wingbox resolves them to the package source. The map shows the TypeScript and JavaScript part, the part checked; the Python, Go, Java, Kotlin and .NET parts are in the report, not on the map.

Run it on any repository: pipx install wingbox && wingbox build . · Wingbox on GitHub (MIT)