@@ -315,6 +315,7 @@ DeepCode leverages the **Model Context Protocol (MCP)** standard to seamlessly i
315
315
| ** ⚡ command-executor** | System Commands | Execute bash/shell commands for environment management |
316
316
| ** 🧬 code-implementation** | Code Generation Hub | Comprehensive code reproduction with execution and testing |
317
317
| ** 📚 code-reference-indexer** | Smart Code Search | Intelligent indexing and search of code repositories |
318
+ | ** 📄 document-segmentation** | Smart Document Analysis | Intelligent document segmentation for large papers and technical documents |
318
319
319
320
##### 🔧 ** Legacy Tool Functions** * (for reference)*
320
321
@@ -465,6 +466,11 @@ curl -O https://raw.githubusercontent.com/HKUDS/DeepCode/main/mcp_agent.secrets.
465
466
# Edit mcp_agent.config.yaml to set your API keys:
466
467
# - For Brave Search: Set BRAVE_API_KEY: "your_key_here" in brave.env section (line ~28)
467
468
# - For Bocha-MCP: Set BOCHA_API_KEY: "your_key_here" in bocha-mcp.env section (line ~74)
469
+
470
+ # 📄 Configure document segmentation (optional)
471
+ # Edit mcp_agent.config.yaml to control document processing:
472
+ # - enabled: true/false (whether to use intelligent document segmentation)
473
+ # - size_threshold_chars: 50000 (document size threshold to trigger segmentation)
468
474
```
469
475
470
476
#### 🔧 ** Development Installation (From Source)**
@@ -496,6 +502,11 @@ uv pip install -r requirements.txt
496
502
# Edit mcp_agent.config.yaml to set your API keys:
497
503
# - For Brave Search: Set BRAVE_API_KEY: "your_key_here" in brave.env section (line ~28)
498
504
# - For Bocha-MCP: Set BOCHA_API_KEY: "your_key_here" in bocha-mcp.env section (line ~74)
505
+
506
+ # 📄 Configure document segmentation (optional)
507
+ # Edit mcp_agent.config.yaml to control document processing:
508
+ # - enabled: true/false (whether to use intelligent document segmentation)
509
+ # - size_threshold_chars: 50000 (document size threshold to trigger segmentation)
499
510
```
500
511
501
512
##### 🐍 ** Using Traditional pip**
@@ -517,6 +528,11 @@ pip install -r requirements.txt
517
528
# Edit mcp_agent.config.yaml to set your API keys:
518
529
# - For Brave Search: Set BRAVE_API_KEY: "your_key_here" in brave.env section (line ~28)
519
530
# - For Bocha-MCP: Set BOCHA_API_KEY: "your_key_here" in bocha-mcp.env section (line ~74)
531
+
532
+ # 📄 Configure document segmentation (optional)
533
+ # Edit mcp_agent.config.yaml to control document processing:
534
+ # - enabled: true/false (whether to use intelligent document segmentation)
535
+ # - size_threshold_chars: 50000 (document size threshold to trigger segmentation)
520
536
```
521
537
522
538
</details >
@@ -699,6 +715,14 @@ python cli/main_cli.py
699
715
700
716
701
717
718
+ # ## 🆕 **Recent Updates**
719
+
720
+ # ### 📄 **Smart Document Segmentation (v1.2.0)**
721
+ - **Intelligent Processing**: Automatically handles large research papers and technical documents that exceed LLM token limits
722
+ - **Configurable Control**: Toggle segmentation via configuration with size-based thresholds
723
+ - **Semantic Analysis**: Advanced content understanding with algorithm, concept, and formula preservation
724
+ - **Backward Compatibility**: Seamlessly falls back to traditional processing for smaller documents
725
+
702
726
# ## 🚀 **Coming Soon**
703
727
704
728
We're continuously enhancing DeepCode with exciting new features :
0 commit comments