God, Love, News, Event, Entertainment, Amebo,..... All about Bringing out the best in you...
Show HN: Trieve CLI – Terminal-Based LLM Agent Loop with Search Tool for PDFs https://ift.tt/vD2dEMm
Show HN: Trieve CLI – Terminal-Based LLM Agent Loop with Search Tool for PDFs Hi HN, I built a CLI for uploading documents and querying them with an LLM agent that uses search tools rather than stuffing everything into the context window. I recorded a demo using the CrossFit 2025 rulebook that shows how this approach compares to traditional RAG and direct context injection[1]. The core insight is that LLMs running in loops with tool access are unreasonably effective at this kind of knowledge retrieval task[2]. Instead of hoping the right chunks make it into your context, the agent can iteratively search, refine queries, and reason about what it finds. The CLI handles the full workflow: ```bash trieve upload ./document.pdf trieve ask "What are the key findings?" ``` You can customize the RAG behavior, check upload status, and the responses stream back with expandable source references. I really enjoy having this workflow available in the terminal and I'm curious if others find this paradigm as compelling as I do. Considering adding more commands and customization options if there's interest. The tool is free for up to 1k document chunks. Source code is on GitHub[3] and available via npm[4]. Would love any feedback on the approach or CLI design! [1]: https://www.youtube.com/watch?v=SAV-esDsRUk [2]: https://ift.tt/9RemOy1 [3]: https://ift.tt/o2sTdIa... [4]: https://ift.tt/GKm31pE https://ift.tt/DS8ju9A June 18, 2025 at 03:52AM
Subscribe to:
Post Comments (Atom)
Show HN: Mira – Open-source and self-hosted AI code reviewer https://ift.tt/BxGQSE5
Show HN: Mira – Open-source and self-hosted AI code reviewer Hey HN, I'm Jay, co-creator of Mira. An open-source, self-hosted AI code re...
-
submitted by /u/Dull_Tonight [link] [comments] source https://www.reddit.com/r/worldnews/comments/pehy48/housing_secretary_robert_je...
-
Show HN: The Ordeal Visualizer I'm this time-blind... https://ift.tt/iNM3UDr July 8, 2025 at 12:20AM
-
Show HN: A Spotify player in the terminal with full feature parity https://ift.tt/oZgrl1Q July 18, 2024 at 02:57AM
No comments:
Post a Comment