语义搜索工具_cli-anything-exa

📅 2026/8/7 12:45:21
语义搜索工具_cli-anything-exa
以下为本文档的中文说明该技能提供代理原生的CLI工具用于Exa网页搜索和内容检索工作流。Exa原Metaphor是一个基于神经网络的搜索引擎能够理解语义查询意图并提供精准的搜索结果。该CLI工具封装了Exa API的核心功能支持自然语言查询、内容提取、相关推荐和批量搜索等操作。适用于需要在终端环境中快速进行语义搜索和信息检索的AI代理和开发者。该技能将Exa的深度学习搜索能力与简洁的命令行接口相结合帮助用户在无需编写复杂API调用代码的情况下获得高质量的搜索结果。该技能提供了详细的操作指南和最佳实践帮助用户快速上手并深入掌握。通过系统的功能模块划分和丰富的应用场景说明用户可以在实际项目中有效运用该技能提升工作效率。该技能注重实用性和可操作性涵盖从基础配置到高级功能的完整知识体系满足不同层次用户的学习需求。持续更新和优化的内容确保用户始终能够接触到最新的技术发展和行业实践。通过此技能的学习和应用用户可以减少摸索时间快速获得可用的解决方案将精力集中在核心业务逻辑和创新工作上从而在技术快速迭代的环境中保持竞争力。该技能的模块化设计使其易于扩展和定制用户可以根据自身需求灵活调整应用方式实现最大化的价值产出。该技能整合了常见的设计模式和最佳实践提供了清晰的学习路径和参考资料帮助用户在短时间内建立起完整的知识框架并有能力在实际项目中灵活运用所学内容解决问题。Exa CLI SkillIdentityName: cli-anything-exaVersion: 1.0.0Category: searchEntry Point:cli-anything-exaWhat This CLI DoesProvides an agent-native command-line interface to the Exa API — a neural search engineoptimised for AI agent workflows. Supports web search across multiple modes (fast, deep,deep-reasoning) and fetching full-text or highlighted page contents.PrerequisitesPython 3.10pip install cli-anything-exaexport EXA_API_KEYyour-api-key(get one at https://dashboard.exa.ai/api-keys)Installationpipinstallgithttps://github.com/HKUDS/CLI-Anything.git#subdirectoryexa/agent-harnessCommand Referencesearch — Web searchcli-anything-exa searchquery[OPTIONS]Options:--typeauto|fast|instant|deep|deep-reasoning(default: auto)--num-results /-n1–100(default:10)--categorycompany|people|research-paper|news|personal-site|financial-report--contenthighlights|text|summary|none(default: highlights)--freshnesssmart|always|never(default: smart)--include-domains DOMAIN(repeatable)--exclude-domains DOMAIN(repeatable)--fromDATE ISO8601start publisheddate--toDATE ISO8601end publisheddate--locationCC Two-letter country codeforgeo-biascontents — Fetch page contentscli-anything-exa contentsurl[url...][--content text|highlights|summary][--freshness smart|always|never]server status — Verify API key and connectivitycli-anything-exa server statusJSON OutputAll commands support--jsonat the root level for machine-readable output:cli-anything-exa--jsonsearchlatest LLM papers--num-results5Common Agent PatternsFast keyword lookupcli-anything-exa--jsonsearchsite:arxiv.org transformer architectures--typefast--contenthighlightsDeep research on a topiccli-anything-exa--jsonsearchEU AI Act compliance requirements 2024--typedeep--contenttextAcademic paper discoverycli-anything-exa--jsonsearchretrieval augmented generation--categoryresearch-paper --num-results20Company intelligencecli-anything-exa--jsonsearchAnthropic funding history--categorycompanyNews monitoringcli-anything-exa--jsonsearchAI regulation news--categorynews--from2024-01-01Fetch full content for summarisationcli-anything-exa--jsoncontents https://example.com/article--contenttextInteractive REPLcli-anything-exa# No subcommand → enters REPLType commands without thecli-anything-exaprefix. Typeexitorquitto leave.Noteshighlightscontent mode is 10× more token-efficient thantext— prefer it for agent pipelines--type deeptriggers multi-step reasoning; slower but synthesises across many sources--category companyand--category peopledo not support date or domain-exclude filtersCost per query is included in JSON output undercost_dollars