frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

LLM functions in TypeScript: a composable pattern for prompt/LLM/parse/execute

https://medium.com/llm-exe
5•llm-exe•1y ago

Comments

llm-exe•1y ago
A few weeks ago I posted about llm-exe, a TypeScript library for structuring LLM calls with reusable components.

I just put together a Medium series that digs deeper into how it works. It breaks down the idea of an LLM function - an executor that wraps a prompt, a model, and a parser. Each part does one thing well, and together they give you a clean, well-typed, testable, and composable way to work with LLMs.

The posts walk through each layer: prompt, parser, LLM, executor. If you're building LLM features in production with TypeScript, I think you’ll find the structure helpful. I am interested in any feedback.

Medium series: https://medium.com/llm-exe

mrbashtech•1y ago
Great work! folks at llm-exe; As a TypeScript developer working with LLMs, llm-exe has been a game-changer for me. It abstracts away the boilerplate of prompt formatting, model integration, and response parsing, allowing me to focus on building features.

The modular design—separating prompts, parsers, and executors—makes my codebase cleaner and more maintainable. Plus, the ability to switch between different LLM providers with minimal code changes is incredibly convenient.

Leaking internal headers in Flask Ninja with deserialization

https://eval.blog/research/pickle-gadget-chain-in-flask-ninja/
1•0xcrypto•2m ago•0 comments

Best Foldable Phones

https://www.nytimes.com/wirecutter/reviews/best-foldable-phones/
1•vanclaude•3m ago•0 comments

Boeing asks US to intervene over record EU loan to Airbus

https://www.reuters.com/business/aerospace-defense/boeing-asks-us-intervene-over-record-eu-loan-a...
1•elDutie•4m ago•0 comments

See each Law of UX broken, then fixed, in a live demo

https://laws-of-ux-examples.pagepost.app/
1•atzoumas•4m ago•0 comments

Chelsea's Defensive Rebuild Gains Momentum as Lacroix Emerges as Priority Target

https://predx-article.fika.bar/chelsea-s-defensive-rebuild-gains-momentum-as-maxence-lacroi-01KY1...
1•joeymabia1•4m ago•0 comments

Flavor Lines

https://vova.today/en/works/plofornot/
1•altilunium•5m ago•0 comments

An open dataset for modeling consciousness and sedation from EEG under propofol

https://zenodo.org/records/18483292
1•katsee•5m ago•0 comments

GitHub Incident with Deploy Keys

https://www.githubstatus.com/incidents/g40zcbvchny4
1•gowthamgts12•5m ago•0 comments

LibreFolio – Self-hosted portfolio tracker with 11 broker imports

https://github.com/Librefolio/LibreFolio
1•librefolio•6m ago•0 comments

I moved Agentique's LLM layer to BAML

https://agentique.ch/blog/why-i-moved-agentiques-llm-layer-to-baml/
1•dimslaev•6m ago•0 comments

Streaming, Fast and Slow: Cognitive Load-Aware Streaming

https://arxiv.org/abs/2504.17999
1•ankitg12•6m ago•0 comments

SubNuke – A privacy-first subscription tracker that doesn't require bank access

https://www.getsubnuke.com
1•zardt_•7m ago•0 comments

iOS 27 jailbreak with usbliter8 exploit

https://github.com/34306/usbliter8-fun
1•quyleanh•7m ago•0 comments

GPT-5.6 vs. Claude Fable 5 for Physical AI, which performs best?

https://juliahub.com/blog/frontier-models-physical-ai-evaluation
1•ChrisRackauckas•11m ago•0 comments

Chamath Palihapitiya on X: "Tricking US Gov protect frontier labs is a mistake

https://twitter.com/chamath/status/2079457219892871458
1•bilsbie•12m ago•0 comments

The Fake Influencers Selling Wellness on Your Feed

https://www.nytimes.com/video/technology/100000011001849/ai-influencers-health-supplements-fake-a...
1•pretext•13m ago•0 comments

The Rise of Fashion Slop

https://www.nytimes.com/2026/07/21/opinion/fashion-slop-boring.html
1•pretext•15m ago•0 comments

Show HN: Friday – a local-first desktop AI assistant that can use tools

https://friday.haraldbregu.com/
1•haraldbregu•19m ago•0 comments

RLHF and Post-Training Course by Nathan Lambert

https://rlhfbook.com/course
1•ankitg12•20m ago•0 comments

Content Is King (1996)

https://web.archive.org/web/20010126005200/http://www.microsoft.com/billgates/columns/1996essay/e...
1•tosh•21m ago•0 comments

Mpathic's First Sale

https://infiniteloop.media/p/the-first-customer-mpathic
1•natali_gray•22m ago•0 comments

Calio – Instantly extract key information from insurance SEC filings

https://chromewebstore.google.com/detail/sec-edgar-filings-extract/mjlmlhdhcdlohompclddmcnpgdhjgeja
1•mehbish•22m ago•1 comments

Don't add a read replica until you've read this

https://incident.io/blog/dont-add-a-read-replica-until-youve-read-this
10•shintoist•25m ago•0 comments

Washington blocks Kalshi's sports prediction market over state gambling law

https://www.theblock.co/post/409011/washington-kalshi-preliminary-injunction
2•thm•27m ago•1 comments

Researchers Detect SARS-CoV-2 Components in Hamsters 365 Days After Infection

https://www.biorxiv.org/content/10.64898/2026.07.19.739454v1
1•thenerdhead•30m ago•0 comments

Is AI Curing the Loneliness Epidemic, or Profiting from It?

https://mrkt30.com/is-ai-curing-the-loneliness-epidemic-or-profiting-from-it/
2•technewssss•31m ago•0 comments

Open Meditron: An Auditable Pipeline for Clinical LLMs

https://arxiv.org/abs/2605.16215
1•instagraham•34m ago•0 comments

POSIX on WebAssembly, or "What is an OS anyway" [video]

https://www.youtube.com/watch?v=O0buO7Brqlo
1•indrora•34m ago•0 comments

Elixir Cluster 101

https://jola.dev/posts/elixir-cluster-101
1•shintoist•35m ago•0 comments

The Age of Comprehension Debt

https://medium.com/@efeminella/the-age-of-comprehension-debt-d16ce9f776bd
2•ankitg12•36m ago•0 comments