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

Comments

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

Some C habits I employ for the modern day

https://www.unix.dog/~yosh/blog/c-habits-for-me.html
1•signa11•37s ago•0 comments

Renfrew Christie Dies at 76; Sabotaged Racist Regime's Nuclear Program

https://www.nytimes.com/2026/01/14/world/africa/renfrew-christie-dead.html
1•bryanrasmussen•3m ago•0 comments

AI and jobs: The decline started before ChatGPT

https://engineeringprompts.substack.com/p/ai-and-jobs-the-decline-started-before
2•_delirium•6m ago•0 comments

Twenty-Fifth Amendment

https://constitution.congress.gov/constitution/amendment-25/
1•rolph•9m ago•0 comments

The Era of Spec-Driven Development Has Begun

https://twitter.com/deepwhitman/status/2013423486983905282
1•bilater•9m ago•0 comments

NASA ID sy1174304 Alzheimer's treatment

1•MASTER_shivam•11m ago•2 comments

White-collar overproduction means the victory of sharp elbows over sharp minds

https://twitter.com/EricRWeinstein/status/1168926268202672128
1•MrBuddyCasino•13m ago•0 comments

OpenAI GPT-5.2-Codex (High) vs. Claude Opus 4.5 vs. Gemini 3 Pro (In Production)

https://www.tensorlake.ai/blog/gpt5.2-codex-high-vs-opus-4.5-vs-gemini-3-pro
1•shricodevvv•18m ago•0 comments

A Canadian's Call to Arms, Being Pissed Off at the State of Computing

https://aaron.vegh.ca/2026/01/a-modest-proposal
2•HotGarbage•23m ago•0 comments

The Ordinary Heroes of the Taj Hotel: Rohit Deshpande (2012) [video]

https://www.youtube.com/watch?v=vQGz1YRqBPw
1•kamaraju•25m ago•0 comments

Ridiculously Huge Numbers [video]

https://www.youtube.com/playlist?list=PL3A50BB9C34AB36B3
1•xelxebar•29m ago•1 comments

Using Beads to supercharge my agent workflow

https://jonsimpson.ca/using-beads-to-supercharge-my-workflow/
1•jonniesweb•34m ago•0 comments

Show HN: Ulog – USB serial logger with auto session management

https://github.com/matterizelabs/ulog
1•abu-matterize•34m ago•4 comments

Becoming a Whorelord: The Overly Analytical Guide to Escorting

https://knowingless.com/2021/10/19/becoming-a-whorelord-the-overly-analytical-guide-to-escorting/
2•andsoitis•35m ago•0 comments

The End of Industrial Society

https://www.palladiummag.com/2021/03/24/the-end-of-industrial-society/
2•MrBuddyCasino•38m ago•0 comments

Defections from $12B Thinking Machines shows struggle for AI talent

https://fortune.com/2026/01/16/mira-murati-thinking-machines-staff-defections-openai-zoph-metz-sc...
1•nsoonhui•40m ago•0 comments

What's biggest mistake companies make when trying to implement Generative AI?

1•datacouch•41m ago•0 comments

C++26 Reflection loves QRangeModel

https://www.qt.io/blog/c26-reflection-qrangemodel
1•jandeboevrie•42m ago•0 comments

The Paper 3

https://zenodo.org/records/18293965
1•KaoruAK•46m ago•0 comments

X For You Feed Algorithm

https://github.com/xai-org/x-algorithm
58•grainier•46m ago•24 comments

Management Time: Who's Got the Monkey? [pdf]

https://www.med.unc.edu/uncaims/wp-content/uploads/sites/764/2014/03/Oncken-_-Wass-Who_s-Got-the-...
1•rintrah•51m ago•1 comments

Chatbot Psychosis

https://en.wikipedia.org/wiki/Chatbot_psychosis
20•tbmtbmtbmtbmtbm•53m ago•1 comments

Stevey's Birthday Blog

https://steve-yegge.medium.com/steveys-birthday-blog-34f437139cb5
1•throwawayHMM19•56m ago•0 comments

Crypto criminals stole $700M from people

https://www.bbc.com/news/articles/c93w30gl5jno
2•dayli•57m ago•0 comments

Show HN: Stashcast – Self-hosted custom podcast feeds for any media

https://github.com/jonocodes/stashcast
1•jonotime•1h ago•0 comments

China's Birthrate Sinks to Record Low

https://www.wsj.com/world/china/chinas-population-falls-for-fourth-straight-year-409986bd
6•RestlessMind•1h ago•1 comments

Run coding agents on your desktop without breaking your flow

https://www.ami.dev/
1•alexinavar•1h ago•1 comments

Show HN: Crapless craps – flutter PWA vibe coded from my phone

https://craps.exe.xyz:8081/
2•calderwoodra•1h ago•0 comments

Let's Buy California from Trump – Denmark's Next Big Adventure

https://denmarkification.com/
10•mil22•1h ago•1 comments

Building Production-Grade Micro Services on Azure Kubernetes

https://medium.com/@koladilip/building-production-grade-micro-services-on-azure-kubernetes-2884b5...
1•koladilip•1h ago•0 comments