Agent Context Isolation
中文简介正在准备中。当前显示原文说明。
parcadei/Continuous-Claude-v339462026年1月27日 更新
Search Tool Hierarchy
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
When searching code, use this decision tree:
Need CONCEPTUAL/SEMANTIC search?
(how does X work, find patterns, understand architecture)
→ Use LEANN (/leann-search) - embedding-based semantic search
→ PreToolUse hook auto-redirects semantic Grep queries
Need to understand code STRUCTURE?
(find function calls, class usages, refactor patterns)
→ Use AST-grep (/ast-grep-find)
Need to find TEXT in code?
→ Use Morph (/morph-search) - 20x faster
→ If no Morph API key: fall back to Grep tool
Simple one-off search?
→ Use built-in Grep tool directly
| Tool | Best For | Requires |
|---|---|---|
| LEANN | Semantic search: "how does caching work", "error handling patterns", conceptual queries | Index built |
| AST-grep | Structural patterns: "find all calls to foo()", refactoring, find usages by type | MCP server |
| Morph | Fast text search: "find files mentioning error", grep across codebase | API key |
| Grep | Literal patterns, class/function names, regex | Nothing (built-in) |
LEANN (semantic/conceptual):
AST-grep (structural):
Morph (text search):
Grep (literal):
class ProviderAdapterdef __init__# Search with semantic query
leann search opc-dev "how does blackboard communication work" --top-k 5
# List available indexes
leann list
# Rebuild index (when code changes)
leann build opc-dev --docs dir1 dir2 --no-recompute --no-compact --force
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Agent Context Isolation
中文简介正在准备中。当前显示原文说明。
Agent Orchestration Rules
中文简介正在准备中。当前显示原文说明。
Agentic Workflow Pattern
中文简介正在准备中。当前显示原文说明。
Guide for integrating Agentica SDK with Claude Code CLI proxy
中文简介正在准备中。当前显示原文说明。
Reference guide for Agentica multi-agent infrastructure APIs
中文简介正在准备中。当前显示原文说明。
Write reliable prompts for Agentica/REPL agents that avoid LLM instruction ambiguity
中文简介正在准备中。当前显示原文说明。