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.

SpaceX Loses Appeal to Force Sexual Harassment Lawsuit into Private Arbitration

https://gizmodo.com/spacex-loses-appeal-to-force-sexual-harassment-lawsuit-into-private-arbitrati...
1•rbanffy•15s ago•0 comments

Adversarial defense for binaries/JS/Python against AI reverse-engineering agents

https://github.com/qybaihe/bla
1•vntok•2m ago•0 comments

Mastodon: We Are Back

https://www.patreon.com/mastodon/posts/we-are-back-175026618
1•doener•2m ago•0 comments

T-Mobile illegally imposed 50GB cap on low-income home Internet plan, NY says

https://arstechnica.com/tech-policy/2026/11/t-mobile-illegally-imposed-50-gb-cap-on-low-income-ho...
1•rbanffy•3m ago•0 comments

Code Smells of Desperation (2023)

https://www.os2museum.com/wp/this-code-smells-of-desperation/
1•sammatilda•5m ago•0 comments

Why Writing Correct Software Is Hard

https://pron.github.io/posts/correctness-and-complexity
2•AriFordsham•14m ago•0 comments

Show HN: Europe's gas storage, updated daily from public GIE and ENTSOG data

https://gas.beetl.io/
1•rykam•15m ago•0 comments

Carpathron Remote

https://qubitpage.com/remote
1•msrusu•16m ago•0 comments

What is static analysis, really?

https://danielefilaretti.com/what-is-static-analysis/
1•AriFordsham•16m ago•0 comments

Hackers breached AWS accounts through unused third-party access permissions

https://www.wiz.io/blog/qubole-cross-account-access-abused-in-the-wild
2•DonAtimator•17m ago•0 comments

Costcrew a app to manage AI spending

1•ArchEagle•18m ago•1 comments

Every Architecture Is a Receipt

https://hrih.si/articles/every-architecture-is-a-receipt/
1•DonAtimator•18m ago•0 comments

Israeli strike on a Gaza hospital kills 6 people, health authorities say

https://apnews.com/article/gaza-israel-hospital-strike-people-killed-50b547b5a82388b6b415aee4d776...
3•hebelehubele•19m ago•0 comments

Design software reimagines everyday objects as self-aware devices

https://news.mit.edu/2026/design-software-reimagines-everyday-objects-as-self-aware-devices-1022
1•rbanffy•20m ago•0 comments

Kensler's permute(): stateless, constant-time shuffled iteration

https://andrew-helmer.github.io/permute/
1•joshcsimmons•24m ago•0 comments

Coding Agents and Software for One

https://rumple.github.io/blog/2026/11/06/coding-agents-and-software-for-one.html
2•saikatsg•28m ago•0 comments

Show HN: StringRipper – pull URLs and strings out of running Windows processes

https://github.com/akustikrausch/StringRipper
1•akustikrausch•30m ago•0 comments

Despite Denial, Trump Was Told on Trip to China About Spying on Nvidia Leader

https://www.nytimes.com/2026/11/10/us/politics/trump-china-trip-nvidia.html
2•vrganj•33m ago•1 comments

Why most crypto track records mislead [pdf]

https://aevumprotocol.io/papers/did-they-call-it.pdf
1•Quinte2885•34m ago•0 comments

What if I had bought Apple stock with every iPhone?

https://www.seriousaboutech.com/2026/11/iphoneapplestocks.html
1•janandonly•35m ago•0 comments

Show HN: Wordout, an open-source daily word game with no server

https://dilippanicker.github.io/wordout/play/
1•onglipo•42m ago•0 comments

Show HN

https://github.com/msbayindir/panosync
2•msefabayindir•43m ago•0 comments

Connecting identity lifecycle to cryptographic key management

https://github.com/lecodev-26/nexus-q
1•lecodev•44m ago•0 comments

Walk in Bengaluru Traffic

https://www.bengaluruwalk.wtf/
1•josharsh•45m ago•1 comments

Elon Musk says it would be an honor to hire Jensen Huang

https://www.bloomberg.com/news/articles/2026-11-12/elon-musk-says-it-would-be-an-honor-to-hire-nv...
3•amelius•48m ago•2 comments

29M Japanese Buildings

https://tech.marksblogg.com/japanese-building-footprints.html
1•marklit•48m ago•0 comments

Weird licenses and the new open source

https://dustri.org/b/weird-licenses-and-the-new-open-source.html
1•birdculture•48m ago•0 comments

Show HN: Open-source animated UI icons your coding agent can add to

https://generativeicons.com/
1•reallynattu•53m ago•1 comments

Ring launches a home security drone and an enterprise security robot

https://techcrunch.com/2026/11/10/ring-known-for-its-doorbell-cameras-launches-a-home-security-dr...
2•edward•55m ago•1 comments

Show HN: Veshell – Your Linux apps on a map, not on a desktop

https://free-explorers.com/veshell
2•PapyElGringo•57m ago•1 comments