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.

Trump announces new US oil agreement with Venezuela

https://www.theguardian.com/us-news/2026/aug/28/trump-venezuela-oil-agreement
1•TheAlchemist•53s ago•0 comments

'Devastating' rush for critical minerals has little to do with green energy

https://news.mongabay.com/short-article/2026/08/devastating-rush-for-critical-minerals-has-little...
1•littlexsparkee•4m ago•0 comments

The IBM PC, Part 2: Tsunami

https://technicshistory.com/2026/08/29/the-ibm-pc-part-2-tsunami/
1•cfmcdonald•7m ago•0 comments

StemDeck, a free, open-source and local AI stem separator

https://github.com/stemdeckapp/stemdeck
3•thclpr•12m ago•0 comments

Tech tries a new message: You'd love data centers if China wasn't making you hat

https://www.businessinsider.com/china-data-center-ai-backlash-tech-messaging-2026-8
3•newsomix9xl•19m ago•2 comments

One prompt, five days, and an AI agent that refused to certify itself

https://github.com/Framework-Drift/governed-pass
1•ElvishSteel•21m ago•0 comments

Edcapit Founder Oleh Podobied and Jenny Li Discuss the Future of EdTech

https://www.edcapit.com/2026/08/17/future-of-edtech-silicon-valley-interview/
1•edcapit_inc•26m ago•0 comments

Anti-AI Populism is Reshaping American Politics

https://www.motherjones.com/politics/2026/08/anti-ai-populism-is-reshaping-american-politics/
2•newsomix9xl•26m ago•1 comments

Show HN: ArchLex: a small OSS language for AWS, GCP, and Kubernetes diagrams

https://archlex.dev/
1•bairess•26m ago•0 comments

AI made the boring work visible. Cut the work, not the people

https://jeffgothelf.com/blog/ai-made-the-boring-work-visible-cut-the-work-not-the-people/
1•fagnerbrack•35m ago•0 comments

Ask HN: If AI disappeared today, how much would you ask for in salary to work?

2•senor_digimon•36m ago•0 comments

Results for LLM Usage in Debian

https://lists.debian.org/debian-vote/2026/08/msg00360.html
3•baggy_trough•36m ago•1 comments

X claims it found a Chinese bot farm posting anti-AI data center sentiments

https://www.engadget.com/2246140/x-chinese-bot-farm-anti-ai-data-center-sentiments/
5•newsomix9xl•37m ago•1 comments

Why not to use the Gaussian kernel

https://arxiv.org/abs/2608.26974
1•E-Reverance•38m ago•0 comments

Show HN: Leiolai, AI that pays users for the compute their devices provide

https://leiolai.com/
1•leiolai•38m ago•0 comments

Show HN: An annotated archive of S-1 filings, with hindsight

https://s-1.space/
1•eigen-vector•40m ago•0 comments

Nine Pockets: A Pokemon tracker built for my 6 year old and that I went crazy on

https://www.ninepockets.app
1•highhoppingworm•41m ago•1 comments

Milo Yiannopoulos, a far-right political commentator, detained by ICE

https://www.theguardian.com/us-news/2026/aug/28/milo-yiannopoulos-detained-ice
5•andsoitis•43m ago•2 comments

New Blockchain and Coin

https://github.com/ego-blockchain/ego-blockchain-
2•artitmuhaxhiri•44m ago•0 comments

Polyend Keys – a mechanical QWERTY keyboard for musicians

https://www.synthtopia.com/content/2026/08/27/polyend-keys-a-mechanical-qwerty-keyboard-for-music...
1•anigbrowl•46m ago•0 comments

Show HN: Free lifetime pro access for limited time to crunchbase alternative

https://startupwiki.tech/blog/free-lifetime-pro-giveaway
1•skiski•46m ago•0 comments

I Am Sitting in a Room

https://en.wikipedia.org/wiki/I_Am_Sitting_in_a_Room
2•gregsadetsky•46m ago•0 comments

Fintur: A forward-looking personal finance app

https://fintur.fr/
2•kabelbaptiste•52m ago•0 comments

My issue with GPU-accelerated deep learning (2016)

https://erikbern.com/2016/02/03/my-issue-with-gpu-accelerated-deep-learning.html
1•AndrewPGameDev•54m ago•0 comments

Unit 731

https://en.wikipedia.org/wiki/Unit_731
4•frabjoused•56m ago•1 comments

Show HN: MicroVM daemon, deploy any Docker image

2•sankalpnarula•57m ago•0 comments

Damn it AI, stop lying to me and do what I say

https://sentelabs.ai/proof-not-trust
1•GrumpySciGuy•57m ago•1 comments

I used to hate Tailwind CSS. Here's what changed my mind

https://yannickkouakou.com/blog/why-i-hated-tailwind-css/
3•thunderbong•1h ago•1 comments

Lawsuit: Grok Not Only Generates Child Porn but Was Also Trained on It

https://gizmodo.com/grok-not-only-generates-child-porn-but-was-also-trained-on-it-new-lawsuit-cla...
6•ceejayoz•1h ago•0 comments

Boulding on the human use of human beings

https://philofecon.substack.com/p/boulding-on-the-human-use-of-human
2•oliculipolicula•1h ago•0 comments