frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

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
20•skeptrune•9h 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

Snorting the AGI with Claude Code

https://kadekillary.work/blog/#2025-06-16-snorting-the-agi-with-claude-code
148•beigebrucewayne•13h ago•60 comments

Show HN: Chawan TUI web browser

https://chawan.net/news/chawan-0-2-0.html
141•shiomiru•3h ago•16 comments

What Happens When Clergy Take Psilocybin

https://nautil.us/clergy-blown-away-by-psilocybin-1217112/
30•bookofjoe•2h ago•27 comments

Benzene at 200

https://www.chemistryworld.com/opinion/benzene-at-200/4021504.article
165•Brajeshwar•8h ago•91 comments

Show HN: Canine – A Heroku alternative built on Kubernetes

https://github.com/czhu12/canine
133•czhu12•5h ago•65 comments

DRM Can Watch You Too: Privacy Effects of Browsers' Widevine EME (2023)

https://hal.science/hal-04179324v1/document
13•exceptione•1h ago•2 comments

Retrobootstrapping Rust for some reason

https://graydon2.dreamwidth.org/317484.html
76•romac•3h ago•29 comments

Open-Source RISC-V: Energy Efficiency of Superscalar, Out-of-Order Execution

https://arxiv.org/abs/2505.24363
52•PaulHoule•7h ago•11 comments

OpenTelemetry for Go: Measuring overhead costs

https://coroot.com/blog/opentelemetry-for-go-measuring-the-overhead/
90•openWrangler•8h ago•32 comments

Working on databases from prison

https://turso.tech/blog/working-on-databases-from-prison
663•dvektor•11h ago•431 comments

Show HN: Zeekstd – Rust Implementation of the ZSTD Seekable Format

https://github.com/rorosen/zeekstd
169•rorosen•1d ago•37 comments

Blaze (YC S24) Is Hiring

https://www.ycombinator.com/companies/blaze-2/jobs/dzNmNuw-junior-software-engineer
1•faiyamrahman•3h ago

Show HN: Nexus.js - Fabric.js for 3D

https://punk.cam/lab/nexus
37•ges•3h ago•14 comments

Breaking Quadratic Barriers: A Non-Attention LLM for Ultra-Long Context Horizons

https://arxiv.org/abs/2506.01963
39•PaulHoule•4h ago•17 comments

OpenAI wins $200M U.S. defense contract

https://www.cnbc.com/2025/06/16/openai-wins-200-million-us-defense-contract.html
24•erikrit•1h ago•16 comments

Nanonets-OCR-s – OCR model that transforms documents into structured markdown

https://huggingface.co/nanonets/Nanonets-OCR-s
272•PixelPanda•17h ago•63 comments

ZjsComponent: A Pragmatic Approach to Reusable UI Fragments for Web Development

https://arxiv.org/abs/2506.11016
60•lelanthran•8h ago•40 comments

Is gravity just entropy rising? Long-shot idea gets another look

https://www.quantamagazine.org/is-gravity-just-entropy-rising-long-shot-idea-gets-another-look-20250613/
249•pseudolus•23h ago•216 comments

Show HN: dk – A script runner and cross-compiler, written in OCaml

https://diskuv.com/dk/help/latest/
49•beckford•9h ago•5 comments

Adding public transport data to Transitous

https://www.volkerkrause.eu/2025/06/14/transitous-adding-data.html
45•todsacerdoti•2d ago•0 comments

WhatsApp introduces ads in its app

https://www.nytimes.com/2025/06/16/technology/whatsapp-ads.html
193•greenburger•10h ago•278 comments

Why SSL was renamed to TLS in late 90s (2014)

https://tim.dierks.org/2014/05/security-standards-and-name-changes-in.html
509•Bogdanp•1d ago•222 comments

Start your own Internet Resiliency Club

https://bowshock.nl/irc/
519•todsacerdoti•16h ago•292 comments

Denmark tests unmanned robotic sailboat fleet

https://apnews.com/article/denmark-robot-sailboats-baltic-sea-bfa31c98cf7c93320115c0ad0e6908c5
23•domofutu•3h ago•5 comments

Maya Blue: Unlocking the Mysteries of an Ancient Pigment

https://www.mexicolore.co.uk/maya/home/maya-blue-unlocking-the-mysteries-of-an-ancient-pigment
71•DanielKehoe•2d ago•16 comments

Occurences of swearing in the Linux kernel source code over time

https://www.vidarholen.net/contents/wordcount/#fuck*,shit*,damn*,idiot*,retard*,crap*
138•microsoftedging•2d ago•216 comments

Transparent peer review to be extended to all of Nature's research papers

https://www.nature.com/articles/d41586-025-01880-9
104•rntn•5h ago•52 comments

The Renegade Richard Foreman

https://yalereview.org/article/jennifer-krasinski-richard-foreman
14•prismatic•7h ago•6 comments

Darklang Goes Open Source

https://blog.darklang.com/darklang-goes-open-source/
140•stachudotnet•8h ago•64 comments

Jokes and Humour in the Public Android API

https://voxelmanip.se/2025/06/14/jokes-and-humour-in-the-public-android-api/
275•todsacerdoti•23h ago•150 comments