ag-ui-protocol/ag-ui

AG-UI: the Agent-User Interaction Protocol. Bring Agents into Frontend Applications.

TypeScript★ 17,433+9 that day#7 on trending

Analyzed November 15, 2026 at 2330368 (main) with jscpd v5 in 4.1s.

D47/100
Project health926,811 lines of code (L)
Duplication25
16.9% in typescript, python, csharp, swift, kotlin, dart, go, cpp, java, tsx, ruby, javascript, rust, bash, c-header, cmake, batch, powershell, groovy, docker, prolog
Dead code96
0.4%
Complexity52
47.7%

The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.

3.16%duplicated code · 8,631 of 272,838 lines
654clones in code
1,148code files of 4,440 scanned
30.68%duplicated over all files · 14,448 clones

The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code, and 28 generated files: sdks/community/dart/example/linux/flutter/generated_plugin_registrant.cc, sdks/community/dart/example/linux/flutter/generated_plugin_registrant.h, sdks/community/dart/example/macos/Flutter/GeneratedPluginRegistrant.swift, sdks/community/dart/example/windows/flutter/generated_plugin_registrant.cc, sdks/community/dart/example/windows/flutter/generated_plugin_registrant.h, sdks/community/swift/Sources/AGUIAgentSDK/AgUiAgentConfig.swift, sdks/dotnet/src/AGUI.Abstractions/Generated/AGUIConstants.g.cs, sdks/dotnet/src/AGUI.Abstractions/Generated/AGUIEvents.g.cs, sdks/dotnet/src/AGUI.Abstractions/Generated/AGUIEventTypes.g.cs, sdks/dotnet/src/AGUI.Abstractions/Generated/AGUIMessages.g.cs, sdks/dotnet/src/AGUI.Abstractions/Generated/AGUIRoles.g.cs, sdks/dotnet/src/AGUI.Abstractions/Generated/AGUITypes.g.cs, sdks/dotnet/src/AGUI.Abstractions/Generated/BaseEvent.g.cs, sdks/dotnet/src/AGUI.Protobuf/Generated/ProtoEventMapper.g.cs, sdks/dotnet/src/AGUI.Protobuf/Generated/ProtoMessageMapper.g.cs, sdks/dotnet/src/AGUI.Protobuf/Generated/WireGuards.g.cs, sdks/python/ag_ui/_generated/__init__.py, sdks/python/ag_ui/_generated/models.py, sdks/python/ag_ui/_generated/version.py, sdks/typescript/packages/core/src/generated/schemas.ts and 8 more.

Largest clones in the code

7 more
Largest clones over all files, tests and data included
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
swift27248,9562302,9035.93%
typescript27475,4901332,0342.69%
java945,2936857310.83%
python14068,088537021.03%
kotlin469,965415775.79%
dart219,578314284.47%
tsx6110,077243953.92%
javascript204,049173368.3%
go339,406151861.98%
ruby95,178152384.6%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
json468223,9776,646209,47493.52%
typescript1,322401,9064,989119,30929.69%
python695264,4811,06715,0645.7%
csharp40867,78054010,66115.73%
swift28150,1682352,9625.9%
java14311,0341341,29111.7%
go10924,3421221,3595.58%
markdown23034,1861131,6924.95%
dart7429,4641041,2204.14%
kotlin17234,1111011,4674.3%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Nov 15, 2026#717,433 (+9)4,4401,214,56614,44830.68%3.16%D 472330368

Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.