3 views

ag-ui-protocol/ag-ui

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

TypeScript★ 20,113+1,445 that day#8 on trending

Analyzed November 18, 2026 at 3416b86 (main) with jscpd v5 in 5.5s. Code duplication went from 3.16% on Nov 15 to 3.11% on Nov 18.

D47/100
Project health933,909 lines of code (L)
Duplication25
16.8% 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.5%
Complexity52
47.8%

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.11%duplicated code · 8,579 of 275,541 lines
647clones in code
1,163code files of 4,481 scanned
30.53%duplicated over all files · 14,490 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%
typescript28978,1921261,9822.53%
java945,2936857310.83%
python14068,088537021.03%
kotlin469,965415775.79%
dart219,578314284.47%
tsx6110,077243953.92%
javascript204,050173368.3%
go339,406151861.98%
ruby95,178152384.6%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
json470224,0436,646209,47493.5%
typescript1,354409,0135,030119,77929.28%
python696264,5121,06715,0645.7%
csharp40867,78054010,66115.73%
swift28150,1682352,9625.9%
java14311,0341341,29111.7%
go10924,3421221,3595.58%
markdown23034,3421141,7064.97%
dart7429,4641041,2204.14%
kotlin17234,1111011,4674.3%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Nov 18, 2026#820,113 (+1,445)4,4811,222,22314,49030.53%3.11%D 473416b86
Nov 17, 2026#119,311 (+791)4,4481,215,01014,44830.67%3.16%D 4779530a2
Nov 16, 2026#218,086 (+355)4,4401,214,56614,44830.68%3.16%D 472330368
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.