Show HN:Trieve CLI – 基于终端的LLM代理循环,带PDF搜索工具
Show HN: Trieve CLI – Terminal-Based LLM Agent Loop with Search Tool for PDFs

原始链接: https://github.com/devflowinc/trieve/tree/main/clients/cli

Trieve 是 devflowinc 在 GitHub 上的一个公共仓库。该仓库已被 fork 195 次,获得 2.2k 次 star,表明它在开发者社区中很受欢迎且实用。目前,该仓库有 7 个未解决的问题和 3 个 pull request。此外,该仓库没有追踪任何项目。开发者可以使用该仓库进行代码管理、问题跟踪、pull request 处理和讨论。

Skeptrune introduced Trieve CLI on Hacker News, a terminal-based tool for querying documents using an LLM agent. Unlike traditional RAG, Trieve utilizes a search tool within an LLM loop, enabling iterative search, query refinement, and reasoning for more effective knowledge retrieval. This approach avoids stuffing everything into the context window. The CLI simplifies document upload and querying: `trieve upload ./document.pdf` and `trieve ask "What are the key findings?"`. Users can customize RAG behavior and track upload progress, with responses streaming back with source references. A demo using the CrossFit 2025 rulebook illustrates its advantages over traditional RAG and direct context injection. Trieve CLI is free for up to 1k document chunks, and the source code is available on GitHub and npm. Skeptrune welcomes feedback on the approach and CLI design, considering further customization options based on user interest.
相关文章

原文
Skip to content
联系我们 contact @ memedata.com