frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Trieve CLI – Terminal-based LLM agent loop with search tool for PDFs

https://github.com/devflowinc/trieve/tree/main/clients/cli
35•skeptrune•7mo ago
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://news.ycombinator.com/item?id=43998472 [3]: https://github.com/devflowinc/trieve/blob/main/clients/cli/i... [4]: https://www.npmjs.com/package/trieve-cli

Comments

jlarocco•7mo ago
I don't really understand the point of it. It seems like a very shallow replacement for skimming (or god forbid reading) the paper, without the benefit of absorbing any of the material yourself.

I have the same critique for a lot of AI tools. We're replacing the meaningful parts of content creation and consumption with a computer so we can pass it off as having created or understood it ourselves. It just seems pointless.

skeptrune•7mo ago
Sometimes you just want a quick answer to a question though. I agree that tools like this aren't something I'd use to consume some content I'm actually interested in or produce something I think of as high quality.

However, I also want to flag that the cool part about the agent loop is that it feels less like skimming since you can watch the LLM search, evaluate results, search again, evaluate results, and repeat until it's happy that it has enough information to actually answer.

behnamoh•7mo ago
Your comment got me thinking about what it really means to understand something. Is it just about remembering the facts or the ideas? Or is it more about being aware of them? I’ve watched a ton of YouTube videos and read a bunch of articles about physics, but I can’t remember how to derive those equations a few weeks later. So, I don’t feel like I really understand them. But if I have an idea about how to do it, how much of it is just memory, and how much is actually understanding the concept? That’s been a question I’ve been thinking about for a long time. With all the AI stuff, we’ve figured out how to deal with the memory part, so we don’t have to rely on our own memories as much. But that still leaves the question: what does understanding really mean?
dingnuts•7mo ago
I've thought about this a lot in the context of "why do I need to learn facts when I can just look them up?"

Understanding a concept means you are able to use it in higher order reasoning. Think about the rote practice necessary to build intuition in mathematics until you're able to use the concept being learned for the next concept which in turn relies on it.

Once that intuition is built, that's understanding.

BeetleB•7mo ago
> It seems like a very shallow replacement for skimming

Actually, I think we have it all backwards. We're taught to skim because such tools didn't exist. Once (if!) they are reliable enough, skimming should become a dead art, like shorthand is.

One should know how to read well (in detail), when one needs to. Everything else can be delegated. Indeed, this is why people in high positions don't skim - they can afford secretaries and underlings to do the skimming for them.

Ask HN: How much of your token use is fixing the bugs Claude Code causes?

1•laurex•2m ago•0 comments

Show HN: Agents – Sync MCP Configs Across Claude, Cursor, Codex Automatically

https://github.com/amtiYo/agents
1•amtiyo•3m ago•0 comments

Hello

1•otrebladih•4m ago•0 comments

FSD helped save my father's life during a heart attack

https://twitter.com/JJackBrandt/status/2019852423980875794
1•blacktulip•7m ago•0 comments

Show HN: Writtte – Draft and publish articles without reformatting, anywhere

https://writtte.xyz
1•lasgawe•9m ago•0 comments

Portuguese icon (FROM A CAN) makes a simple meal (Canned Fish Files) [video]

https://www.youtube.com/watch?v=e9FUdOfp8ME
1•zeristor•11m ago•0 comments

Brookhaven Lab's RHIC Concludes 25-Year Run with Final Collisions

https://www.hpcwire.com/off-the-wire/brookhaven-labs-rhic-concludes-25-year-run-with-final-collis...
2•gnufx•13m ago•0 comments

Transcribe your aunts post cards with Gemini 3 Pro

https://leserli.ch/ocr/
1•nielstron•17m ago•0 comments

.72% Variance Lance

1•mav5431•18m ago•0 comments

ReKindle – web-based operating system designed specifically for E-ink devices

https://rekindle.ink
1•JSLegendDev•20m ago•0 comments

Encrypt It

https://encryptitalready.org/
1•u1hcw9nx•20m ago•1 comments

NextMatch – 5-minute video speed dating to reduce ghosting

https://nextmatchdating.netlify.app/
1•Halinani8•21m ago•1 comments

Personalizing esketamine treatment in TRD and TRBD

https://www.frontiersin.org/articles/10.3389/fpsyt.2025.1736114
1•PaulHoule•22m ago•0 comments

SpaceKit.xyz – a browser‑native VM for decentralized compute

https://spacekit.xyz
1•astorrivera•23m ago•0 comments

NotebookLM: The AI that only learns from you

https://byandrev.dev/en/blog/what-is-notebooklm
1•byandrev•23m ago•1 comments

Show HN: An open-source starter kit for developing with Postgres and ClickHouse

https://github.com/ClickHouse/postgres-clickhouse-stack
1•saisrirampur•24m ago•0 comments

Game Boy Advance d-pad capacitor measurements

https://gekkio.fi/blog/2026/game-boy-advance-d-pad-capacitor-measurements/
1•todsacerdoti•24m ago•0 comments

South Korean crypto firm accidentally sends $44B in bitcoins to users

https://www.reuters.com/world/asia-pacific/crypto-firm-accidentally-sends-44-billion-bitcoins-use...
2•layer8•25m ago•0 comments

Apache Poison Fountain

https://gist.github.com/jwakely/a511a5cab5eb36d088ecd1659fcee1d5
1•atomic128•26m ago•2 comments

Web.whatsapp.com appears to be having issues syncing and sending messages

http://web.whatsapp.com
1•sabujp•27m ago•2 comments

Google in Your Terminal

https://gogcli.sh/
1•johlo•28m ago•0 comments

Shannon: Claude Code for Pen Testing: #1 on Github today

https://github.com/KeygraphHQ/shannon
1•hendler•29m ago•0 comments

Anthropic: Latest Claude model finds more than 500 vulnerabilities

https://www.scworld.com/news/anthropic-latest-claude-model-finds-more-than-500-vulnerabilities
2•Bender•33m ago•0 comments

Brooklyn cemetery plans human composting option, stirring interest and debate

https://www.cbsnews.com/newyork/news/brooklyn-green-wood-cemetery-human-composting/
1•geox•33m ago•0 comments

Why the 'Strivers' Are Right

https://greyenlightenment.com/2026/02/03/the-strivers-were-right-all-along/
1•paulpauper•35m ago•0 comments

Brain Dumps as a Literary Form

https://davegriffith.substack.com/p/brain-dumps-as-a-literary-form
1•gmays•35m ago•0 comments

Agentic Coding and the Problem of Oracles

https://epkconsulting.substack.com/p/agentic-coding-and-the-problem-of
1•qingsworkshop•36m ago•0 comments

Malicious packages for dYdX cryptocurrency exchange empties user wallets

https://arstechnica.com/security/2026/02/malicious-packages-for-dydx-cryptocurrency-exchange-empt...
1•Bender•36m ago•0 comments

Show HN: I built a <400ms latency voice agent that runs on a 4gb vram GTX 1650"

https://github.com/pheonix-delta/axiom-voice-agent
1•shubham-coder•36m ago•0 comments

Penisgate erupts at Olympics; scandal exposes risks of bulking your bulge

https://arstechnica.com/health/2026/02/penisgate-erupts-at-olympics-scandal-exposes-risks-of-bulk...
4•Bender•37m ago•0 comments