📚 《从零开始构建智能体》——从零开始的智能体原理与实践教程
This report presents the forensic synthetic code analysis of datawhalechina/hello-agents, a Python project with 66,012 GitHub stars. SynthScan v2.0 examined 276,500 lines of code across 1181 source files, recording 2832 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 14.6 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 2832 distinct pattern matches across 22 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …s/lll0807-CodeTutorAgent/programmer/agents/exercise.py | 91 | # ========================================================= | STRING |
| MEDIUM⚡ | …s/lll0807-CodeTutorAgent/programmer/agents/exercise.py | 93 | # ========================================================= | STRING |
| MEDIUM | …ll0807-CodeTutorAgent/programmer/services/knowledge.py | 28 | # ====================== | COMMENT |
| MEDIUM | …ll0807-CodeTutorAgent/programmer/services/knowledge.py | 30 | # ====================== | COMMENT |
| MEDIUM | …ll0807-CodeTutorAgent/programmer/services/knowledge.py | 53 | # ====================== | COMMENT |
| MEDIUM | …ll0807-CodeTutorAgent/programmer/services/knowledge.py | 55 | # ====================== | COMMENT |
| MEDIUM | …ll0807-CodeTutorAgent/programmer/services/knowledge.py | 79 | # ====================== | COMMENT |
| MEDIUM | …ll0807-CodeTutorAgent/programmer/services/knowledge.py | 81 | # ====================== | COMMENT |
| MEDIUM | …n-projects/JJason-DeepCastAgent/backend/src/prompts.py | 9 | # ============================================================ | COMMENT |
| MEDIUM | …n-projects/JJason-DeepCastAgent/backend/src/prompts.py | 11 | # ============================================================ | COMMENT |
| MEDIUM | …n-projects/JJason-DeepCastAgent/backend/src/prompts.py | 57 | # ============================================================ | STRING |
| MEDIUM | …n-projects/JJason-DeepCastAgent/backend/src/prompts.py | 59 | # ============================================================ | STRING |
| MEDIUM | …n-projects/JJason-DeepCastAgent/backend/src/prompts.py | 80 | # ============================================================ | STRING |
| MEDIUM | …n-projects/JJason-DeepCastAgent/backend/src/prompts.py | 82 | # ============================================================ | STRING |
| MEDIUM | …n-projects/JJason-DeepCastAgent/backend/src/prompts.py | 121 | # ============================================================ | STRING |
| MEDIUM | …n-projects/JJason-DeepCastAgent/backend/src/prompts.py | 123 | # ============================================================ | STRING |
| MEDIUM | …ion-projects/JJason-DeepCastAgent/backend/src/agent.py | 97 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …ion-projects/JJason-DeepCastAgent/backend/src/agent.py | 99 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …ion-projects/JJason-DeepCastAgent/backend/src/agent.py | 233 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …ion-projects/JJason-DeepCastAgent/backend/src/agent.py | 235 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …ion-projects/JJason-DeepCastAgent/backend/src/agent.py | 556 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …ion-projects/JJason-DeepCastAgent/backend/src/agent.py | 558 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …s/JJason-DeepCastAgent/backend/src/services/planner.py | 90 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …s/JJason-DeepCastAgent/backend/src/services/planner.py | 92 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …ason-DeepCastAgent/backend/src/services/tool_events.py | 93 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …ason-DeepCastAgent/backend/src/services/tool_events.py | 95 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …ason-DeepCastAgent/backend/src/services/tool_events.py | 190 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …ason-DeepCastAgent/backend/src/services/tool_events.py | 192 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …-projects/YYHDBL-HelloCodeAgentCli/memory/embedding.py | 21 | # ============== | COMMENT |
| MEDIUM | …-projects/YYHDBL-HelloCodeAgentCli/memory/embedding.py | 23 | # ============== | COMMENT |
| MEDIUM | …-projects/YYHDBL-HelloCodeAgentCli/memory/embedding.py | 226 | # ============== | COMMENT |
| MEDIUM | …-projects/YYHDBL-HelloCodeAgentCli/memory/embedding.py | 228 | # ============== | COMMENT |
| MEDIUM⚡ | …-projects/YYHDBL-HelloCodeAgentCli/memory/embedding.py | 263 | # ================== | COMMENT |
| MEDIUM⚡ | …-projects/YYHDBL-HelloCodeAgentCli/memory/embedding.py | 265 | # ================== | COMMENT |
| MEDIUM⚡ | …ojects/YYHDBL-HelloCodeAgentCli/memory/rag/pipeline.py | 1126 | # ================== | COMMENT |
| MEDIUM⚡ | …ojects/YYHDBL-HelloCodeAgentCli/memory/rag/pipeline.py | 1128 | # ================== | COMMENT |
| MEDIUM⚡ | …/Shawnxyxy-HealthRecordAgent/backend/agents/planner.py | 59 | # ====================== | COMMENT |
| MEDIUM⚡ | …/Shawnxyxy-HealthRecordAgent/backend/agents/planner.py | 61 | # ====================== | COMMENT |
| MEDIUM | …ng-AgentPlatformBase/agents/deep_research/src/agent.py | 76 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …ng-AgentPlatformBase/agents/deep_research/src/agent.py | 78 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …ng-AgentPlatformBase/agents/deep_research/src/agent.py | 286 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …ng-AgentPlatformBase/agents/deep_research/src/agent.py | 288 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …tformBase/agents/deep_research/src/services/planner.py | 80 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …tformBase/agents/deep_research/src/services/planner.py | 82 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …mBase/agents/deep_research/src/services/tool_events.py | 88 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …mBase/agents/deep_research/src/services/tool_events.py | 90 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …mBase/agents/deep_research/src/services/tool_events.py | 163 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …mBase/agents/deep_research/src/services/tool_events.py | 165 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …-creation-projects/nihaoshoum-LoveAnalysisAgent/run.py | 2 | # # ======================================== | COMMENT |
| MEDIUM | …-creation-projects/nihaoshoum-LoveAnalysisAgent/run.py | 4 | # # ======================================== | COMMENT |
| MEDIUM | …-creation-projects/nihaoshoum-LoveAnalysisAgent/run.py | 28 | # # ======================================== | COMMENT |
| MEDIUM | …-creation-projects/nihaoshoum-LoveAnalysisAgent/run.py | 30 | # # ======================================== | COMMENT |
| MEDIUM | …-creation-projects/nihaoshoum-LoveAnalysisAgent/run.py | 291 | # # ======================================== | COMMENT |
| MEDIUM | …-creation-projects/nihaoshoum-LoveAnalysisAgent/run.py | 293 | # # ======================================== | COMMENT |
| MEDIUM | …-creation-projects/nihaoshoum-LoveAnalysisAgent/run.py | 306 | # # ======================================== | COMMENT |
| MEDIUM | …-creation-projects/nihaoshoum-LoveAnalysisAgent/run.py | 308 | # # ======================================== | COMMENT |
| MEDIUM | …-creation-projects/nihaoshoum-LoveAnalysisAgent/run.py | 321 | # # ======================================== | COMMENT |
| MEDIUM | …-creation-projects/nihaoshoum-LoveAnalysisAgent/run.py | 323 | # # ======================================== | COMMENT |
| MEDIUM | …-creation-projects/nihaoshoum-LoveAnalysisAgent/run.py | 342 | # # ======================================== | STRING |
| MEDIUM | …-creation-projects/nihaoshoum-LoveAnalysisAgent/run.py | 344 | # # ======================================== | STRING |
| 322 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | fix_bold_format.py | 49 | except Exception as e: | CODE |
| LOW | …/lll0807-CodeTutorAgent/programmer/tools/agent_tool.py | 53 | except Exception as e: | CODE |
| LOW | …lll0807-CodeTutorAgent/programmer/tools/code_runner.py | 67 | except Exception as e: | CODE |
| LOW | …s/lll0807-CodeTutorAgent/programmer/agents/exercise.py | 46 | except Exception: | STRING |
| LOW | Co-creation-projects/939147533-DatabaseAgent/test.py | 68 | except Exception as e: | CODE |
| LOW | Co-creation-projects/939147533-DatabaseAgent/test.py | 101 | except Exception as e: | CODE |
| LOW | Co-creation-projects/939147533-DatabaseAgent/main.py | 59 | except Exception as e: | CODE |
| LOW | …creation-projects/939147533-DatabaseAgent/src/tools.py | 28 | except Exception as e: | CODE |
| LOW | …creation-projects/939147533-DatabaseAgent/src/tools.py | 60 | except Exception as e: | CODE |
| LOW | …creation-projects/939147533-DatabaseAgent/src/tools.py | 97 | except Exception as e: | STRING |
| LOW | …ts/usernamedadad-AutoFlow/backend/app/routers/agent.py | 20 | except Exception as exc: | CODE |
| MEDIUM | …ts/usernamedadad-AutoFlow/backend/app/routers/agent.py | 15 | def event_generator(): | CODE |
| LOW | …d-AutoFlow/backend/app/agents/mermaid_agent_service.py | 68 | except Exception as exc: | CODE |
| LOW | …reation-projects/CC1227871-StockInsightAgent/memory.py | 38 | except Exception: | CODE |
| LOW | …creation-projects/CC1227871-StockInsightAgent/tools.py | 61 | except Exception: | CODE |
| LOW | …creation-projects/CC1227871-StockInsightAgent/tools.py | 70 | except Exception: | CODE |
| LOW | …creation-projects/CC1227871-StockInsightAgent/tools.py | 81 | except Exception as e: | CODE |
| LOW | …creation-projects/CC1227871-StockInsightAgent/tools.py | 119 | except Exception as e: | CODE |
| LOW | …creation-projects/CC1227871-StockInsightAgent/tools.py | 137 | except Exception: | CODE |
| LOW | …creation-projects/CC1227871-StockInsightAgent/tools.py | 201 | except Exception as e: | CODE |
| LOW | …creation-projects/CC1227871-StockInsightAgent/tools.py | 237 | except Exception as e: | CODE |
| LOW | …creation-projects/CC1227871-StockInsightAgent/tools.py | 344 | except Exception as e: | CODE |
| LOW | …creation-projects/CC1227871-StockInsightAgent/tools.py | 464 | except Exception as e: | CODE |
| LOW | …ion-projects/CC1227871-StockInsightAgent/llm_client.py | 42 | except Exception as e: | CODE |
| LOW | …ion-projects/CC1227871-StockInsightAgent/llm_client.py | 55 | except Exception as e2: | CODE |
| LOW | Co-creation-projects/CC1227871-StockInsightAgent/rag.py | 50 | except Exception as e: | CODE |
| LOW | Co-creation-projects/CC1227871-StockInsightAgent/app.py | 64 | except Exception as e: | CODE |
| LOW | …rojects/CC1227871-StockInsightAgent/framework_agent.py | 143 | except Exception: | CODE |
| LOW | …rojects/CC1227871-StockInsightAgent/framework_agent.py | 148 | except Exception as e: | CODE |
| LOW | …tion-projects/zzuu222-LanlearnAgent/src/tools/tools.py | 18 | except Exception as exc: | CODE |
| LOW | …eation-projects/allen2000-FashionDailyDress/weather.py | 51 | except Exception as e: | CODE |
| LOW | …eation-projects/allen2000-FashionDailyDress/weather.py | 79 | except Exception as e: | CODE |
| LOW | …ion-projects/allen2000-FashionDailyDress/gradio_app.py | 48 | except Exception as e: | STRING |
| LOW | …ion-projects/allen2000-FashionDailyDress/gradio_app.py | 75 | except Exception as e2: | STRING |
| LOW | …ects/allen2000-FashionDailyDress/simple_multi_agent.py | 42 | except Exception as e: | CODE |
| LOW | …ects/allen2000-FashionDailyDress/simple_multi_agent.py | 250 | except Exception as e: | CODE |
| LOW | …ion-projects/megg-ops-roleplay_agent/roleplay_agent.py | 100 | except Exception as e: | STRING |
| LOW | …n-DeepCastAgent/backend/scripts/test_agent_workflow.py | 118 | except Exception as e: | CODE |
| LOW | …/JJason-DeepCastAgent/backend/scripts/verify_search.py | 61 | except Exception as e: | CODE |
| LOW | …Jason-DeepCastAgent/backend/scripts/verify_ecnu_llm.py | 59 | except Exception as e: | CODE |
| LOW | …Jason-DeepCastAgent/backend/scripts/verify_ecnu_tts.py | 52 | except Exception as e: | CODE |
| LOW | …/JJason-DeepCastAgent/backend/scripts/verify_ffmpeg.py | 44 | except Exception as e: | CODE |
| LOW | …ion-projects/JJason-DeepCastAgent/backend/src/agent.py | 310 | except Exception as exc: | CODE |
| LOW | …ion-projects/JJason-DeepCastAgent/backend/src/agent.py | 480 | except Exception as e: | CODE |
| LOW | …tion-projects/JJason-DeepCastAgent/backend/src/main.py | 165 | except Exception as exc: # pragma: no cover - defensive guardrail | CODE |
| LOW | …tion-projects/JJason-DeepCastAgent/backend/src/main.py | 243 | except Exception as exc: | CODE |
| LOW | …eepCastAgent/backend/src/services/audio_synthesizer.py | 77 | except Exception as e: | CODE |
| LOW | …eepCastAgent/backend/src/services/audio_synthesizer.py | 93 | except Exception as e: | CODE |
| LOW | …DeepCastAgent/backend/src/services/script_generator.py | 131 | except Exception as e: | CODE |
| LOW | …DeepCastAgent/backend/src/services/script_generator.py | 235 | except Exception: | CODE |
| LOW | …-DeepCastAgent/backend/src/services/audio_generator.py | 41 | except Exception as e: | CODE |
| LOW | …-DeepCastAgent/backend/src/services/audio_generator.py | 187 | except Exception as e: | CODE |
| LOW | …ts/JJason-DeepCastAgent/backend/src/services/search.py | 71 | except Exception as exc: # pragma: no cover - defensive logging | CODE |
| LOW | …jects/Yixiang-Wu-LearningAgent/core/summary_manager.py | 99 | except Exception: | STRING |
| LOW | …jects/Yixiang-Wu-LearningAgent/core/summary_manager.py | 142 | except Exception: | STRING |
| LOW | …jects/Yixiang-Wu-LearningAgent/core/summary_manager.py | 210 | except Exception: | STRING |
| LOW | …jects/Yixiang-Wu-LearningAgent/core/summary_manager.py | 242 | except Exception: | STRING |
| LOW | …n-projects/Yixiang-Wu-LearningAgent/core/main_agent.py | 163 | except Exception as e: | STRING |
| LOW | …n-projects/Yixiang-Wu-LearningAgent/core/main_agent.py | 206 | except Exception as e: | STRING |
| LOW | …n-projects/Yixiang-Wu-LearningAgent/core/main_agent.py | 288 | except Exception as e: | STRING |
| 827 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | fix_bold_format.py | 10 | CODE | |
| LOW | …0807-CodeTutorAgent/programmer/agents/code_reviewer.py | 2 | CODE | |
| LOW | …ects/lll0807-CodeTutorAgent/programmer/agents/tutor.py | 2 | CODE | |
| LOW | …ects/lll0807-CodeTutorAgent/programmer/agents/tutor.py | 2 | CODE | |
| LOW | Co-creation-projects/939147533-DatabaseAgent/test.py | 5 | CODE | |
| LOW | Co-creation-projects/939147533-DatabaseAgent/main.py | 5 | CODE | |
| LOW | …edadad-AutoFlow/backend/app/agents/mermaid/__init__.py | 1 | CODE | |
| LOW | …edadad-AutoFlow/backend/app/agents/mermaid/__init__.py | 2 | CODE | |
| LOW | …edadad-AutoFlow/backend/app/agents/mermaid/__init__.py | 3 | CODE | |
| LOW | …edadad-AutoFlow/backend/app/agents/mermaid/__init__.py | 3 | CODE | |
| LOW | …edadad-AutoFlow/backend/app/agents/mermaid/__init__.py | 3 | CODE | |
| LOW | …edadad-AutoFlow/backend/app/agents/mermaid/__init__.py | 3 | CODE | |
| LOW | …rojects/CC1227871-StockInsightAgent/context_manager.py | 2 | CODE | |
| LOW | …rojects/CC1227871-StockInsightAgent/context_manager.py | 3 | CODE | |
| LOW | …creation-projects/CC1227871-StockInsightAgent/tools.py | 3 | CODE | |
| LOW | Co-creation-projects/CC1227871-StockInsightAgent/rag.py | 7 | CODE | |
| LOW | Co-creation-projects/CC1227871-StockInsightAgent/app.py | 24 | CODE | |
| LOW | …tion-projects/zzuu222-LanlearnAgent/src/tools/tools.py | 1 | CODE | |
| LOW | …tion-projects/zzuu222-LanlearnAgent/src/tools/tools.py | 2 | CODE | |
| LOW | …ects/allen2000-FashionDailyDress/simple_multi_agent.py | 6 | CODE | |
| LOW | …ects/allen2000-FashionDailyDress/simple_multi_agent.py | 7 | CODE | |
| LOW | …ects/allen2000-FashionDailyDress/simple_multi_agent.py | 8 | CODE | |
| LOW | …ion-projects/megg-ops-roleplay_agent/roleplay_agent.py | 4 | CODE | |
| LOW | …ion-projects/JJason-DeepCastAgent/backend/src/utils.py | 3 | CODE | |
| LOW | …ion-projects/JJason-DeepCastAgent/backend/src/agent.py | 3 | CODE | |
| LOW | …tion-projects/JJason-DeepCastAgent/backend/src/main.py | 3 | CODE | |
| LOW | …s/JJason-DeepCastAgent/backend/src/services/planner.py | 3 | CODE | |
| LOW | …eepCastAgent/backend/src/services/audio_synthesizer.py | 3 | CODE | |
| LOW | …DeepCastAgent/backend/src/services/script_generator.py | 3 | CODE | |
| LOW | …-DeepCastAgent/backend/src/services/text_processing.py | 3 | CODE | |
| LOW | …/JJason-DeepCastAgent/backend/src/services/reporter.py | 3 | CODE | |
| LOW | …cts/JJason-DeepCastAgent/backend/src/services/notes.py | 3 | CODE | |
| LOW | …-DeepCastAgent/backend/src/services/audio_generator.py | 3 | CODE | |
| LOW | …ts/JJason-DeepCastAgent/backend/src/services/search.py | 3 | CODE | |
| LOW | …Jason-DeepCastAgent/backend/src/services/summarizer.py | 3 | CODE | |
| LOW | …ason-DeepCastAgent/backend/src/services/tool_events.py | 3 | CODE | |
| LOW | Co-creation-projects/Yixiang-Wu-LearningAgent/main.py | 4 | CODE | |
| LOW | …s/Yixiang-Wu-LearningAgent/agents/create_plan_agent.py | 4 | CODE | |
| LOW | …jects/Yixiang-Wu-LearningAgent/agents/summary_agent.py | 6 | CODE | |
| LOW | …Yixiang-Wu-LearningAgent/agents/vibe_learning_agent.py | 11 | CODE | |
| LOW | …s/Yixiang-Wu-LearningAgent/processors/add_knowledge.py | 4 | CODE | |
| LOW | …s/Yixiang-Wu-LearningAgent/processors/add_knowledge.py | 8 | CODE | |
| LOW | …/Yixiang-Wu-LearningAgent/specialist/quiz_generator.py | 4 | CODE | |
| LOW | …s/Yixiang-Wu-LearningAgent/specialist/repo_analyzer.py | 4 | CODE | |
| LOW | …bichchibui5-hub-EmailSmartAssistant/email_assistant.py | 11 | CODE | |
| LOW | …bichchibui5-hub-EmailSmartAssistant/email_assistant.py | 12 | CODE | |
| LOW | …n-projects/bichchibui5-hub-EmailSmartAssistant/demo.py | 10 | CODE | |
| LOW | …n-projects/bichchibui5-hub-EmailSmartAssistant/demo.py | 12 | CODE | |
| LOW | …n-projects/bichchibui5-hub-EmailSmartAssistant/demo.py | 12 | CODE | |
| LOW | …creation-projects/YYHDBL-HelloCodeAgentCli/__init__.py | 15 | CODE | |
| LOW | …creation-projects/YYHDBL-HelloCodeAgentCli/__init__.py | 15 | CODE | |
| LOW | …creation-projects/YYHDBL-HelloCodeAgentCli/__init__.py | 15 | CODE | |
| LOW | …creation-projects/YYHDBL-HelloCodeAgentCli/__init__.py | 15 | CODE | |
| LOW | …creation-projects/YYHDBL-HelloCodeAgentCli/__init__.py | 18 | CODE | |
| LOW | …creation-projects/YYHDBL-HelloCodeAgentCli/__init__.py | 19 | CODE | |
| LOW | …creation-projects/YYHDBL-HelloCodeAgentCli/__init__.py | 20 | CODE | |
| LOW | …creation-projects/YYHDBL-HelloCodeAgentCli/__init__.py | 21 | CODE | |
| LOW | …creation-projects/YYHDBL-HelloCodeAgentCli/__init__.py | 24 | CODE | |
| LOW | …creation-projects/YYHDBL-HelloCodeAgentCli/__init__.py | 25 | CODE | |
| LOW | …creation-projects/YYHDBL-HelloCodeAgentCli/__init__.py | 26 | CODE | |
| 611 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …rojects/CC1227871-StockInsightAgent/context_manager.py | 115 | def build_context_aware_prompt( | CODE |
| LOW | …-projects/allen2000-FashionDailyDress/fashion_agent.py | 78 | def get_detailed_fashion_advice(self, weather_data): | CODE |
| LOW | …allen2000-FashionDailyDress/multi_agent_coordinator.py | 63 | def _setup_coordinator_prompt(self): | CODE |
| LOW | …ion-projects/allen2000-FashionDailyDress/gradio_app.py | 12 | def get_weather_and_fashion_advice(city_name): | CODE |
| LOW | …-DeepCastAgent/backend/scripts/test_audio_generator.py | 28 | def test_generate_audio_success(self, mock_exists, mock_file, mock_post): | CODE |
| LOW | …-DeepCastAgent/backend/scripts/test_audio_generator.py | 63 | def test_generate_audio_no_api_key(self): | CODE |
| LOW | …-DeepCastAgent/backend/scripts/test_audio_generator.py | 72 | def test_generate_audio_api_failure(self, mock_exists, mock_post): | CODE |
| LOW | …/JJason-DeepCastAgent/backend/scripts/verify_search.py | 16 | def test_search_configuration(): | CODE |
| LOW | …ion-projects/JJason-DeepCastAgent/backend/src/utils.py | 27 | def deduplicate_and_format_sources( | CODE |
| LOW | …ion-projects/JJason-DeepCastAgent/backend/src/agent.py | 782 | def _find_existing_report_note_id(self, state: SummaryState) -> str | None: | CODE |
| LOW | …DeepCastAgent/backend/src/services/script_generator.py | 208 | def escape_newlines_in_strings(match): | CODE |
| LOW | …DeepCastAgent/backend/src/services/script_generator.py | 216 | def _parse_objects_individually(self, content: str) -> list | None: | CODE |
| LOW | …jects/Yixiang-Wu-LearningAgent/core/summary_manager.py | 56 | def _full_rewrite_knowledge_summary( | CODE |
| LOW | …jects/Yixiang-Wu-LearningAgent/core/summary_manager.py | 104 | def _incremental_update_knowledge_summary( | STRING |
| LOW | …jects/Yixiang-Wu-LearningAgent/core/summary_manager.py | 172 | def _full_rewrite_session_summary( | STRING |
| LOW | …jects/Yixiang-Wu-LearningAgent/core/summary_manager.py | 214 | def _incremental_update_session_summary( | STRING |
| LOW | …s/Yixiang-Wu-LearningAgent/agents/create_plan_agent.py | 194 | def _search_learning_resources(self, query: str) -> str: | STRING |
| LOW | …Yixiang-Wu-LearningAgent/agents/vibe_learning_agent.py | 173 | def _save_conversation_history(self, domain: str, mode: str, conversation: List[str], error: str = None) -> None: | STRING |
| LOW | …s/Yixiang-Wu-LearningAgent/processors/add_knowledge.py | 137 | def _extract_metadata_from_text(self, text: str) -> Dict[str, any]: | STRING |
| LOW | …s/Yixiang-Wu-LearningAgent/processors/add_knowledge.py | 180 | def _extract_tags_from_content(self, content: str) -> List[str]: | STRING |
| LOW | …s/Yixiang-Wu-LearningAgent/processors/add_knowledge.py | 222 | def _extract_concepts_from_content(self, content: str) -> List[str]: | STRING |
| LOW | …s/Yixiang-Wu-LearningAgent/specialist/repo_analyzer.py | 101 | def _extract_tech_stack_from_text(self, text: str) -> List[str]: | CODE |
| LOW | …/Yixiang-Wu-LearningAgent/specialist/paper_analyzer.py | 83 | def _extract_keywords_from_text(self, text: str) -> List[str]: | CODE |
| LOW | …/Yixiang-Wu-LearningAgent/specialist/paper_analyzer.py | 220 | def _infer_domain_from_keywords(self, keywords: List[str]) -> str: | STRING |
| LOW | …on-projects/YYHDBL-HelloCodeAgentCli/tools/registry.py | 121 | def extract_first_json_object(text: str): | CODE |
| LOW | …YHDBL-HelloCodeAgentCli/tools/builtin/terminal_tool.py | 344 | def _shell_requires_allow_dangerous(self, command: str) -> bool: | CODE |
| LOW | …YHDBL-HelloCodeAgentCli/tools/builtin/terminal_tool.py | 397 | def _shell_all_commands_whitelisted(self, command: str) -> bool: | CODE |
| LOW | …ts/YYHDBL-HelloCodeAgentCli/tools/builtin/todo_tool.py | 107 | def _enforce_single_in_progress(self, items: List[TodoItem], incoming_status: str, incoming_id: Optional[int]) -> Op | CODE |
| LOW | …-projects/YYHDBL-HelloCodeAgentCli/memory/embedding.py | 246 | def create_embedding_model_with_fallback(preferred_type: str = "dashscope", **kwargs) -> EmbeddingModel: | CODE |
| LOW⚡ | …ects/YYHDBL-HelloCodeAgentCli/memory/types/semantic.py | 479 | def _combine_and_rank_results( | CODE |
| LOW | …ects/YYHDBL-HelloCodeAgentCli/memory/types/semantic.py | 650 | def _store_linguistic_analysis(self, doc, text: str): | CODE |
| LOW | …ects/YYHDBL-HelloCodeAgentCli/memory/types/semantic.py | 960 | def _cleanup_entities_and_relations(self, entity_ids: List[str]): | CODE |
| LOW⚡ | …ts/YYHDBL-HelloCodeAgentCli/memory/types/perceptual.py | 699 | def _get_vector_store_for_modality(self, modality: Optional[str]) -> QdrantVectorStore: | CODE |
| LOW | …jects/YYHDBL-HelloCodeAgentCli/memory/types/working.py | 381 | def _remove_lowest_priority_memory(self): | CODE |
| LOW⚡ | …ojects/YYHDBL-HelloCodeAgentCli/memory/rag/pipeline.py | 426 | def _preprocess_markdown_for_embedding(text: str) -> str: | CODE |
| LOW | …ojects/YYHDBL-HelloCodeAgentCli/memory/rag/pipeline.py | 23 | def _is_markitdown_supported_format(path: str) -> bool: | CODE |
| LOW | …ojects/YYHDBL-HelloCodeAgentCli/memory/rag/pipeline.py | 227 | def _split_paragraphs_with_headings(text: str) -> List[Dict]: | CODE |
| LOW | …ojects/YYHDBL-HelloCodeAgentCli/memory/rag/pipeline.py | 454 | def _create_default_vector_store(dimension: int = None) -> QdrantVectorStore: | CODE |
| LOW | …ojects/YYHDBL-HelloCodeAgentCli/memory/rag/pipeline.py | 816 | def rerank_with_cross_encoder(query: str, items: List[Dict], model_name: str = "cross-encoder/ms-marco-MiniLM-L-6-v2", t | CODE |
| LOW | …ojects/YYHDBL-HelloCodeAgentCli/memory/rag/pipeline.py | 831 | def compute_graph_signals_from_pool(vector_hits: List[Dict], same_doc_weight: float = 1.0, proximity_weight: float = 1.0 | CODE |
| LOW | …ojects/YYHDBL-HelloCodeAgentCli/memory/rag/pipeline.py | 936 | def expand_neighbors_from_pool(selected: List[Dict], pool: List[Dict], neighbors: int = 1, max_additions: int = 5) -> Li | CODE |
| LOW | …ojects/YYHDBL-HelloCodeAgentCli/agents/simple_agent.py | 43 | def _get_enhanced_system_prompt(self) -> str: | CODE |
| LOW | …/YYHDBL-HelloCodeAgentCli/code_agent/hello_code_cli.py | 63 | def _patch_requires_confirmation(patch_text: str) -> bool: | CODE |
| LOW | …DBL-HelloCodeAgentCli/code_agent/agentic/code_agent.py | 187 | def _reply_with_recent_history(self, limit: int = 6) -> str: | CODE |
| LOW | …n-projects/Shawnxyxy-HealthRecordAgent/frontend/app.js | 128 | function syncReflectReasonVisibility() { | CODE |
| LOW | …ts/Shawnxyxy-HealthRecordAgent/backend/memory/store.py | 125 | def save_completed_report_run( | CODE |
| LOW | …ts/Shawnxyxy-HealthRecordAgent/backend/memory/store.py | 160 | def list_report_runs_for_user(user_id: str, limit: int = 50) -> List[Dict[str, Any]]: | CODE |
| LOW | …ts/Shawnxyxy-HealthRecordAgent/backend/memory/store.py | 287 | def format_reflect_memory_for_prompt(user_id: str, limit: int = 5) -> str: | CODE |
| LOW | …ts/Shawnxyxy-HealthRecordAgent/backend/memory/store.py | 386 | def list_user_memory_chunks_sql(user_id: str, limit: int = 50) -> List[Dict[str, Any]]: | CODE |
| LOW | …althRecordAgent/backend/service/observability_views.py | 68 | def build_report_observability( | CODE |
| LOW | Co-creation-projects/Apricity-InnocoreAI/main.py | 160 | async def innocore_exception_handler(request: Request, exc: InnoCoreException): | CODE |
| LOW | Co-creation-projects/Apricity-InnocoreAI/main.py | 172 | async def general_exception_handler(request: Request, exc: Exception): | CODE |
| LOW | …ation-projects/Apricity-InnocoreAI/agents/validator.py | 106 | async def _generate_bibtex_citation(self, paper_info: Dict) -> str: | CODE |
| LOW | …-creation-projects/Apricity-InnocoreAI/agents/coach.py | 364 | async def _get_user_writing_history(self, user_id: str) -> List[Dict[str, Any]]: | CODE |
| LOW | …tion-projects/Apricity-InnocoreAI/agents/controller.py | 190 | async def _execute_writing_assistance(self, task: Dict) -> Dict[str, Any]: | CODE |
| LOW | …tion-projects/Apricity-InnocoreAI/agents/controller.py | 204 | async def _execute_citation_validation(self, task: Dict) -> Dict[str, Any]: | CODE |
| LOW | …-creation-projects/Apricity-InnocoreAI/agents/miner.py | 129 | async def _extract_structured_content(self, file_path: str) -> Dict[str, Any]: | CODE |
| LOW | …-creation-projects/Apricity-InnocoreAI/agents/miner.py | 195 | async def _perform_comparison_analysis(self, current_paper: Dict, related_papers: List[Dict]) -> Dict[str, Any]: | CODE |
| LOW | …-creation-projects/Apricity-InnocoreAI/agents/miner.py | 248 | def _format_related_papers_for_comparison(self, papers: List[Dict]) -> str: | STRING |
| LOW | …creation-projects/Apricity-InnocoreAI/agents/hunter.py | 94 | async def _search_papers_from_arxiv(self, keywords: List[str], max_papers: int, days_back: int) -> List[Dict]: | CODE |
| 238 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …creation-projects/CC1227871-StockInsightAgent/tools.py | 224 | CODE | |
| LOW | …creation-projects/CC1227871-StockInsightAgent/tools.py | 307 | CODE | |
| LOW | Co-creation-projects/CC1227871-StockInsightAgent/rag.py | 55 | CODE | |
| LOW | …rojects/CC1227871-StockInsightAgent/framework_agent.py | 113 | CODE | |
| LOW | …-creation-projects/CC1227871-StockInsightAgent/main.py | 71 | CODE | |
| LOW | …ects/allen2000-FashionDailyDress/simple_multi_agent.py | 91 | CODE | |
| LOW | …ects/allen2000-FashionDailyDress/simple_multi_agent.py | 204 | CODE | |
| LOW | …ion-projects/megg-ops-roleplay_agent/roleplay_agent.py | 116 | CODE | |
| LOW | …ion-projects/JJason-DeepCastAgent/backend/src/agent.py | 237 | CODE | |
| LOW | …ion-projects/JJason-DeepCastAgent/backend/src/agent.py | 559 | CODE | |
| LOW | …tion-projects/JJason-DeepCastAgent/backend/src/main.py | 77 | CODE | |
| LOW | …tion-projects/JJason-DeepCastAgent/backend/src/main.py | 214 | CODE | |
| LOW | …tion-projects/JJason-DeepCastAgent/backend/src/main.py | 228 | CODE | |
| LOW | …s/JJason-DeepCastAgent/backend/src/services/planner.py | 93 | CODE | |
| LOW | …eepCastAgent/backend/src/services/audio_synthesizer.py | 37 | CODE | |
| LOW | …DeepCastAgent/backend/src/services/script_generator.py | 66 | CODE | |
| LOW | …-DeepCastAgent/backend/src/services/text_processing.py | 6 | CODE | |
| LOW | …-DeepCastAgent/backend/src/services/audio_generator.py | 44 | CODE | |
| LOW | …Jason-DeepCastAgent/backend/src/services/summarizer.py | 45 | CODE | |
| LOW | …Jason-DeepCastAgent/backend/src/services/summarizer.py | 56 | CODE | |
| LOW | …Jason-DeepCastAgent/backend/src/services/summarizer.py | 80 | CODE | |
| LOW | …n-projects/Yixiang-Wu-LearningAgent/core/main_agent.py | 95 | CODE | |
| LOW | …n-projects/Yixiang-Wu-LearningAgent/core/main_agent.py | 231 | CODE | |
| LOW | …n-projects/Yixiang-Wu-LearningAgent/utils/streaming.py | 25 | CODE | |
| LOW | …s/Yixiang-Wu-LearningAgent/processors/add_knowledge.py | 137 | CODE | |
| LOW | …s/Yixiang-Wu-LearningAgent/processors/add_knowledge.py | 315 | CODE | |
| LOW | …/Yixiang-Wu-LearningAgent/specialist/paper_analyzer.py | 220 | CODE | |
| LOW | …on-projects/YYHDBL-HelloCodeAgentCli/tools/registry.py | 72 | CODE | |
| LOW | …on-projects/YYHDBL-HelloCodeAgentCli/tools/registry.py | 121 | CODE | |
| LOW | …-HelloCodeAgentCli/tools/builtin/context_fetch_tool.py | 86 | CODE | |
| LOW | …-HelloCodeAgentCli/tools/builtin/context_fetch_tool.py | 224 | CODE | |
| LOW | …-HelloCodeAgentCli/tools/builtin/context_fetch_tool.py | 249 | CODE | |
| LOW | …/YYHDBL-HelloCodeAgentCli/tools/builtin/memory_tool.py | 98 | CODE | |
| LOW | …/YYHDBL-HelloCodeAgentCli/tools/builtin/memory_tool.py | 227 | CODE | |
| LOW | …YHDBL-HelloCodeAgentCli/tools/builtin/terminal_tool.py | 256 | CODE | |
| LOW | …YHDBL-HelloCodeAgentCli/tools/builtin/terminal_tool.py | 312 | CODE | |
| LOW | …ts/YYHDBL-HelloCodeAgentCli/tools/builtin/note_tool.py | 148 | CODE | |
| LOW | …ts/YYHDBL-HelloCodeAgentCli/tools/builtin/note_tool.py | 193 | CODE | |
| LOW | …jects/YYHDBL-HelloCodeAgentCli/tools/builtin/search.py | 29 | CODE | |
| LOW | …jects/YYHDBL-HelloCodeAgentCli/tools/builtin/search.py | 68 | CODE | |
| LOW | …HDBL-HelloCodeAgentCli/tools/builtin/protocol_tools.py | 135 | CODE | |
| LOW | …HDBL-HelloCodeAgentCli/tools/builtin/protocol_tools.py | 339 | CODE | |
| LOW | …HDBL-HelloCodeAgentCli/tools/builtin/protocol_tools.py | 558 | CODE | |
| LOW | …HDBL-HelloCodeAgentCli/tools/builtin/protocol_tools.py | 687 | CODE | |
| LOW | …HDBL-HelloCodeAgentCli/tools/builtin/protocol_tools.py | 372 | CODE | |
| LOW | …n-projects/YYHDBL-HelloCodeAgentCli/context/builder.py | 248 | CODE | |
| LOW | …creation-projects/YYHDBL-HelloCodeAgentCli/core/llm.py | 73 | CODE | |
| LOW | …creation-projects/YYHDBL-HelloCodeAgentCli/core/llm.py | 159 | CODE | |
| LOW | …creation-projects/YYHDBL-HelloCodeAgentCli/core/llm.py | 220 | CODE | |
| LOW | …ects/YYHDBL-HelloCodeAgentCli/memory/types/semantic.py | 272 | CODE | |
| LOW | …ects/YYHDBL-HelloCodeAgentCli/memory/types/semantic.py | 381 | CODE | |
| LOW | …ects/YYHDBL-HelloCodeAgentCli/memory/types/semantic.py | 589 | CODE | |
| LOW | …ects/YYHDBL-HelloCodeAgentCli/memory/types/semantic.py | 970 | CODE | |
| LOW | …ts/YYHDBL-HelloCodeAgentCli/memory/types/perceptual.py | 346 | CODE | |
| LOW | …ts/YYHDBL-HelloCodeAgentCli/memory/types/perceptual.py | 379 | CODE | |
| LOW | …ts/YYHDBL-HelloCodeAgentCli/memory/types/perceptual.py | 518 | CODE | |
| LOW | …ts/YYHDBL-HelloCodeAgentCli/memory/types/perceptual.py | 566 | CODE | |
| LOW | …ts/YYHDBL-HelloCodeAgentCli/memory/types/perceptual.py | 603 | CODE | |
| LOW | …ts/YYHDBL-HelloCodeAgentCli/memory/types/perceptual.py | 618 | CODE | |
| LOW | …jects/YYHDBL-HelloCodeAgentCli/memory/types/working.py | 282 | CODE | |
| 184 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …s/lll0807-CodeTutorAgent/programmer/agents/exercise.py | 33 | # ===== 初始化 RAG ===== | STRING |
| MEDIUM | …s/lll0807-CodeTutorAgent/programmer/agents/exercise.py | 67 | # ========= RAG 语义召回 ========= | STRING |
| MEDIUM⚡ | …s/lll0807-CodeTutorAgent/programmer/agents/exercise.py | 92 | # RAG 解析 | STRING |
| MEDIUM | …rojects/CC1227871-StockInsightAgent/framework_agent.py | 57 | # RAG 知识库工具 | COMMENT |
| MEDIUM | Co-creation-projects/YYHDBL-HelloCodeAgentCli/README.md | 311 | │ └── rag/ # RAG 系统 | CODE |
| MEDIUM | …n-projects/YYHDBL-HelloCodeAgentCli/context/builder.py | 369 | # 5) 依据 min_relevance 过滤(仅对扩展上下文:memory、RAG、notes 等) | COMMENT |
| MEDIUM⚡ | …ojects/YYHDBL-HelloCodeAgentCli/memory/rag/pipeline.py | 608 | # Prepare metadata with RAG tags | COMMENT |
| MEDIUM⚡ | …ojects/YYHDBL-HelloCodeAgentCli/memory/rag/pipeline.py | 1127 | # High-level RAG Pipeline API | COMMENT |
| MEDIUM⚡ | …ojects/YYHDBL-HelloCodeAgentCli/memory/rag/pipeline.py | 617 | "data_source": "rag_pipeline", # RAG identification tag | CODE |
| MEDIUM⚡ | …ojects/YYHDBL-HelloCodeAgentCli/memory/rag/pipeline.py | 619 | "is_rag_data": True, # Clear RAG data marker | CODE |
| MEDIUM | …ojects/YYHDBL-HelloCodeAgentCli/memory/rag/pipeline.py | 692 | # Build filter for RAG data | COMMENT |
| MEDIUM | …ojects/YYHDBL-HelloCodeAgentCli/memory/rag/pipeline.py | 784 | # Build filter for RAG data | COMMENT |
| MEDIUM | …-projects/Shawnxyxy-HealthRecordAgent/requirements.txt | 41 | # RAG / 向量检索 | COMMENT |
| MEDIUM | …cts/Shawnxyxy-HealthRecordAgent/backend/core/config.py | 33 | # ========== RAG ========== | COMMENT |
| MEDIUM | …g-StockSage-agent/HelloAgents Optimized/pyproject.toml | 44 | # RAG 系统 | COMMENT |
| MEDIUM | …g-StockSage-agent/HelloAgents Optimized/pyproject.toml | 86 | # 记忆 + RAG 组合 | COMMENT |
| MEDIUM | code/chapter9/codebase_maintainer.py | 61 | rag_tool=None, # 本案例不使用 RAG | CODE |
| MEDIUM⚡ | docs/chapter8/Chapter8-Memory-and-Retrieval.md | 1092 | ## 8.3 RAG System: Knowledge Retrieval Enhancement | COMMENT |
| MEDIUM⚡ | docs/chapter8/Chapter8-Memory-and-Retrieval.md | 1094 | ### 8.3.1 RAG Fundamentals | COMMENT |
| MEDIUM⚡ | docs/chapter8/Chapter8-Memory-and-Retrieval.md | 1129 | ### 8.3.3 Quick Experience: Get Started with RAG Features in 30 Seconds | COMMENT |
| MEDIUM⚡ | docs/chapter8/Chapter8-Memory-and-Retrieval.md | 1137 | # Create Agent with RAG capability | COMMENT |
| MEDIUM⚡ | docs/chapter8/Chapter8-Memory-and-Retrieval.md | 1141 | # Create RAG tool | COMMENT |
| MEDIUM | docs/chapter8/Chapter8-Memory-and-Retrieval.md | 29 | ### 8.1.2 Why Agents Need Memory and RAG | COMMENT |
| MEDIUM | docs/chapter8/Chapter8-Memory-and-Retrieval.md | 75 | ### 8.1.3 Memory and RAG System Architecture Design | COMMENT |
| MEDIUM⚡ | docs/chapter8/Chapter8-Memory-and-Retrieval.md | 146 | │ │ └── rag/ # RAG system | CODE |
| MEDIUM⚡ | docs/chapter8/Chapter8-Memory-and-Retrieval.md | 147 | │ │ ├── pipeline.py # RAG pipeline (end-to-end processing) | CODE |
| MEDIUM⚡ | docs/chapter8/Chapter8-Memory-and-Retrieval.md | 151 | │ └── rag_tool.py # RAG tool (intelligent Q&A capability) | CODE |
| MEDIUM | docs/chapter8/Chapter8-Memory-and-Retrieval.md | 246 | # Add RAG tool | COMMENT |
| MEDIUM | docs/chapter8/Chapter8-Memory-and-Retrieval.md | 1116 | ### 8.3.2 RAG System Working Principle | COMMENT |
| MEDIUM | docs/chapter8/Chapter8-Memory-and-Retrieval.md | 1152 | # Experience RAG features | COMMENT |
| MEDIUM | docs/chapter8/Chapter8-Memory-and-Retrieval.md | 1187 | ### 8.3.4 RAG System Architecture Design | COMMENT |
| MEDIUM | docs/chapter8/Chapter8-Memory-and-Retrieval.md | 1224 | # Initialize RAG pipeline | COMMENT |
| MEDIUM | docs/chapter8/Chapter8-Memory-and-Retrieval.md | 1465 | # Use unified embedding model | COMMENT |
| MEDIUM | docs/chapter8/Chapter8-Memory-and-Retrieval.md | 1625 | # Build RAG data filter | COMMENT |
| MEDIUM⚡ | docs/chapter9/Chapter9-Context-Engineering.md | 267 | # 3. Retrieve relevant knowledge from RAG system | COMMENT |
| MEDIUM⚡ | docs/chapter9/Chapter9-Context-Engineering.md | 276 | # Parse RAG results and convert to ContextPacket | COMMENT |
| MEDIUM | docs/chapter9/Chapter9-Context-Engineering.md | 2095 | rag_tool=None, # This case does not use RAG | CODE |
| MEDIUM⚡ | docs/chapter9/第九章 上下文工程.md | 271 | # 3. 从 RAG 系统检索相关知识 | COMMENT |
| MEDIUM⚡ | docs/chapter9/第九章 上下文工程.md | 280 | # 解析 RAG 结果并转换为 ContextPacket | COMMENT |
| MEDIUM | docs/chapter9/第九章 上下文工程.md | 2102 | rag_tool=None, # 本案例不使用 RAG | CODE |
| MEDIUM | Extra-Chapter/Extra01-面试问题总结.md | 87 | ### 5. RAG | COMMENT |
| MEDIUM | Extra-Chapter/Extra01-参考答案.md | 1598 | ### <strong>5. RAG</strong> | COMMENT |
| MEDIUM | Extra-Chapter/Extra01-参考答案.md | 1600 | #### <strong>5.1 请解释 RAG 的工作原理。与直接对 LLM 进行微调相比,RAG 主要解决了什么问题?有哪些优势?</strong> | COMMENT |
| MEDIUM | Extra-Chapter/Extra01-参考答案.md | 1626 | #### <strong>5.2 一个完整的 RAG 流水线包含哪些关键步骤?请从数据准备到最终生成,详细描述整个过程。</strong> | COMMENT |
| MEDIUM | Extra-Chapter/Extra01-参考答案.md | 1735 | #### <strong>5.5 除了基础的向量检索,你还知道哪些可以提升 RAG 检索质量的技术?</strong> | COMMENT |
| MEDIUM | Extra-Chapter/Extra01-参考答案.md | 1777 | #### <strong>5.6 请解释“Lost in the Middle”问题。它描述了 RAG 中的什么现象?有什么方法可以缓解这个问题?</strong> | COMMENT |
| MEDIUM | Extra-Chapter/Extra01-参考答案.md | 1811 | #### <strong>5.7 如何全面地评估一个 RAG 系统的性能?请分别从检索和生成两个阶段提出评估指标。</strong> | COMMENT |
| MEDIUM | Extra-Chapter/Extra01-参考答案.md | 1883 | #### <strong>5.9 传统的 RAG 流程是“先检索后生成”,你是否了解一些更复杂的 RAG 范式,比如在生成过程中进行多次检索或自适应检索?</strong> | COMMENT |
| MEDIUM | Extra-Chapter/Extra01-参考答案.md | 1916 | #### <strong>5.10 RAG 系统在实际部署中可能面临哪些挑战?</strong> | COMMENT |
| MEDIUM | Extra-Chapter/Extra02-上下文工程补充知识.md | 123 | #### 2. 检索增强生成 (RAG) | COMMENT |
| MEDIUM | Extra-Chapter/Extra02-上下文工程补充知识.md | 391 | ## 总结与思考:RAG is Dead? | COMMENT |
| MEDIUM | Extra-Chapter/Extra04-DatawhaleFAQ.md | 157 | ## 4. 知识与工具:RAG / KAG / 知识图谱 / RL 等 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | Co-creation-projects/Apricity-InnocoreAI/USAGE_GUIDE.md | 287 | LLM_API_KEY=your_api_key | CODE |
| HIGH | …reation-projects/yangyousan123-CodePlanAgent/README.md | 170 | api_key="your-api-key", | CODE |
| HIGH | …ixel-Personal_Information_Signaling_System/完整使用流程说明.md | 177 | LLM_API_KEY=your-api-key | CODE |
| HIGH | …tion-projects/healer-666-Academic-Data-Agent/README.md | 60 | LLM_API_KEY=your_api_key | CODE |
| HIGH | Co-creation-projects/kkkano-FinReportAgent/README.md | 59 | os.environ["LLM_API_KEY"] = "your-api-key-here" # 替换为你的 API Key | CODE |
| HIGH | Co-creation-projects/lgs-only-NovelGenerator/README.md | 51 | API_KEY=your_api_key | CODE |
| HIGH⚡ | …projects/lcyting-StockSage-agent/backend/app/config.py | 159 | if not self.LLM_API_KEY or self.LLM_API_KEY == "your-api-key-here": | CODE |
| HIGH⚡ | …projects/lcyting-StockSage-agent/backend/app/config.py | 167 | return bool(self.LLM_API_KEY and self.LLM_API_KEY != "your-api-key-here") | CODE |
| HIGH | …ng-StockSage-agent/skills/自选股管理/mx-zixuan/mx_zixuan.py | 49 | print(" export MX_APIKEY=your_apikey", file=sys.stderr) | CODE |
| HIGH | code/chapter1/FirstAgentTest.py | 145 | API_KEY = "YOUR_API_KEY" | CODE |
| HIGH⚡ | code/chapter6/AgentScopeDemo/README.md | 38 | export DASHSCOPE_API_KEY="your-api-key-here" | CODE |
| HIGH⚡ | code/chapter6/AgentScopeDemo/README.md | 41 | $env:DASHSCOPE_API_KEY="your-api-key-here" | CODE |
| HIGH⚡ | code/chapter6/AgentScopeDemo/README.md | 44 | set DASHSCOPE_API_KEY=your-api-key-here | CODE |
| HIGH | code/chapter6/AutoGenDemo/README.md | 34 | LLM_API_KEY=your-api-key-here | CODE |
| HIGH | code/chapter9/README.md | 190 | api_key="your_api_key", | CODE |
| HIGH | code/chapter13/helloagents-trip-planner/README.md | 160 | env={"AMAP_MAPS_API_KEY": "your_api_key"}, | CODE |
| HIGH | code/chapter15/Helloagents-AI-Town/SETUP_GUIDE.md | 75 | LLM_API_KEY=sk-your-api-key-here | CODE |
| HIGH | code/chapter15/Helloagents-AI-Town/backend/config.py | 33 | print(" 示例: LLM_API_KEY=\"your-api-key\"") | CODE |
| HIGH | docs/chapter1/Chapter1-Introduction-to-Agents.md | 400 | API_KEY = "YOUR_API_KEY" | CODE |
| HIGH | docs/chapter1/第一章 初识智能体.md | 406 | API_KEY = "YOUR_API_KEY" | CODE |
| HIGH | …/chapter4/Chapter4-Building-Classic-Agent-Paradigms.md | 39 | LLM_API_KEY="YOUR-API-KEY" | CODE |
| HIGH | docs/chapter4/第四章 智能体经典范式构建.md | 39 | LLM_API_KEY="YOUR-API-KEY" | CODE |
| HIGH | Extra-Chapter/Extra07-环境配置.md | 55 | - API Key: `your_api_key` | CODE |
| HIGH | Extra-Chapter/Extra07-环境配置.md | 228 | API_KEY = "YOUR_API_KEY" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …edadad-AutoFlow/backend/app/agents/mermaid/__init__.py | 5 | __all__ = [ | CODE |
| LOW | …ion-projects/JJason-DeepCastAgent/backend/src/utils.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ion-projects/JJason-DeepCastAgent/backend/src/agent.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ion-projects/JJason-DeepCastAgent/backend/src/agent.py | 130 | def _set_tool_event_sink(self, sink: Callable[[dict[str, Any]], None] | None) -> None: | CODE |
| LOW | …s/JJason-DeepCastAgent/backend/src/services/planner.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | …eepCastAgent/backend/src/services/audio_synthesizer.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | …DeepCastAgent/backend/src/services/script_generator.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | …-DeepCastAgent/backend/src/services/audio_generator.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ts/JJason-DeepCastAgent/backend/src/services/search.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ason-DeepCastAgent/backend/src/services/tool_events.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ason-DeepCastAgent/backend/src/services/tool_events.py | 163 | def set_event_sink(self, sink: Callable[[dict[str, Any]], None] | None) -> None: | CODE |
| LOW | …jects/Yixiang-Wu-LearningAgent/core/summary_manager.py | 33 | def update_knowledge_summary(self, domain: str, new_file: str) -> None: | CODE |
| LOW | …jects/Yixiang-Wu-LearningAgent/core/summary_manager.py | 149 | def update_session_summary(self, domain: str, new_session_content: str) -> None: | STRING |
| LOW | …jects/Yixiang-Wu-LearningAgent/utils/error_handlers.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | …creation-projects/YYHDBL-HelloCodeAgentCli/__init__.py | 36 | __all__ = [ | CODE |
| LOW | …on-projects/YYHDBL-HelloCodeAgentCli/tools/__init__.py | 10 | __all__ = ["Tool", "ToolParameter", "ToolRegistry", "global_registry"] | CODE |
| LOW | …cts/YYHDBL-HelloCodeAgentCli/tools/builtin/__init__.py | 7 | __all__ = [ | CODE |
| LOW | …-projects/YYHDBL-HelloCodeAgentCli/context/__init__.py | 9 | __all__ = ["ContextBuilder", "ContextConfig", "ContextPacket"] | CODE |
| LOW | …jects/YYHDBL-HelloCodeAgentCli/core/database_config.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | …jects/YYHDBL-HelloCodeAgentCli/core/database_config.py | 185 | def update_database_config(**kwargs) -> None: | CODE |
| LOW | …ion-projects/YYHDBL-HelloCodeAgentCli/core/__init__.py | 19 | __all__ = ["HelloAgentsLLM", "HelloAgentsException", "Agent", "Config", "Message"] | CODE |
| LOW | …n-projects/YYHDBL-HelloCodeAgentCli/memory/__init__.py | 11 | __all__ = [ | CODE |
| LOW | …on-projects/YYHDBL-HelloCodeAgentCli/memory/manager.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ects/YYHDBL-HelloCodeAgentCli/memory/types/semantic.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ts/YYHDBL-HelloCodeAgentCli/memory/types/perceptual.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ects/YYHDBL-HelloCodeAgentCli/memory/types/__init__.py | 15 | __all__ = [ | CODE |
| LOW | …ects/YYHDBL-HelloCodeAgentCli/memory/types/episodic.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ojects/YYHDBL-HelloCodeAgentCli/memory/rag/__init__.py | 41 | __all__ = [ | CODE |
| LOW | …YHDBL-HelloCodeAgentCli/memory/storage/qdrant_store.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ts/YYHDBL-HelloCodeAgentCli/memory/storage/__init__.py | 12 | __all__ = [ | CODE |
| LOW | …YYHDBL-HelloCodeAgentCli/memory/storage/neo4j_store.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | …n-projects/YYHDBL-HelloCodeAgentCli/agents/__init__.py | 7 | __all__ = ["SimpleAgent", "ReActAgent", "ReflectionAgent", "PlanAndSolveAgent"] | CODE |
| LOW | …on-projects/YYHDBL-HelloCodeAgentCli/utils/__init__.py | 7 | __all__ = [ | CODE |
| LOW | …YHDBL-HelloCodeAgentCli/code_agent/agentic/__init__.py | 5 | __all__ = ["CodeAgent"] | CODE |
| LOW | …/Shawnxyxy-HealthRecordAgent/backend/tools/__init__.py | 8 | __all__ = [ | CODE |
| LOW | …hawnxyxy-HealthRecordAgent/backend/core/llm_adapter.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ts/Shawnxyxy-HealthRecordAgent/backend/memory/store.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …Shawnxyxy-HealthRecordAgent/backend/memory/__init__.py | 22 | __all__ = [ | CODE |
| LOW | …Shawnxyxy-HealthRecordAgent/backend/agents/__init__.py | 12 | __all__ = [ | CODE |
| LOW | …cts/Shawnxyxy-HealthRecordAgent/backend/agents/base.py | 61 | logger = logging.getLogger(__name__) | CODE |
| LOW | …s/Shawnxyxy-HealthRecordAgent/backend/rag/embedding.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ts/Shawnxyxy-HealthRecordAgent/backend/rag/__init__.py | 8 | __all__ = [ | CODE |
| LOW | …hawnxyxy-HealthRecordAgent/backend/rag/milvus_store.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | …y-HealthRecordAgent/backend/service/health_analysis.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | …yxy-HealthRecordAgent/backend/service/diet_pipeline.py | 34 | logger = logging.getLogger(__name__) | CODE |
| LOW | Co-creation-projects/Apricity-InnocoreAI/__init__.py | 10 | __all__ = [ | CODE |
| LOW | Co-creation-projects/Apricity-InnocoreAI/main.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | Co-creation-projects/Apricity-InnocoreAI/core/config.py | 148 | def update_config(**kwargs) -> None: | CODE |
| LOW | …creation-projects/Apricity-InnocoreAI/core/__init__.py | 10 | __all__ = [ | CODE |
| LOW | …ation-projects/Apricity-InnocoreAI/core/llm_adapter.py | 9 | logger = logging.getLogger(__name__) | CODE |
| LOW | …tion-projects/Apricity-InnocoreAI/agents/controller.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | …eation-projects/Apricity-InnocoreAI/agents/__init__.py | 12 | __all__ = [ | CODE |
| LOW | Co-creation-projects/Apricity-InnocoreAI/agents/base.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ation-projects/Apricity-InnocoreAI/utils/pdf_parser.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | …reation-projects/Apricity-InnocoreAI/utils/__init__.py | 10 | __all__ = [ | CODE |
| LOW | …eation-projects/Apricity-InnocoreAI/models/__init__.py | 11 | __all__ = ['User', 'Paper', 'Task', 'Analysis', 'Writing'] | CODE |
| LOW | Co-creation-projects/Apricity-InnocoreAI/api/main.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | …n-projects/Apricity-InnocoreAI/api/routes/citations.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ation-projects/Apricity-InnocoreAI/api/routes/tasks.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | …on-projects/Apricity-InnocoreAI/api/routes/analysis.py | 15 | logger = logging.getLogger(__name__) | CODE |
| 49 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …eation-projects/melxy1997-ColumnWriter/orchestrator.py | 95 | # Step 1: 规划专栏结构(使用 PlanAndSolveAgent) | COMMENT |
| LOW⚡ | …eation-projects/melxy1997-ColumnWriter/orchestrator.py | 103 | # Step 2: 为每个子话题创建内容树 | COMMENT |
| LOW⚡ | …eation-projects/melxy1997-ColumnWriter/orchestrator.py | 110 | # Step 3: 组装完整专栏 | COMMENT |
| LOW⚡ | …ts/lcyting-StockSage-agent/agents/coordinator_agent.py | 121 | # Step 3: 若需要投资顾问,将数据+舆情结果传递给它 | COMMENT |
| LOW⚡ | …ts/lcyting-StockSage-agent/agents/coordinator_agent.py | 130 | # Step 4: 协调者整理输出,流式返回给用户 | COMMENT |
| LOW⚡ | Co-creation-projects/afei-GuessWhoAmI/backend/agents.py | 112 | # Step 1: LLM generates subject name + brief intro | COMMENT |
| LOW⚡ | Co-creation-projects/afei-GuessWhoAmI/backend/agents.py | 117 | # Step 2: pre-generate 3 hints via tavily search | COMMENT |
| LOW⚡ | Co-creation-projects/afei-GuessWhoAmI/backend/agents.py | 122 | # Step 3: create role-play Agent | COMMENT |
| LOW | docs/chapter7/Chapter7-Building-Your-Agent-Framework.md | 2000 | # Step 1: Search for information | COMMENT |
| LOW | docs/chapter7/Chapter7-Building-Your-Agent-Framework.md | 2007 | # Step 2: Perform calculations based on search results (if needed) | COMMENT |
| LOW⚡ | docs/chapter9/Chapter9-Context-Engineering.md | 1824 | # Step 1: View project structure | COMMENT |
| LOW⚡ | docs/chapter9/Chapter9-Context-Engineering.md | 1827 | # Step 2: Enter source code directory | COMMENT |
| LOW⚡ | docs/chapter9/Chapter9-Context-Engineering.md | 1830 | # Step 3: Find specific files | COMMENT |
| LOW⚡ | docs/chapter9/Chapter9-Context-Engineering.md | 1833 | # Step 4: View file content | COMMENT |
| LOW⚡ | docs/chapter9/Chapter9-Context-Engineering.md | 2137 | # Step 1: Execute preprocessing based on mode | COMMENT |
| LOW⚡ | docs/chapter9/Chapter9-Context-Engineering.md | 2140 | # Step 2: Retrieve relevant notes | COMMENT |
| LOW⚡ | docs/chapter9/Chapter9-Context-Engineering.md | 2144 | # Step 3: Build optimized context | COMMENT |
| LOW⚡ | docs/chapter9/Chapter9-Context-Engineering.md | 2152 | # Step 4: Call LLM | COMMENT |
| LOW⚡ | docs/chapter9/Chapter9-Context-Engineering.md | 2156 | # Step 5: Post-processing | COMMENT |
| LOW⚡ | docs/chapter9/Chapter9-Context-Engineering.md | 2159 | # Step 6: Update conversation history | COMMENT |
| LOW | docs/chapter9/Chapter9-Context-Engineering.md | 1850 | # Step 1: View project root directory | COMMENT |
| LOW | docs/chapter9/Chapter9-Context-Engineering.md | 1862 | # Step 2: View source code directory structure | COMMENT |
| LOW | docs/chapter9/Chapter9-Context-Engineering.md | 1866 | # Step 3: Search for specific patterns | COMMENT |
| LOW⚡ | …s/chapter10/Chapter10-Agent-Communication-Protocols.md | 968 | # Step 1: GitHub search | COMMENT |
| LOW⚡ | …s/chapter10/Chapter10-Agent-Communication-Protocols.md | 1444 | # Step 1: Research | COMMENT |
| LOW⚡ | …s/chapter10/Chapter10-Agent-Communication-Protocols.md | 1448 | # Step 2: Write | COMMENT |
| LOW⚡ | …s/chapter10/Chapter10-Agent-Communication-Protocols.md | 1452 | # Step 3: Edit | COMMENT |
| LOW | …s/chapter10/Chapter10-Agent-Communication-Protocols.md | 311 | # Step 1: Define functions for each LLM provider | COMMENT |
| LOW | …s/chapter10/Chapter10-Agent-Communication-Protocols.md | 345 | # Step 2: Implement tool functions yourself | COMMENT |
| LOW | …s/chapter10/Chapter10-Agent-Communication-Protocols.md | 354 | # Step 3: Handle different model response formats | COMMENT |
| LOW | …s/chapter10/Chapter10-Agent-Communication-Protocols.md | 371 | # Step 1: Connect to community-provided MCP server (no need to implement yourself) | COMMENT |
| LOW | …s/chapter10/Chapter10-Agent-Communication-Protocols.md | 380 | # Step 2: Unified calling method (model-independent) | COMMENT |
| LOW | …s/chapter10/Chapter10-Agent-Communication-Protocols.md | 391 | # Step 3: Any model supporting MCP can use it | COMMENT |
| LOW | …s/chapter10/Chapter10-Agent-Communication-Protocols.md | 979 | # Step 2: Generate report | COMMENT |
| LOW | …s/chapter10/Chapter10-Agent-Communication-Protocols.md | 1002 | # Step 3: Save report | STRING |
| LOW⚡ | …cs/chapter13/Chapter13-Intelligent-Travel-Assistant.md | 572 | # Step 1: Attraction search | STRING |
| LOW⚡ | …cs/chapter13/Chapter13-Intelligent-Travel-Assistant.md | 577 | # Step 2: Weather query | STRING |
| LOW⚡ | …cs/chapter13/Chapter13-Intelligent-Travel-Assistant.md | 582 | # Step 3: Hotel recommendation | STRING |
| LOW⚡ | …cs/chapter13/Chapter13-Intelligent-Travel-Assistant.md | 587 | # Step 4: Integrate and generate plan | STRING |
| LOW⚡ | …cs/chapter13/Chapter13-Intelligent-Travel-Assistant.md | 593 | # Step 5: Parse JSON | STRING |
| LOW⚡ | …cs/chapter12/Chapter12-Agent-Performance-Evaluation.md | 928 | # Step 1: Quick test (5 samples) | COMMENT |
| LOW⚡ | …cs/chapter12/Chapter12-Agent-Performance-Evaluation.md | 931 | # Step 2: Medium-scale test (50 samples) | COMMENT |
| LOW⚡ | …cs/chapter12/Chapter12-Agent-Performance-Evaluation.md | 935 | # Step 3: Full evaluation (all samples) | COMMENT |
| LOW⚡ | …cs/chapter12/Chapter12-Agent-Performance-Evaluation.md | 1777 | # Step 1: Run HelloAgents evaluation | COMMENT |
| LOW⚡ | …cs/chapter12/Chapter12-Agent-Performance-Evaluation.md | 1780 | # Step 2: Export GAIA format results | COMMENT |
| LOW⚡ | …cs/chapter12/Chapter12-Agent-Performance-Evaluation.md | 1784 | # Step 3: Generate evaluation report | COMMENT |
| LOW | …cs/chapter12/Chapter12-Agent-Performance-Evaluation.md | 2441 | # Step 1: Generate AIME problems | COMMENT |
| LOW | …cs/chapter12/Chapter12-Agent-Performance-Evaluation.md | 2448 | # Step 2: Evaluation | COMMENT |
| LOW | …cs/chapter12/Chapter12-Agent-Performance-Evaluation.md | 2489 | # Step 3: Generate comprehensive report | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …projects/Yixiang-Wu-LearningAgent/core/file_manager.py | 100 | 读取学习计划 Args: domain: 领域名称 Returns: 计划内容 Raises: | STRING |
| HIGH | …/YYHDBL-HelloCodeAgentCli/tools/builtin/memory_tool.py | 52 | 执行工具 - Tool基类要求的接口 Args: parameters: 工具参数字典,必须包含action参数 Returns: 执行结果字符串 | STRING |
| HIGH | …YHDBL-HelloCodeAgentCli/tools/builtin/terminal_tool.py | 139 | 执行工具的主入口方法 根据参数解析命令并执行,包含完整的安全检查流程: 1. 参数验证 - 确保输入参数格式正确且必要参数存在 2. 命令解析和分类 - 将命令字符串解析为可 | STRING |
| HIGH | …jects/YYHDBL-HelloCodeAgentCli/tools/builtin/search.py | 69 | 执行搜索 Args: parameters: 包含input参数的字典 Returns: 搜索结果 | STRING |
| HIGH | …HDBL-HelloCodeAgentCli/tools/builtin/protocol_tools.py | 340 | 执行 MCP 操作 Args: parameters: 包含以下参数的字典 - action: 操作类型 (list_tools, call_too | STRING |
| HIGH | …HDBL-HelloCodeAgentCli/tools/builtin/protocol_tools.py | 559 | 执行 A2A 操作 Args: parameters: 包含以下参数的字典 - action: 操作类型 (ask, get_inf | STRING |
| HIGH | …HDBL-HelloCodeAgentCli/tools/builtin/protocol_tools.py | 688 | 执行 ANP 操作 Args: parameters: 包含以下参数的字典 - action: 操作类型 (register_ser | STRING |
| HIGH | Co-creation-projects/melxy1997-ColumnWriter/utils.py | 26 | 从响应中提取 JSON Args: response: LLM 响应文本 required_fields: 必需的字段列表,用于验证和优先选 | STRING |
| HIGH | …ojects/AstrumPush-Smart-Recipe-Agent/protocol_tools.py | 352 | 执行 MCP 操作 Args: parameters: 包含以下参数的字典 - action: 操作类型 (list_tools, call_too | STRING |
| HIGH | …ojects/AstrumPush-Smart-Recipe-Agent/protocol_tools.py | 597 | 执行 A2A 操作 Args: parameters: 包含以下参数的字典 - action: 操作类型 (ask, get_inf | STRING |
| HIGH | …ojects/AstrumPush-Smart-Recipe-Agent/protocol_tools.py | 726 | 执行 ANP 操作 Args: parameters: 包含以下参数的字典 - action: 操作类型 (register_ser | STRING |
| HIGH | …ects/lcyting-StockSage-agent/agents/sentiment_agent.py | 76 | 创建舆情分析Agent Args: api_key: 东方财富MX_APIKEY,不提供则从环境变量读取 llm: HelloAgentsLLM实例(必需),不提供则从环境变量自动创建 | STRING |
| HIGH | …lcyting-StockSage-agent/agents/tools/mx_search_tool.py | 85 | 执行金融资讯搜索 Args: parameters: {"query": "自然语言查询"} Returns: 格式化的搜索结果文本 | STRING |
| HIGH | …s/lcyting-StockSage-agent/agents/tools/mx_data_tool.py | 77 | 执行金融数据查询 Args: parameters: {"query": "自然语言查询"} Returns: 格式化的查询结果文本 | STRING |
| HIGH | …ts/afei-GuessWhoAmI/backend/tools/search_image_tool.py | 90 | Search Wikipedia for images matching the query. Args: parameters: dict with key 'query' - | STRING |
| HIGH | …s/afei-GuessWhoAmI/backend/tools/tavily_search_tool.py | 31 | Execute web search Args: parameters: dict with key 'query' - the search query string | STRING |
| HIGH | code/chapter10/my_mcp_server.py | 71 | 除法计算器 Args: a: 被除数 b: 除数 Returns: 两数之商 Raises: ValueErro | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …on-projects/YYHDBL-HelloCodeAgentCli/tools/registry.py | 0 | 直接注册函数作为工具(简便方式) args: name: 工具名称 description: 工具描述 func: 工具函数,接受字符串参数,返回字符串结果 | STRING |
| HIGH | …t/HelloAgents Optimized/hello_agents/tools/registry.py | 0 | 直接注册函数作为工具(简便方式) args: name: 工具名称 description: 工具描述 func: 工具函数,接受字符串参数,返回字符串结果 | STRING |
| HIGH | docs/chapter7/第七章 构建你的Agent框架.md | 0 | 直接注册函数作为工具(简便方式) args: name: 工具名称 description: 工具描述 func: 工具函数,接受字符串参数,返回字符串结果 | STRING |
| HIGH | …ojects/YYHDBL-HelloCodeAgentCli/memory/rag/pipeline.py | 0 | search with query expansion using unified embedding and qdrant. | STRING |
| HIGH | docs/chapter8/Chapter8-Memory-and-Retrieval.md | 0 | search with query expansion using unified embedding and qdrant. | STRING |
| HIGH | docs/chapter8/第八章 记忆与检索.md | 0 | search with query expansion using unified embedding and qdrant. | STRING |
| HIGH | …ing-StockSage-agent/skills/智能选股/mx-xuangu/mx_xuangu.py | 0 | 初始化客户端 :param api_key: mx api key,如果不提供则从环境变量 mx_apikey 读取 | STRING |
| HIGH | …lcyting-StockSage-agent/skills/金融数据/mx-data/mx_data.py | 0 | 初始化客户端 :param api_key: mx api key,如果不提供则从环境变量 mx_apikey 读取 | STRING |
| HIGH | …ing-StockSage-agent/skills/资讯搜索/mx-search/mx_search.py | 0 | 初始化客户端 :param api_key: mx api key,如果不提供则从环境变量 mx_apikey 读取 | STRING |
| HIGH | code/chapter12/05_gaia_quick_start.py | 0 | you are a general ai assistant. i will ask you a question. report your thoughts, and finish your answer with the followi | STRING |
| HIGH | code/chapter12/06_gaia_best_practices.py | 0 | you are a general ai assistant. i will ask you a question. report your thoughts, and finish your answer with the followi | STRING |
| HIGH | docs/chapter12/第十二章 智能体性能评估.md | 0 | you are a general ai assistant. i will ask you a question. report your thoughts, and finish your answer with the followi | STRING |
| HIGH | …cs/chapter12/Chapter12-Agent-Performance-Evaluation.md | 0 | you are a general ai assistant. i will ask you a question. report your thoughts, and finish your answer with the followi | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …YHDBL-HelloCodeAgentCli/tools/builtin/terminal_tool.py | 61 | COMMENT | |
| LOW | …-creation-projects/yangyousan123-CodePlanAgent/demo.py | 81 | # print("\n" + "=" * 60) | COMMENT |
| LOW | …-creation-projects/yangyousan123-CodePlanAgent/demo.py | 101 | # # 生成代码计划 | COMMENT |
| LOW | …cts/monkeyhlj-NetworkHealthReportAgent/src/__init__.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | …on-projects/lcyting-StockSage-agent/agents/__init__.py | 1 | # 智能股票分析助手 — 智能体层 | COMMENT |
| LOW | …jects/lcyting-StockSage-agent/agents/tools/__init__.py | 1 | # 自定义工具封装层 | COMMENT |
| LOW | …jects/lcyting-StockSage-agent/backend/requirements.txt | 1 | # 智能股票分析助手 — 后端依赖 | COMMENT |
| LOW | …jects/lcyting-StockSage-agent/backend/requirements.txt | 21 | passlib[bcrypt]>=1.7.4 | COMMENT |
| LOW | …jects/lcyting-StockSage-agent/backend/requirements.txt | 41 | # ========================================================================= | COMMENT |
| LOW | code/chapter12/05_gaia_quick_start.py | 61 | # 级别: Level 1 | COMMENT |
| LOW | code/chapter12/05_gaia_quick_start.py | 81 | # 评估结果: | COMMENT |
| LOW | code/chapter12/09_data_generation_win_rate.py | 121 | # ============================================================ | COMMENT |
| LOW | code/chapter12/09_data_generation_win_rate.py | 141 | # | COMMENT |
| LOW | code/chapter12/09_data_generation_win_rate.py | 161 | # 对比 2: | COMMENT |
| LOW | code/chapter12/02_bfcl_quick_start.py | 21 | agent=agent, | COMMENT |
| LOW | code/chapter12/02_bfcl_quick_start.py | 41 | # | COMMENT |
| LOW | code/chapter12/07_data_generation_complete_flow.py | 61 | # 评估模型: gpt-4o | COMMENT |
| LOW | code/chapter12/07_data_generation_complete_flow.py | 81 | # | COMMENT |
| LOW | code/chapter12/07_data_generation_complete_flow.py | 101 | # ✅ Win Rate评估完成 | COMMENT |
| LOW | code/chapter12/08_data_generation_llm_judge.py | 121 | # LLM Judge评估 | COMMENT |
| LOW | code/chapter12/08_data_generation_llm_judge.py | 141 | # 评估结果: | COMMENT |
| LOW | code/chapter12/08_data_generation_llm_judge.py | 161 | # 总体平均: 4.62/5 | COMMENT |
| LOW | …s/chapter10/Chapter10-Agent-Communication-Protocols.md | 461 | param_type = param_info.get('type', 'any') | COMMENT |
| LOW | …s/chapter10/Chapter10-Agent-Communication-Protocols.md | 1081 | # - Search latest tech news (Perplexity) | COMMENT |
| LOW | docs/chapter10/第十章 智能体通信协议.md | 461 | param_type = param_info.get('type', 'any') | COMMENT |
| LOW | docs/chapter10/第十章 智能体通信协议.md | 1081 | # - 搜索最新技术资讯(Perplexity) | COMMENT |
| LOW | docs/chapter16/第十六章 毕业设计.md | 421 | # 示例2:复杂场景 | COMMENT |
| LOW | Extra-Chapter/Extra07-环境配置.md | 281 | # 测试 LLM API - ModelScope(如果您使用的是 ModelScope,请取消注释并替换配置) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …-projects/allen2000-FashionDailyDress/fashion_agent.py | 76 | CODE | |
| LOW | …-projects/allen2000-FashionDailyDress/fashion_agent.py | 113 | CODE | |
| LOW | …allen2000-FashionDailyDress/multi_agent_coordinator.py | 139 | CODE | |
| LOW | …s/Yixiang-Wu-LearningAgent/specialist/repo_analyzer.py | 285 | CODE | |
| LOW | …/Yixiang-Wu-LearningAgent/specialist/paper_analyzer.py | 294 | CODE | |
| LOW | …HDBL-HelloCodeAgentCli/tools/builtin/protocol_tools.py | 57 | CODE | |
| LOW | …ojects/YYHDBL-HelloCodeAgentCli/memory/rag/pipeline.py | 741 | CODE | |
| LOW | …rojects/YYHDBL-HelloCodeAgentCli/agents/react_agent.py | 53 | CODE | |
| LOW | …Shawnxyxy-HealthRecordAgent/backend/api/routes/diet.py | 81 | CODE | |
| LOW | Co-creation-projects/Apricity-InnocoreAI/diagnose.py | 168 | CODE | |
| LOW | …entPlatformBase/agents/rss_digest/src/rss_digest/db.py | 151 | CODE | |
| LOW | …mic-Data-Agent/src/data_analysis_agent/agent_runner.py | 1211 | CODE | |
| LOW | …ikai-SentenceExpandAgent/backend/src/routers/expand.py | 52 | CODE | |
| LOW | …ojects/AstrumPush-Smart-Recipe-Agent/protocol_tools.py | 69 | CODE | |
| LOW | …ryReviewAgent/historical_review/debate_orchestrator.py | 83 | CODE | |
| LOW | …ryReviewAgent/historical_review/debate_orchestrator.py | 256 | CODE | |
| LOW | code/chapter8/11_Q&A_Assistant.py | 179 | CODE | |
| LOW | code/chapter3/Transformer.py | 38 | CODE | |
| LOW | code/chapter3/Transformer.py | 63 | CODE | |
| LOW | code/chapter3/Transformer.py | 222 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …eation-projects/melxy1997-ColumnWriter/orchestrator.py | 95 | # Step 1: 规划专栏结构(使用 PlanAndSolveAgent) | COMMENT |
| LOW⚡ | …eation-projects/melxy1997-ColumnWriter/orchestrator.py | 103 | # Step 2: 为每个子话题创建内容树 | COMMENT |
| LOW⚡ | …eation-projects/melxy1997-ColumnWriter/orchestrator.py | 110 | # Step 3: 组装完整专栏 | COMMENT |
| LOW⚡ | …ts/lcyting-StockSage-agent/agents/coordinator_agent.py | 121 | # Step 3: 若需要投资顾问,将数据+舆情结果传递给它 | COMMENT |
| LOW⚡ | …ts/lcyting-StockSage-agent/agents/coordinator_agent.py | 130 | # Step 4: 协调者整理输出,流式返回给用户 | COMMENT |
| LOW⚡ | Co-creation-projects/afei-GuessWhoAmI/backend/agents.py | 112 | # Step 1: LLM generates subject name + brief intro | COMMENT |
| LOW⚡ | Co-creation-projects/afei-GuessWhoAmI/backend/agents.py | 117 | # Step 2: pre-generate 3 hints via tavily search | COMMENT |
| LOW⚡ | Co-creation-projects/afei-GuessWhoAmI/backend/agents.py | 122 | # Step 3: create role-play Agent | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …jects/jjyaoao-CodeReviewAgent/outputs/review_report.md | 116 | send_email("admin@example.com", "用户管理系统的平均年龄已更新") | CODE |
| LOW | code/chapter5/HelloAgent_fastgptCase.json | 143 | "placeholder": "app:workflow.form_input_description_placeholder", | CODE |
| LOW | code/chapter5/HelloAgent_fastgptCase.json | 484 | "placeholder": "common:core.module.input.description.Response content", | CODE |
| LOW | code/chapter5/HelloAgent_fastgptCase.json | 653 | "placeholder": "common:core.app.tip.chatNodeSystemPromptTip", | CODE |
| LOW | code/chapter5/HelloAgent_fastgptCase.json | 895 | "placeholder": "common:core.app.tip.chatNodeSystemPromptTip", | CODE |
| LOW | code/chapter5/HelloAgent_fastgptCase.json | 1104 | "placeholder": "common:core.app.tip.chatNodeSystemPromptTip", | CODE |
| LOW | code/chapter5/HelloAgent_fastgptCase.json | 1874 | "placeholder": "common:core.module.input.placeholder.Classify background", | CODE |
| LOW | code/chapter5/HelloAgent_fastgptCase.json | 2084 | "placeholder": "common:core.app.tip.chatNodeSystemPromptTip", | CODE |
| LOW | code/chapter5/HelloAgent_fastgptCase.json | 2288 | "placeholder": "common:core.app.tip.chatNodeSystemPromptTip", | CODE |
| LOW | code/chapter5/HelloAgent_fastgptCase.json | 2524 | "placeholder": "common:core.app.tip.chatNodeSystemPromptTip", | CODE |
| LOW | code/chapter5/HelloAgent_fastgptCase.json | 3407 | "placeholder": "common:core.module.input.description.Response content", | CODE |
| LOW | code/chapter5/HelloAgent_fastgptCase.json | 3436 | "placeholder": "workflow:input_variable_list", | CODE |
| LOW | code/chapter5/HelloAgent_fastgptCase.json | 3585 | "placeholder": "common:core.app.tip.chatNodeSystemPromptTip", | CODE |
| LOW | code/chapter5/HelloAgent_fastgptCase.json | 3794 | "placeholder": "common:core.app.tip.chatNodeSystemPromptTip", | CODE |
| LOW | code/chapter5/HelloAgent_fastgptCase.json | 4003 | "placeholder": "common:core.app.tip.chatNodeSystemPromptTip", | CODE |
| LOW | code/chapter5/HelloAgent_fastgptCase.json | 4486 | "placeholder": "workflow:input_variable_list", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ects/usernamedadad-AutoFlow/frontend/package-lock.json | 2636 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz", | CODE |
| MEDIUM | Co-creation-projects/Apricity-InnocoreAI/models/task.py | 79 | analysis_type: str = "comprehensive" # comprehensive, methodology, findings | CODE |
| MEDIUM | …on-projects/Apricity-InnocoreAI/api/routes/analysis.py | 45 | analysis_type: str = "summary" # summary, innovation, comparison, comprehensive | CODE |
| MEDIUM | …on-projects/Apricity-InnocoreAI/api/routes/workflow.py | 18 | analysis_type: str = "summary" # summary, innovation, comparison, comprehensive | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …tion-projects/Apricity-InnocoreAI/agents/controller.py | 104 | async def execute_task(self, task_id: str) -> Dict[str, Any]: | CODE |
| LOW | …ation-projects/Apricity-InnocoreAI/api/routes/tasks.py | 90 | async def execute_task(task_id: str): | CODE |
| LOW | …projects/huailishang-AgentPlatformBase/backend/main.py | 97 | def run_task(task_id: str, background: bool = True) -> TaskRecord: | CODE |
| LOW | code/chapter8/04_RAGTool_MarkItDown_Pipeline.py | 292 | def process_data(data): | CODE |
| LOW | code/chapter9/codebase/data_processor.py | 10 | def process_data(data: List[Dict[str, Any]]) -> pd.DataFrame: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …-projects/lcyting-StockSage-agent/scripts/build_exe.py | 294 | print(" 或 CMD: set BUILD_EXE=1 && python scripts/build_exe.py") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …cs/chapter6/Chapter6-Framework-Development-Practice.md | 806 | with_task_specify=False, # In this example, we directly use the given task_prompt | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …cs/chapter6/Chapter6-Framework-Development-Practice.md | 821 | # Call init_chat() to get the initial conversation message generated by AI | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …rojects/haoye2-UnivesalAgent/src/tools/browser_tool.py | 841 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/JJason-DeepCastAgent/backend/scripts/verify_ffmpeg.py | 19 | # Check if file exists | COMMENT |