CopilotKit/OpenBot
Open-source AI coworkers that each get a computer of their own: a browser, files and tools, with every action decided before it happens and recorded after. Bring any AG-UI agent.
The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.
Most complex files
- desktop/src-tauri/src/main.rs2426 cx
- desktop/src-tauri/src/local_eval.rs1247 cx
- desktop/src-tauri/src/stack.rs1144 cx
- extension/tests/recording.test.ts884 cx
- extension/src/background/recording.ts879 cx
- desktop/src/App.test.tsx871 cx
- server/tests/plugin-store.integration.test.ts658 cx
- server/tests/composio-adapter.test.ts655 cx
- desktop/src-tauri/src/acquire.rs534 cx
- shared/recorder-masking.ts493 cx
Dead code 0.61% unused · 123 findings
- extension/src/main-world/network-hook.tsunused-file
- extension/scripts/agent-traffic/record.tsunused-file
- server/scripts/test-network-guard.tsunused-file
- desktop/scripts/validate-telemetry.tsunused-file
- scripts/downloads-fakes.tsunused-file
- extension/scripts/store-package.tsunused-file
- shared/harness_contract.pyunused-file
- agent-strands/src/system_prompt.pyunused-file
- desktop/src-tauri/windows/installer-artwork.tsunused-file
- charts/openbot/files/wait-for-database.mjsunused-file
The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code, and 35 generated files: app/src/lib/api/generated/bots/bots.msw.ts, app/src/lib/api/generated/bots/bots.ts, app/src/lib/api/generated/bots/bots.zod.ts, app/src/lib/api/generated/model/bot.ts, app/src/lib/api/generated/model/botFields.ts, app/src/lib/api/generated/model/botForbiddenResponse.ts, app/src/lib/api/generated/model/botIsolationOffReason.ts, app/src/lib/api/generated/model/botKey.ts, app/src/lib/api/generated/model/botNotFoundResponse.ts, app/src/lib/api/generated/model/botPage.ts, app/src/lib/api/generated/model/botResponse.ts, app/src/lib/api/generated/model/botVisibility.ts, app/src/lib/api/generated/model/createBotHeaders.ts, app/src/lib/api/generated/model/createBotRequest.ts, app/src/lib/api/generated/model/cursorParameter.ts, app/src/lib/api/generated/model/deleteBotHeaders.ts, app/src/lib/api/generated/model/forbiddenResponse.ts, app/src/lib/api/generated/model/idempotencyConflictResponse.ts, app/src/lib/api/generated/model/idempotencyKeyParameter.ts, app/src/lib/api/generated/model/index.ts and 15 more.
Largest clones in the code
- 157 lines in 2 placestsx771 tokens
6export function ComputerPlaceholder(props: SVGProps<SVGSVGElement>) { 7 return ( 8 <svg 9 viewBox="0 0 1200 800" 10 preserveAspectRatio="xMidYMin slice" 11 fill="none" 12 aria-hidden="true" 13 focusable="false" 14 xmlns="http://www.w3.org/2000/svg" 15 {...props}First 10 of 157 lines.
- 15 lines in 2 placesrust420 tokens
8111assert_eq!(std::fs::read(&path).unwrap(), prior); 8112let log = fixture.log(); 8113assert!( 8114 log.contains("powershell\t-NoProfile -NonInteractive -Command"), 8115 "{log}" 8116); 8117assert!( 8118 !log.contains("taskkill\t") && !log.contains("netstat\t"), 8119 "{log}" 8120);First 10 of 15 lines.
- 18 lines in 4 placespython134 tokensagent-ag2/src/main.py:46–63agent-claude-sdk/src/main.py:44–61agent-langgraph-agui/src/main.py:334–351agent-microsoft/src/main.py:43–60
46stream = AGUIStream(agent) 47 48app = FastAPI() 49 50 51@app.middleware("http") 52async def refuse_without_the_server_token(request: Request, call_next): 53 if request.url.path != "/health": 54 expected = (os.environ.get("MANAGED_AGENT_TOKEN") or "").strip() 55 offered = (request.headers.get(TOKEN_HEADER) or "").strip()First 10 of 18 lines.
7 more
- 13 lines in 2 placesrust401 tokens
- 16 lines in 4 placespython133 tokens
- 28 lines in 3 placestypescript193 tokens
- 14 lines in 2 placesrust335 tokens
- 8 lines in 2 placesrust319 tokens
- 10 lines in 7 placesrust52 tokens
- 6 lines in 6 placesrust61 tokens
Largest clones over all files, tests and data included
- 4922 lines in 8 placesjsondata files15,391 tokensserver/drizzle/meta/0075_snapshot.json:6564–11485server/drizzle/meta/0076_snapshot.json:6570–11491server/drizzle/meta/0078_snapshot.json:6582–11503server/drizzle/meta/0079_snapshot.json:6589–11510server/drizzle/meta/0081_snapshot.json:6603–11524and 3 more
6564 "notNull": true 6565}, 6566"thread_id": { 6567 "name": "thread_id", 6568 "type": "text", 6569 "primaryKey": false, 6570 "notNull": true 6571}, 6572"focus": { 6573 "name": "focus",First 10 of 4922 lines.
- 522 lines in 32 placesjsondata files1,636 tokensserver/drizzle/meta/0033_snapshot.json:287–808server/drizzle/meta/0045_snapshot.json:287–808server/drizzle/meta/0046_snapshot.json:287–808server/drizzle/meta/0047_snapshot.json:287–808server/drizzle/meta/0048_snapshot.json:287–808and 27 more
287"indexes": { 288 "attachments_channel_idx": { 289 "name": "attachments_channel_idx", 290 "columns": [ 291 { 292 "expression": "channel_id", 293 "isExpression": false, 294 "asc": true, 295 "nulls": "last" 296 }First 10 of 522 lines.
- 1024 lines in 15 placesjsondata files3,330 tokensserver/drizzle/meta/0045_snapshot.json:794–1817server/drizzle/meta/0047_snapshot.json:794–1817server/drizzle/meta/0048_snapshot.json:794–1817server/drizzle/meta/0049_snapshot.json:794–1817server/drizzle/meta/0050_snapshot.json:794–1817and 10 more
794 "primaryKey": false, 795 "notNull": false 796}, 797"summary_at": { 798 "name": "summary_at", 799 "type": "timestamp with time zone", 800 "primaryKey": false, 801 "notNull": false 802}, 803"last_message": {First 10 of 1024 lines.
- 7131 lines in 3 placesjsondata files22,382 tokens
- 6971 lines in 3 placesjsondata files21,869 tokens
By format, code only
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| rust | 84 | 115,068 | 340 | 3,057 | 2.66% |
| typescript | 923 | 272,280 | 290 | 4,231 | 1.55% |
| tsx | 468 | 108,877 | 112 | 1,880 | 1.73% |
| python | 26 | 5,964 | 17 | 221 | 3.71% |
| bash | 32 | 3,384 | 1 | 9 | 0.27% |
| sql | 34 | 1,911 | 1 | 23 | 1.2% |
| powershell | 6 | 868 | 0 | 0 | 0% |
| javascript | 6 | 606 | 0 | 0 | 0% |
By format, all files
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| typescript | 2,031 | 652,486 | 2,484 | 33,161 | 5.08% |
| json | 350 | 695,441 | 1,810 | 624,799 | 89.84% |
| tsx | 840 | 221,419 | 1,411 | 21,289 | 9.61% |
| rust | 91 | 116,215 | 343 | 3,081 | 2.65% |
| python | 93 | 18,901 | 130 | 2,485 | 13.15% |
| yaml | 74 | 11,406 | 41 | 738 | 6.47% |
| markup | 16 | 1,314 | 18 | 306 | 23.29% |
| css | 7 | 3,678 | 8 | 59 | 1.6% |
| txt | 14 | 930 | 8 | 67 | 7.2% |
| markdown | 46 | 19,174 | 4 | 31 | 0.16% |
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | All files | Code | Health | Commit |
|---|---|---|---|---|---|---|---|---|---|
| Nov 13, 2026 | #7 | 11,768 (+298) | 3,691 | 1,752,181 | 6,264 | 39.16% | 1.85% | C 61.2 | f8af37a |
| Nov 2, 2026 | #6 | 9,653 (+175) | 2,378 | 1,067,213 | 3,972 | 37.32% | 1.85% | C 62.3 | c396a5f |
| Oct 31, 2026 | #1 | 8,897 (+706) | 2,378 | 1,066,940 | 3,972 | 37.33% | 1.85% | C 62.3 | 743649e |
| Oct 30, 2026 | #4 | 8,271 (+247) | 2,378 | 1,066,917 | 3,972 | 37.33% | 1.85% | C 62.3 | ab9855c |
Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.