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.

Ask HN: Any opinions on Muse Code over others?

1•senor_digimon•4m ago•0 comments

A Tale of Two Flink Autoscalers

https://netflixtechblog.com/a-tale-of-two-flink-autoscalers-e9f6a1b1492b?source=rss-c3aeaf49d8a4-...
1•sbulaev•6m ago•0 comments

Malware infects Android-based automotive head unit firmware

https://securelist.com/android-head-unit-malware/121106/
5•campuscodi•8m ago•0 comments

Things a Computer Scientist Rarely Talks About, by Donald E. Knuth

https://www.christiancentury.org/reviews/2011-04/things-computer-scientist-rarely-talks-about-don...
1•senor_digimon•9m ago•1 comments

Yomif Kejelcha regains world half marathon record with 56:51 in Buenos Aires

https://worldathletics.org/competitions/world-athletics-label-road-races/news/world-half-marathon...
1•wslh•10m ago•0 comments

Go Ahead, Sean Duffy. Let Your Daughter Go to Harvard

https://www.nytimes.com/2026/08/23/opinion/harvard-education-ideology-political-polarization.html
1•berkeleyjunk•11m ago•0 comments

Show HN: Rmp, a Subsonic music player for generating playlists on the fly

https://github.com/codesoap/rmp
1•codesoap•13m ago•0 comments

AwardMath – Award Travel Planner

https://awardmath.com
1•info-cast-hub•13m ago•0 comments

Soofi S 31.6B. German Open Moe Explained

https://kie.ai/blog/what-is-soofi-s-31-6b
1•pelasaco•15m ago•0 comments

Vibedecode

https://vibe-decode.com/
1•implexlabs•16m ago•1 comments

There is now over 2,100 hours of video evidence on Archive Genocide

https://archivegenocide.com/
3•34679•17m ago•0 comments

Ask HN: Is Apple Messages plugin for ChatGPT a privacy risk?

https://twitter.com/stevemoraco/status/2091194172917338520
2•taubek•17m ago•0 comments

Ask HN: What a fullstack dev should know about security?

1•ah1508•19m ago•0 comments

All Your Heroes Were on Drugs

https://medium.com/belover/all-your-heroes-were-on-drugs-b1eafd9adf50
1•andsoitis•19m ago•0 comments

The rise and fall of rationality in language (2021)

https://www.pnas.org/doi/10.1073/pnas.2107848118
2•mpweiher•20m ago•0 comments

Show HN: Ever Wanted to Call Codex from Claude Code? My Harness Orchestrator

https://github.com/ptmrio/harness-subagent
3•SPQRK•22m ago•0 comments

Trump administration's 75-country visa ban was illegal, judge rules

https://www.npr.org/2026/08/22/nx-s1-5941765/trump-immigration-visa-ban-75-countries
5•garbawarb•26m ago•0 comments

ChatGPT Is a Japanese Internet Degen

https://theosteiner.de/chatgpt-is-a-japanese-degen-or-how-fried-chicken-sent-me-down-a-tokenizer-...
3•theo-steiner•27m ago•0 comments

My Contaminated Smile (<2003)

https://web.archive.org/web/20101126175812/http://www.mouthmag.com/issues/58/contam_smile.htm
2•verisimi•30m ago•0 comments

There's no substitute for real-world experience

https://mattcasmith.net/2026/08/23/no-substitute-real-world-experience
2•mattcasmith•31m ago•1 comments

The Bay Area's 'city of the dead'

https://www.sfgate.com/local/article/bay-area-colma-cemeteries-22364598.php
3•gmays•31m ago•0 comments

Personal care products are awash in unlabeled toxic chemicals, study finds

https://www.theguardian.com/us-news/2026/aug/23/personal-care-products-unlabeled-toxic-chemicals
3•pseudolus•32m ago•0 comments

The Interview That Wouldn't Die

https://returnzero.dev/articles/coding-interviews-in-the-age-of-ai
1•rotemmiz•35m ago•1 comments

Together – Community mental health support through shared therapeutic silence

https://together.lyfmail.com/
1•LYFMail•36m ago•0 comments

Claude is your insider threat now [video]

https://www.youtube.com/watch?v=yvJYw2gR0cU
1•soupspaces•41m ago•0 comments

Product Owner Interview Questions for the Age of AI

https://age-of-product.com/product-owner-interview-questions/
2•swolpers•42m ago•0 comments

Prompt Sufficiency: A Missive for the Managerial Class

https://www.lesswrong.com/posts/jDHc4oK4oPwfh6TcK/prompt-sufficiency-a-missive-for-the-managerial...
1•kp1197•42m ago•0 comments

Strange people, but very smart (Bell Labs Culture)

https://voiceinthemachine.com/2026/08/20/strange-people-but-very-smart/
2•brandonb•43m ago•0 comments

Show HN: Histiq – Local semantic search for the browser history and PDFs

https://histiq.com/
3•histiq•43m ago•0 comments

Do LLM quants impact as much as we think?

https://rakuensoftware.com/blog/which-quant-beats-how-many-bits
1•jbailes•49m ago•1 comments