← 返回
AI智能 Key

Exa Cli

Manage Exa AI via CLI - search, contents, answer, context. Use when user mentions 'exa', 'web search', 'find similar pages', 'ai answer', or wants to interac...
通过CLI管理Exa AI,支持搜索、内容获取、AI回答及上下文功能。当用户提及'exa'、网页搜索、相似页面或AI回答时使用。
melvynx
AI智能 clawhub v0.1.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 660
下载
💾 10
安装
1
版本
#latest

概述

exa-cli

Setup

If exa-cli is not installed, install it from GitHub:

npx api2cli install Melvynx/exa-cli

If exa-cli is not found, install and build it:

bun --version || curl -fsSL https://bun.sh/install | bash
npx api2cli bundle exa
npx api2cli link exa

api2cli link adds ~/.local/bin to PATH automatically. The CLI is available in the next command.

Always use --json flag when calling commands programmatically.

Authentication

exa-cli auth set "your-token"
exa-cli auth test

Resources

search

CommandDescription
----------------------
exa-cli search query --query "latest AI research" --jsonSearch web with natural language query
exa-cli search query --query "best React frameworks" --type neural --num-results 5 --jsonNeural search with custom result count
exa-cli search query --query "SpaceX news" --type keyword --jsonKeyword-based search
exa-cli search query --query "AI trends" --start-date 2024-01-01 --jsonSearch with date filter
exa-cli search query --query "research" --category news --jsonSearch by category
exa-cli search query --query "frameworks" --include-domains github.com,stackoverflow.com --jsonInclude specific domains
exa-cli search query --query "news" --exclude-domains twitter.com --jsonExclude specific domains
exa-cli search query --query "topic" --text --jsonInclude page text in results
exa-cli search query --query "topic" --summary --jsonInclude AI summary for each result
exa-cli search query --query "topic" --highlights --jsonInclude text highlights
exa-cli search find-similar --url "https://example.com" --jsonFind similar pages to URL
exa-cli search find-similar --url "https://example.com" --num-results 5 --text --jsonFind similar with text content

contents

CommandDescription
----------------------
exa-cli contents get --urls "https://example.com" --jsonGet page contents for URL
exa-cli contents get --urls "https://a.com,https://b.com" --jsonGet contents for multiple URLs
exa-cli contents get --urls "https://example.com" --text --jsonGet contents with full page text
exa-cli contents get --urls "https://example.com" --summary --jsonGet contents with AI summary
exa-cli contents get --urls "https://example.com" --highlights --jsonGet contents with text highlights

answer

CommandDescription
----------------------
exa-cli answer query --query "What is the latest valuation of SpaceX?" --jsonGet AI answer with web citations
exa-cli answer query --query "Who won the 2024 election?" --text --jsonAnswer with source text included
exa-cli answer query --query "Explain quantum computing" --stream --jsonStream answer response

context

CommandDescription
----------------------
exa-cli context get --query "how to use React hooks" --jsonGet web context for query
exa-cli context get --query "Python async await patterns" --tokens-num 8000 --jsonGet context with token limit

Global Flags

All commands support: --json, --format , --verbose, --no-color, --no-header

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-19 23:42 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,355 📥 318,032
developer-tools

api2cli

melvynx
为任意 REST API 生成或发现 CLI + AgentSkill。适用场景:用户说「为 X 创建 CLI」「包装此 API」「搜索是否存在 CLI」「安装一个ex…」
★ 0 📥 784
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 711 📥 243,710