frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Private equity firms acquired more than 500 autism centers in past decade: study

https://www.brown.edu/news/2026-01-07/private-equity-autism-centers
123•hhs•1h ago•61 comments

Show HN: Librario, a book metadata API that aggregates G Books, ISBNDB, and more

24•jamesponddotco•1h ago•11 comments

Show HN: I used Claude Code to discover connections between 100 books

https://trails.pieterma.es/
197•pmaze•8h ago•68 comments

Finding and fixing Ghostty's largest memory leak

https://mitchellh.com/writing/ghostty-memory-leak-fix
210•thorel•6h ago•51 comments

Open Chaos: A self-evolving open-source project

https://www.openchaos.dev/
299•stefanvdw1•9h ago•62 comments

Show HN: Play poker with LLMs, or watch them play against each other

https://llmholdem.com/
54•projectyang•5h ago•33 comments

Eulogy for Dark Sky, a data visualization masterpiece (2023)

https://nightingaledvs.com/dark-sky-weather-data-viz/
363•skadamat•12h ago•156 comments

AI is a business model stress test

https://dri.es/ai-is-a-business-model-stress-test
149•amarsahinovic•8h ago•188 comments

Code and Let Live

https://fly.io/blog/code-and-let-live/
201•usrme•1d ago•69 comments

1970 Paris, cut into a grid and photographed

https://paris1970.jeantho.eu/index.html
16•panic•1w ago•4 comments

Show HN: GlyphLang – An AI-first programming language

12•goose0004•1h ago•8 comments

Code Is Clay

https://campedersen.com/code-is-clay
24•ecto•5h ago•13 comments

Overdose deaths are falling in America because of a 'supply shock': study

https://www.economist.com/united-states/2026/01/08/why-overdose-deaths-are-falling-in-america
62•marojejian•5h ago•43 comments

Rats caught on camera hunting flying bats

https://scienceclock.com/rats-caught-on-camera-hunting-flying-bats-for-the-first-time/
71•akg130522•6h ago•8 comments

Show HN: mcpc – Universal command-line client for Model Context Protocol (MCP)

https://github.com/apify/mcp-cli
5•jancurn•4d ago•2 comments

ASCII-Driven Development

https://medium.com/@calufa/ascii-driven-development-850f66661351
89•_hfqa•2d ago•63 comments

ChatGPT Health is a marketplace, guess who is the product?

https://consciousdigital.org/chatgpt-health-is-a-marketplace-guess-who-is-the-product/
221•yoaviram•2d ago•229 comments

The eight ways that all the elements in the Universe are made (2021)

https://bigthink.com/starts-with-a-bang/8-ways-elements-made/
48•zdw•5d ago•20 comments

I replaced Windows with Linux and everything's going great

https://www.theverge.com/tech/858910/linux-diary-gaming-desktop
530•rorylawless•9h ago•451 comments

Side-by-side comparison of how AI models answer moral dilemmas

https://civai.org/p/ai-values
67•jesenator•2d ago•44 comments

A child in the state of nature

https://lareviewofbooks.org/article/a-child-in-the-state-of-nature/
9•Caiero•3d ago•0 comments

UpCodes (YC S17) is hiring PMs, SWEs to automate construction compliance

https://up.codes/careers?utm_source=HN
1•Old_Thrashbarg•8h ago

New information extracted from Snowden PDFs through metadata version analysis

https://libroot.org/posts/going-through-snowden-documents-part-4/
277•libroot•13h ago•115 comments

Org Mode Syntax Is One of the Most Reasonable Markup Languages for Text (2017)

https://karl-voit.at/2017/09/23/orgmode-as-markup-only/
243•adityaathalye•15h ago•172 comments

Extracting books from production language models (2026)

https://arxiv.org/abs/2601.02671
24•logicprog•4h ago•2 comments

How wolves became dogs

https://www.economist.com/christmas-specials/2025/12/18/how-wolves-became-dogs
101•mooreds•5d ago•88 comments

How your high school affects your chances of UC Admission

https://sfeducation.substack.com/p/how-your-high-school-affects-your
60•mutator•2d ago•133 comments

Varnish and Virtue

https://literaryreview.co.uk/varnish-virtue
5•prismatic•2d ago•0 comments

UK Orders Ofcom to Explore Encryption Backdoors

https://reclaimthenet.org/uk-orders-ofcom-to-explore-encryption-backdoors
74•worldofmatthew•3h ago•25 comments

NASA announces unprecedented return of sick ISS astronaut and crew

https://www.livescience.com/space/space-exploration/nasa-cancels-spacewalk-and-considers-early-cr...
92•bookofjoe•11h ago•87 comments
Open in hackernews

Ask HN: What's a standard way for apps to request text completion as a service?

47•nvader•5d ago
If I'm writing a new lightweight application that requires LLM-based text completion to power a feature, is there a standard way to request the user's operating system to provide a completion?

For instance, imagine I'm writing a small TUI that allows you to browse jsonl files, and want to create a feature to enable natural language parsing. Is there an emerging standard for an implementation agnostic, "Translate this natural query to jq {natlang-query}: response here: "?

If we don't have this yet, what would it take to get this built and broadly available?

Comments

billylo•4d ago
Windows and macOS does come with a small model for generating text completion. You can write a wrapper for your own TUI to access them platform agnostically.

For consistent LLM behaviour, you can use ollama api with your model of choice to generate. https://docs.ollama.com/api/generate

Chrome has a built-in Gemini Nano too. But there isn't an official way to use it outside chrome yet.

nvader•4d ago
Is there a Linux-y standard brewing?
billylo•3d ago
Each distro is doing their own thing. If you are targeting Linux mainly, I would suggest to code it on top of ollama or LiteLLM
vintagedave•11h ago
Do you know what it’s called, at least on Windows? I’m struggling to find API docs.

When I asked AI it said no such inbuilt model exists (possibly a knowledge date cutoff issue.)

bredren•9h ago
Yes. I am not aware of a model shipping with Windows nor announced plans to do so. Microsoft’s been focused on cloud based LLM services.
usefulposter•6h ago
This thread is full of hallucinations ;)
billylo•1m ago
It's called Mu. https://www.infoworld.com/article/4026680/mu-microsofts-acti...
tony_cannistra•9h ago
These are the on-device model APIs for apple: https://developer.apple.com/documentation/foundationmodels
1bpp•1h ago
Windows doesn't?
WilcoKruijer•12h ago
MCP has a feature called sampling which does this, but this might not be too useful for your context. [0]

In a project I’m working on I simply present some data and a prompt, the user can then pipe this into a LLM CLI such as Claude Code.

[0] https://modelcontextprotocol.io/specification/2025-06-18/cli...

brumar•11h ago
Sampling seemed so promising, but do we know if some MCPs managed to leverage this feature successfully?
lcian•12h ago
When I'm writing a script that requires some kind of call to an LLM, I use this: https://github.com/simonw/llm.

This is of course cross-platform and works with both models accessible through an API and local ones.

I'm afraid this might not solve your problem though, as this is not an out of the box solution, it requires the user to either provide their own API key or to install Ollama and wire it up on their own.

kristopolous•10h ago
I've been working on a more unixy version of his tool I call llcat. Composable, stateless, agnostic, and generic:

https://github.com/day50-dev/llcat

It might help things get closer..

It's under 2 days old and it's already really fundamentally changing how I do things.

Also for edge running look into the LFM 2.5 class of models: https://huggingface.co/LiquidAI/LFM2.5-1.2B-Instruct

mirror_neuron•9h ago
I love this concept. Looks great, I will definitely check it out.
kristopolous•45m ago
Please use it and give me feedback. I'm going to give a lightning talk on it tonight at sfvlug
nvader•10h ago
I think this is definitely a step in the right direction, and is exactly the kind of answer I was looking for. Thank you!

`llm` gives my tool a standard bin to call to invoke completions, and configuring and managing it is the user's responsibility.

If more tools started expecting something like this, it could become a defacto standard. Then maybe the OS would begin to provide it.

cjonas•10h ago
I asked a similar question a while back and didn't get any response. Some type of service is needed for applications that want to be AI enabled but not deal with usage based pricing that comes with it. Right now the only option is for the user to provide a token/endpoint from one of the services. This is fine for local apps, but less ideal for we apps.
netsharc•10h ago
That's interesting, on Linux there's the $EDITOR variable (a quick search of the 3 distros Arch, Ubuntu, Fedora show me they respect it) for the terminal text editor.

Maybe you can trailblaze and tell users your application will support the $LLM or $LLM_AUTOCOMPLETE variables (convene the committee for naming for better names).

joshribakoff•10h ago
I have been using an open source program “handy”, it is a cross platform rust tauri app that does speech recognition and handles inputting text into programs. It works by piggybacking off the OS’s text input or copy and paste features.

You could fork this, and shell out to an LLM before finally pasting the response.

TZubiri•9h ago
Not at all natural language, but linux has readline for exact character matches, it's what powers tab completion in the command line.

Maybe it can be repurposed for natural language in a specific implementation

Sevii•9h ago
Small models are getting good but I don't think they are quite there yet for this use case. For ok results we are looking at 12-14GB of vram committed to models to make this happen. My MacBook with 24GB of total ram runs fine with a 14B model running but I don't think most people have quite enough ram yet. Still I think it's something we are going to need.

We are also going to want the opposite. A way for an LLM to request tool calls so that it can drive an arbitrary application. MCP exists, but it expects you to preregister all your MCP servers. I am not sure how well preregistering would work at the scale of every application on your PC.

tpae•8h ago
You can check out my project here: https://github.com/dinoki-ai/osaurus

I'm focused on building it for the macOS ecosystem

jiehong•8h ago
This might work through a LSP server?

It’s not exactly the intended use case, but it could be coerced to do that.

I’ve seen something else like that, though: voice transcription software that have access to the context the text is in, and can interact with it and modify it.

Like how some people use super whisper modes [0] to do some actions with their voice in any app.

It works because you can say "rewrite this text, and answer the questions it asks", and the dictation app first transcribes this to text, extract the whole text from the focused app, send both to an AI Model, get an answer back and paste the output.

[0]: https://superwhisper.com/docs/common-issues/context