TencentCloud/Octop
A smarter, self-hosted AI assistant — multi-user, multi-agent.
Python★ 4,026+569 that day#6 on trendingC 65.5 health4.24% duplicated
C65.5/100
Duplication66
5.1% in python, tsx, typescript, bash, javascript, go, sql, powershell, perlDead code83
2%Complexity53
46.2%Most complex files
- src/octop/infra/agents/manager.py649 cx
- dashboard/src/pages/KnowledgeBases/index.tsx636 cx
- dashboard/src/pages/Agent/Connectors/index.tsx531 cx
- dashboard/src/pages/Chat/hooks/chatStore.ts530 cx
- src/octop/infra/agents/experts/library/clinical-learning-subscription/scripts/clinical_profile.py458 cx
- src/octop/infra/skills/skills_hub.py412 cx
- src/octop/infra/agents/experts/library/meituan-living-assistant/skills/meituan-deals/scripts/run.js344 cx
- dashboard/src/pages/Agent/Channels/components/ChannelDrawer.tsx337 cx
- dashboard/src/pages/Agent/Workspace/components/WorkspaceDrawer.tsx333 cx
- dashboard/src/pages/Chat/hooks/useChat.ts322 cx
Dead code 2.01% unused · 150 findings
- src/octop/cli/commands/channel.pyunused-file
- src/octop/cli/support/offline_ops.pyunused-file
- dashboard/src/components/BackendBuilder.tsxunused-file
- src/octop/cli/commands/chats.pyunused-file
- src/octop/cli/repl/render.pyunused-file
- src/octop/cli/commands/models.pyunused-file
- src/octop/cli/commands/agent.pyunused-file
- src/octop/cli/commands/service.pyunused-file
- src/octop/cli/commands/backup.pyunused-file
- dashboard/src/components/MarkdownCopy/MarkdownCopy.tsxunused-file
3,789files
761,668lines
4,065,607tokens
1,730clones
32,325duplicated lines (4.24%)
179,198duplicated tokens (4.41%)
By format
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| python | 1,031 | 213,260 | 766 | 13,717 | 6.43% |
| tsx | 387 | 108,196 | 275 | 3,364 | 3.11% |
| less | 116 | 37,924 | 204 | 3,025 | 7.98% |
| typescript | 449 | 57,392 | 117 | 2,237 | 3.9% |
| markup | 70 | 5,523 | 77 | 558 | 10.1% |
| markdown | 793 | 178,922 | 58 | 1,767 | 0.99% |
| bash | 173 | 34,602 | 37 | 2,627 | 7.59% |
| javascript | 33 | 7,243 | 33 | 754 | 10.41% |
| sql | 32 | 2,863 | 31 | 559 | 19.52% |
| css | 15 | 3,093 | 30 | 426 | 13.77% |
Largest clones
- 797 lines · 3,868 tokens pythonsrc/octop/infra/agents/experts/library/office-automation/skills/docx/scripts/office/validators/base.py:1–797⇆src/octop/infra/agents/experts/library/office-automation/skills/pptx/scripts/office/validators/base.py:1–797
- 797 lines · 3,868 tokens pythonsrc/octop/infra/agents/experts/library/office-automation/skills/docx/scripts/office/validators/base.py:1–797⇆src/octop/infra/agents/experts/library/office-automation/skills/xlsx/scripts/office/validators/base.py:1–797
- 609 lines · 2,992 tokens bashscripts/install-octop.sh:88–696⇆scripts/install.sh:88–696
- 418 lines · 1,902 tokens pythonsrc/octop/infra/agents/experts/library/office-automation/skills/docx/scripts/office/validators/docx.py:1–418⇆src/octop/infra/agents/experts/library/office-automation/skills/pptx/scripts/office/validators/docx.py:1–418
- 418 lines · 1,902 tokens pythonsrc/octop/infra/agents/experts/library/office-automation/skills/docx/scripts/office/validators/docx.py:1–418⇆src/octop/infra/agents/experts/library/office-automation/skills/xlsx/scripts/office/validators/docx.py:1–418
- 372 lines · 1,494 tokens bashscripts/install-octop.sh:698–1069⇆scripts/install.sh:733–1104
- 190 lines · 1,472 tokens pythonsrc/octop/infra/agents/experts/library/office-automation/skills/pptx/scripts/office/soffice.py:27–216⇆src/octop/infra/agents/experts/library/office-automation/skills/xlsx/scripts/office/soffice.py:27–216
- 160 lines · 1,331 tokens pythonsrc/octop/infra/agents/experts/library/office-automation/skills/docx/scripts/office/soffice.py:59–218⇆src/octop/infra/agents/experts/library/office-automation/skills/pptx/scripts/office/soffice.py:57–216
- 325 lines · 1,185 tokens bashscripts/install-octop.sh:747–1071⇆scripts/install.sh:782–1107
- 262 lines · 1,080 tokens pythonsrc/octop/infra/agents/experts/library/office-automation/skills/docx/scripts/office/validators/pptx.py:1–262⇆src/octop/infra/agents/experts/library/office-automation/skills/pptx/scripts/office/validators/pptx.py:1–262
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | Duplication | Health | Commit |
|---|---|---|---|---|---|---|---|---|
| Sep 19, 2026 | #6 | 4,026 (+569) | 3,789 | 761,668 | 1,730 | 4.24% | C 65.5 | 757fd12 |
| Sep 18, 2026 | #12 | 3,599 (+367) | 3,707 | 749,578 | 1,616 | 4.18% | — | ae65fe4 |
Want this for your own project? Install jscpd and run jscpd .