frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Local-first RAG for PDF user manuals, datasheets

https://github.com/dymk/askdocs-mcp
1•dymk•29m ago
I work on embedded firmware for my day job, and I've found LLMs to be useful for answering questions about technical errata. But, they tend to be bad at answering highly specific questions without using some kind of search tool (if they decide to use one at all), and some user manuals are far too large to fit into a context window.

I built askdocs-mcp as a way to give agents a more direct route to searching through a project's source-of-truth documents. My design constraints were that it run 100% locally, as some manuals are under NDA. It should start up fast, and let me experiment with different embedding & language models. It was built with ollama in mind, but if you can't run models locally, it will work with any OpenAI compatible endpoint.

Features:

  - Incrementally builds and caches the set of docs. Initial start up can take a while as PDFs are chunked and ran through an embedding model, but after that, startup is near instant.

  - Uses the filesystem as the database - you only need `ollama` running somewhere so the tool can access an embedding and natural language model.

  - Provides a tool `ask_docs` for getting natural-language answers back about what the documentation says, which are annotated with page numbers the information came from. Those can be used with tool `get_doc_page` to retrieve the full page if the agent needs additional context.
Because I'm providing the exact set of documents that apply to my project, I see fewer hallucinations and rabbit-hole chasing. The agent isn't relying (as much) on its latent space to answer questions, and it avoids using a web search tool which might find subtly different part numbers or protocol versions. It saves precious context as well, because the parent agent gets a concise version of what it's looking for, instead of doing the "searching" itself by loading large chunks of the document into itself.

I'm sure there are improvements that can be made e.g. document chunking or the "system prompt" the tool gives to the language model - I'd love to hear your feedback, especially if you find this useful. Thanks!

Russian ICBM Launch Failure

https://twitter.com/liveuamap/status/1994450291740025272
1•defly•11s ago•0 comments

Scientists Just Unlocked Quantum Connections That Reach Across Continents

https://scitechdaily.com/scientists-just-unlocked-quantum-connections-that-reach-across-continents/
1•stOneskull•2m ago•0 comments

Retained vs. Immediate Mode GUI

https://github.com/ocornut/imgui/blob/master/docs/FAQ.md
1•michalsustr•2m ago•0 comments

Tattoo Ink Moves Through Body, Killing Immune Cells, Weakening Vaccine Response

https://www.swissinfo.ch/eng/tattoo-ink-moves-through-the-body,-killing-immune-cells-and-weakenin...
2•CharlesW•3m ago•0 comments

Open Review's Public Data

https://www.openreview.online/
1•sadrasabouri•3m ago•0 comments

Effective harnesses for long-running agents

https://www.anthropic.com/engineering/effective-harnesses-for-long-running-agents
2•diwank•12m ago•0 comments

Control the World for $1

https://www.controltheworld.io
1•hg30•12m ago•0 comments

FluentPrep AI – Practice Toefl Speaking with AI-Powered Feedback

https://www.fluentprep.online/
1•amscotti•13m ago•0 comments

US Energy Department Launches "Genesis Mission" to Transform Science Through AI

https://www.energy.gov/articles/energy-department-launches-genesis-mission-transform-american-sci...
3•sxp•14m ago•0 comments

Juno Neutrino Observatory Releases First Results

https://www.scientificamerican.com/article/juno-neutrino-observatory-releases-first-results/
1•naves•15m ago•0 comments

Show HN: Design a commercial bakery in an afternoon, not for $10k

https://rfmodernbakerydesign.com
1•Rafael_Mauricio•15m ago•0 comments

AWS builds DNS backstop for times flaky US East region fails

https://www.theregister.com/2025/11/27/aws_dns_us_east_workaround/
1•naves•18m ago•0 comments

Airbus issues major A320 recall after flight-control incident

https://www.reuters.com/business/aerospace-defense/airbus-issues-major-a320-recall-after-flight-c...
5•mercenario•19m ago•0 comments

Stopwatch Under the Hood (2016)

https://aakinshin.net/posts/stopwatch/
1•todsacerdoti•19m ago•0 comments

Where Have the International Math Olympiad Gold Medallists Ended Up? Part Three

https://xquant.substack.com/p/where-have-the-international-math-f01
2•paulpauper•21m ago•0 comments

Chartly: Open-Source Odoo Analytics with Agentic AI

https://github.com/AhmadM-DL/oodo-chartly
1•ahmadmmustapha•22m ago•1 comments

Ask HN: How do you verify front-end code in agentic LLM coding loops?

3•eugene-kim•23m ago•0 comments

The first home computer in Europe [video]

https://www.youtube.com/watch?v=aJ6SbvrjxZA
2•megamike•26m ago•0 comments

Why Intel and AMD couldn't play LBP together [video]

https://www.youtube.com/watch?v=hCuT_GXagz0
1•davikr•29m ago•0 comments

Show HN: Local-first RAG for PDF user manuals, datasheets

https://github.com/dymk/askdocs-mcp
1•dymk•30m ago•0 comments

Show HN: Aviation calculators I built while learning

https://joseflys.com
1•jfroma•31m ago•0 comments

DarkVeil – Private, MEV-Resistant Execution Layer on Solana

1•DarkVeil•32m ago•0 comments

Ask HN: How does Hacker News determine which posts appear in the top?

2•s0journed•32m ago•1 comments

Erotic Plasticity and Male Resentment

https://www.robkhenderson.com/p/erotic-plasticity-and-male-resentment
2•paulpauper•33m ago•0 comments

On Seriousness

https://www.punkrockbio.com/p/on-seriousness
2•calvinfo•33m ago•0 comments

Holiday App Festivitas Adds Animated Lights and Snow Effects to Apple Devices

https://www.macrumors.com/2025/11/25/festivitas-holiday-app/
1•akyuu•34m ago•0 comments

Hand-Holding Explained

https://www.betonit.ai/p/hand-holding-explained
1•paulpauper•34m ago•0 comments

Hytale Servers: Everything You Need to Know for Early Access Launch

https://hytaletop100.com/blog/hytale-servers-everything-you-need-to-know-for-early-access-launch
2•doobie12•35m ago•0 comments

I hate Xlib and so should you

https://www.remlab.net/op/xlib.shtml
1•fanf2•35m ago•0 comments

Hello Europe, Joe Biden is gone

https://berthub.eu/articles/posts/hello-europe-joe-biden-is-gone/
3•tomwas54•36m ago•0 comments