{"id":48934722,"url":"https://github.com/valyuai/valyu-cli","last_synced_at":"2026-04-17T11:01:52.640Z","repository":{"id":348259832,"uuid":"1189726457","full_name":"valyuAI/valyu-cli","owner":"valyuAI","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-31T12:05:14.000Z","size":201,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-31T13:35:25.875Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/valyuAI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-23T15:55:07.000Z","updated_at":"2026-03-31T12:05:06.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/valyuAI/valyu-cli","commit_stats":null,"previous_names":["valyuai/valyu-cli"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/valyuAI/valyu-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valyuAI%2Fvalyu-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valyuAI%2Fvalyu-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valyuAI%2Fvalyu-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valyuAI%2Fvalyu-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valyuAI","download_url":"https://codeload.github.com/valyuAI/valyu-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valyuAI%2Fvalyu-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31926260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T10:35:34.458Z","status":"ssl_error","status_checked_at":"2026-04-17T10:35:09.472Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-17T11:01:51.581Z","updated_at":"2026-04-17T11:01:52.636Z","avatar_url":"https://github.com/valyuAI.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Valyu CLI\n\nThe official CLI for [Valyu](https://valyu.ai).\n\nBuilt for AI (or human) knowledge workers.\n\n```\n  ██╗   ██╗ █████╗ ██╗  ██╗   ██╗██╗   ██╗\n  ██║   ██║██╔══██╗██║  ╚██╗ ██╔╝██║   ██║\n  ██║   ██║███████║██║   ╚████╔╝ ██║   ██║\n  ╚██╗ ██╔╝██╔══██║██║    ╚██╔╝  ██║   ██║\n   ╚████╔╝ ██║  ██║███████╗██║   ╚██████╔╝\n    ╚═══╝  ╚═╝  ╚═╝╚══════╝╚═╝    ╚═════╝\n```\n\n## Install\n\n### cURL (macOS / Linux)\n\n```sh\ncurl -fsSL https://raw.githubusercontent.com/valyuAI/valyu-cli/main/install.sh | bash\n```\n\n### Node.js\n\n```sh\nnpm install -g @valyu/cli\n```\n\n### Homebrew (macOS / Linux)\n\n```sh\nbrew install valyuAI/cli/valyu\n```\n\n### PowerShell (Windows)\n\n```sh\nirm https://raw.githubusercontent.com/valyuAI/valyu-cli/main/install.ps1 | iex\n```\n\nThen authenticate:\n\n```bash\nvalyu login\n```\n\nGet your API key at [platform.valyu.ai](https://platform.valyu.ai).\n\n```bash\nvalyu search \"CRISPR base editing latest breakthroughs\"\nvalyu answer \"What drove Tesla's Q4 2024 earnings miss?\"\nvalyu sources --category markets\n```\n\n![Valyu CLI demo](docs/demo.png)\n\n---\n\n## Commands\n\n### `valyu search`\n\nSearch across web, academic, and proprietary data sources.\n\n```bash\n# Web search (default)\nvalyu search \"AI infrastructure investment\"\n\n# Specify a source type\nvalyu search paper \"transformer attention mechanisms\"\nvalyu search finance \"Apple AAPL earnings Q1 2026\"\nvalyu search bio \"CAR-T cell therapy phase 3 trials\"\nvalyu search sec \"Tesla 10-K 2024 risk factors\"\nvalyu search patent \"mRNA delivery lipid nanoparticles\"\nvalyu search economics \"US CPI inflation latest print\"\nvalyu search news \"Fed interest rate decision\"\n\n# Options\nvalyu search paper \"CRISPR\" -n 20          # more results\nvalyu search finance \"MSFT\" --json         # pipe-friendly JSON\n```\n\n### `valyu answer`\n\nGet an AI-synthesized answer from real-time search results. Streams by default.\n\n```bash\nvalyu answer \"What is the current state of nuclear fusion commercialisation?\"\nvalyu answer \"Summarise NVIDIA's competitive position in AI chips\" --fast\n```\n\n### `valyu contents`\n\nExtract clean content from any URL — articles, PDFs, financial reports.\n\n```bash\nvalyu contents https://example.com/report\nvalyu contents https://sec.gov/filing --summary\nvalyu contents https://arxiv.org/abs/2501.00001 --summary \"extract methodology and results\"\n```\n\n### `valyu deepresearch`\n\nAsync deep research — produces a full report, like a junior analyst.\n\n```bash\n# Start a research task\nvalyu deepresearch create \"Global AI compute infrastructure trends\"\n\n# Start and wait for completion\nvalyu deepresearch create \"CRISPR therapeutics market landscape\" --mode heavy --watch\n\n# Check on a running task\nvalyu deepresearch status \u003ctask-id\u003e\n\n# Poll until done\nvalyu deepresearch watch \u003ctask-id\u003e\n```\n\nResearch modes:\n\n| Mode       | Time       | Use for                          |\n|------------|------------|----------------------------------|\n| `fast`     | ~5 min     | Quick lookups, simple questions  |\n| `standard` | ~10-20 min | Balanced research (default)      |\n| `heavy`    | ~60 min    | In-depth analysis, long reports  |\n| `max`      | ~90 min    | Maximum depth and quality        |\n\n### `valyu sources`\n\nBrowse all available data sources with pricing.\n\n```bash\nvalyu sources                          # all 36+ sources\nvalyu sources --category markets       # financial data only\nvalyu sources --category research      # academic sources\n```\n\n### Other commands\n\n```bash\nvalyu login              # save API key\nvalyu logout             # remove saved key\nvalyu whoami             # show active key and profile\nvalyu doctor             # check setup and connectivity\nvalyu open               # open platform, docs, or API keys in browser\n```\n\n---\n\n## Flags\n\n| Flag | Description |\n|------|-------------|\n| `--api-key \u003ckey\u003e` | Override stored key for one request |\n| `--json` | Force JSON output (for scripting/pipes) |\n| `-q, --quiet` | No spinners, just JSON (implies `--json`) |\n| `-p, --profile \u003cname\u003e` | Use a named credential profile |\n\n---\n\n## Scripting and agents\n\nEvery command outputs clean JSON with `--json` or in non-TTY contexts:\n\n```bash\n# Pipe into jq\nvalyu search finance \"AAPL\" --json | jq '.results[].title'\n\n# In CI/CD\nRESULTS=$(valyu answer \"latest rate decision\" --quiet)\n\n# With environment variable\nVALYU_API_KEY=your_key valyu search web \"query\" --json\n```\n\n### Multiple profiles\n\n```bash\nvalyu login --profile work\nvalyu login --profile personal\nvalyu search web \"query\" --profile work\n```\n\n---\n\n## Agent skill\n\nThe CLI ships with a SKILL.md file that teaches AI coding agents how to use it - no MCP server needed, 4-32x cheaper in tokens.\n\n```\nnpx skills add @valyu/cli\n```\n\nThen agents can call:\n\n```\nValyu(search, \"CRISPR base editing\")\nValyu(answer, \"What drove NVDA earnings?\")\nValyu(contents, \"https://example.com\")\n```\n\n---\n\n## Data sources\n\n36+ proprietary and public data sources across:\n\n- **Web** - real-time web search\n- **Academic** - arXiv, PubMed, bioRxiv, medRxiv\n- **Financial** - stocks, earnings, balance sheets, cash flows, crypto, forex\n- **SEC** - 10-K, 10-Q, 8-K filings full text\n- **Patents** - global patent databases\n- **Biomedical** - clinical trials, FDA drug labels, ChEMBL, DrugBank\n- **Economic** - BLS, FRED, World Bank, USASpending\n\nSee all: `valyu sources`\n\n---\n\n## Links\n\n- [Platform](https://platform.valyu.ai) — manage keys, usage, billing\n- [Docs](https://docs.valyu.ai) — API reference\n- [npm](https://www.npmjs.com/package/@valyu/cli)\n\n---\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalyuai%2Fvalyu-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalyuai%2Fvalyu-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalyuai%2Fvalyu-cli/lists"}