frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•11mo ago

Comments

llm-exe•11mo 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•11mo 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.

Language, Curiosity and Life – By Masato Hagiwara

https://masatohagiwara.net/lcl.html
1•jotaefea•4m ago•0 comments

New metal with triple copper's heat conduction challenges fundamental physics

https://www.scientificamerican.com/article/new-metal-with-triple-coppers-heat-conduction-challeng...
2•thunderbong•18m ago•0 comments

Harvesting easter eggs: An exploratory study of enjoying transnarrative media

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0341588
1•PaulHoule•21m ago•0 comments

ORAC-NT MedChem Copilot that blocks synthetically infeasible molecules

https://github.com/Kretski/ORAC-NT
1•DREDREG•24m ago•0 comments

Show HN: Local LLM on a Pi 4 controlling hardware via tool calling

https://github.com/stfurkan/pi-llm
1•stfurkan•24m ago•1 comments

How to Split Mounjaro Pens

https://henryaj.substack.com/p/you-can-just-take-less-mounjaro
1•henryaj•27m ago•0 comments

Memoir to Secure Computing Technology Corp

https://cryptosmith.com/r/sctc/
1•relaunched•32m ago•1 comments

Postgres Advisory Locks: Deadlocks, Key Packing, and Fetch-Lock-Refetch

https://dteather.com/blogs/postgres-advisory-locks/
2•davidteather•33m ago•0 comments

Google Externalised the Cost of Renaming Gmail

https://nativerse-ventures.com/gmail-rename-cascade
4•Srinathprasanna•48m ago•0 comments

Show HNZ A native C/GTK Linux tray internet monitor to log ISP dropouts

https://github.com/lsferreira42/internet-indicator
1•lsferreira42•55m ago•0 comments

Show HN: A social feed with no strangers

https://www.grateful.so/
2•rpatni•57m ago•0 comments

A protective case for your glasses

https://thangs.com/designer/Gazzaladra/3d-model/Glasses%20case-1511373
1•dsego•58m ago•0 comments

Taking on CUDA with ROCm: 'One Step After Another'

https://www.eetimes.com/taking-on-cuda-with-rocm-one-step-after-another/
11•mindcrime•1h ago•2 comments

Vegetative Patients May Be More Aware Than We Knew

https://www.nytimes.com/2026/04/09/magazine/vegetative-states-conscious-aware.html
6•bookofjoe•1h ago•1 comments

Should capitalism be a choice?

https://cyrusradfar.com/thoughts/should-capitalism-be-a-choice
5•cyrusradfar•1h ago•0 comments

Major history podcasts are being faked

https://old.reddit.com/r/podcasting/comments/1sjgscs/major_history_podcasts_are_being_faked/
1•softwaredoug•1h ago•0 comments

Sam Altman's home targeted in second attack

https://sfstandard.com/2026/04/12/sam-altman-s-home-targeted-second-attack/
38•babelfish•1h ago•13 comments

Welcome to Agents Week

https://blog.cloudflare.com/welcome-to-agents-week/
1•cebert•1h ago•0 comments

They accidentally started a green screen revolution [video]

https://www.youtube.com/watch?v=Y3Dfw969itU
3•qingcharles•1h ago•0 comments

Show HN: Vapephone

https://wefumevapes.com/
1•wvlia5•1h ago•0 comments

KindleModding

https://kindlemodding.org/
2•fallinditch•1h ago•0 comments

Tech valuations are back to pre-AI boom levels

https://www.apollo.com/wealth/the-daily-spark/tech-valuations-back-to-pre-ai-boom-levels
65•akyuu•1h ago•5 comments

Linux Out-of-Bounds Access Fixed for Unprivileged Users with Crafted Certs

https://www.phoronix.com/news/Linux-OOB-Special-Certificate
2•moehm•1h ago•0 comments

Adventures in Slop: Can an AI Agent Generate Web Traffic?

https://www.tomdalling.com/blog/adventures-in-slop-can-an-ai-agent-generate-traffic/
1•ingve•1h ago•0 comments

Is Nvidia [stock] Worth 400% More? (video)

https://www.youtube.com/watch?v=xXyeTXLFfzs
1•hank808•1h ago•1 comments

Largest Curation of IAS

https://sstflix.ai
1•suschlebinger•1h ago•1 comments

Warning to drivers as Hyundai recalls 300k cars over life-threatening glitch

https://www.dailymail.co.uk/news/article-15726527/hyundai-cars-recall-seatbelt-anchor-detach.html
2•Bender•1h ago•1 comments

Git fixup is magic (and Magit is too)

https://arialdomartini.github.io/git-fixup
1•birdculture•1h ago•0 comments

Gephi – The Open Graph Visualization Platform

https://gephi.org
2•maxloh•1h ago•0 comments

India's frugal AI models are a blueprint for resource-strapped nations

https://restofworld.org/2026/india-frugal-ai-sarvam-krutrim-sovereign/
6•i7l•1h ago•1 comments