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

Comments

llm-exe•7mo 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•7mo 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: Books in 2025

1•huncyrus•1m ago•0 comments

Relatively open vegetation landscapes promoted early Pleistocene human evolution

https://www.nature.com/articles/s43247-025-02983-x
1•bryanrasmussen•2m ago•1 comments

Data Structures in Practice

https://github.com/djiangtw/data-structures-in-practice-public/blob/main/manuscript/chapters/chap...
1•atomlib•3m ago•0 comments

A Veteran of the Pusspenesian Wars

https://medium.com/luminasticity/a-veteran-of-the-pusspenesian-wars-937f0f5b6dcb
1•bryanrasmussen•7m ago•0 comments

Applying "make invalid states unrepresentable"

https://kevinmahoney.co.uk/articles/applying-misu/
1•fanf2•9m ago•0 comments

DreamQL → Better SQL?

https://www.nozdrenkov.com/dreamql/
1•whatever3•12m ago•1 comments

Show HN: Snipplle – an open-source snippet manager

https://github.com/snipplle/snipplle
1•alf_UMi•12m ago•0 comments

How do you validate video pipeline changes for ML models?

1•iamdani•23m ago•0 comments

Fight bad bot with SEC Fetch and Client Hints inconsistencies

https://blog.sicuranext.com/sec-fetch-and-client-hints-a-powerful-tool-against-automation/
1•emegeve83•26m ago•0 comments

LimeWire re-emerges in online rush to share pulled "60 Minutes" segment

https://arstechnica.com/tech-policy/2025/12/yo-what-limewire-re-emerges-in-online-rush-to-share-p...
3•smurda•26m ago•0 comments

Mostlymatter is a fork of Mattermost without users limit

https://framagit.org/framasoft/framateam/mostlymatter
2•simjue•34m ago•0 comments

How the world of work will change over the next 20 years

https://www.wsj.com/lifestyle/workplace/future-of-work-978509bf
1•hhs•34m ago•0 comments

EIG Letter: DHS Should Revise Proposed H-1B Weighted Lottery

https://eig.org/eig-letter-dhs-should-revise-proposed-h-1b-weighted-lottery-to-prioritize-top-tal...
1•Romanorum•41m ago•0 comments

Nuclear developer proposes using Navy reactors for data centres

https://financialpost.com/commodities/energy/developer-proposes-navy-reactors-for-data-centres
2•pseudolus•43m ago•1 comments

Nvidia to poach top staff from AI chip startup Groq in licensing deal

https://www.ft.com/content/3584197e-a99a-4a06-9386-dc65cf603f45
1•bookofjoe•47m ago•1 comments

Speed Act passes in House despite changes that threaten clean power projects

https://insideclimatenews.org/news/18122025/speed-act-passes-in-house-threatens-clean-power-proje...
1•pseudolus•48m ago•0 comments

The dollar game

https://www.imf.org/en/publications/fandd/issues/2025/12/cafe-economics-the-dollar-game-bruce-edw...
3•hhs•51m ago•1 comments

Dirlock

https://gitlab.steamos.cloud/holo/dirlock
1•birdculture•51m ago•0 comments

'I've been allergic to AI for a long time': an interview with Peter Thiel

https://spectator.com/article/ive-been-allergic-to-ai-for-a-long-time-an-interview-with-peter-thiel/
1•ksec•54m ago•0 comments

Internet sleuths are un-redacting some of the Epstein files

https://www.cbc.ca/news/world/epstein-files-unredacting-9.7027723
1•01-_-•54m ago•2 comments

One formula that demystifies 3D graphics [video]

https://www.youtube.com/watch?v=qjWkNZ0SXfo
2•todsacerdoti•56m ago•0 comments

Monetizers vs. manufactures: How the AI market could splinter in 2026

https://www.cnbc.com/2025/12/25/how-the-ai-market-could-splinter-in-2026-.html
1•pseudolus•57m ago•0 comments

Show HN: Neural Network Flies – train flies to find food

https://claude.ai/public/artifacts/504981f5-e975-45c1-ab28-336426c5dc76
1•logicallee•58m ago•1 comments

Santa Claus Through the Years: Vintage Photos from the Past

https://rarehistoricalphotos.com/santa-claus-vintage-photos/
1•Brajeshwar•59m ago•0 comments

Ask HN: Would a nonprofit cloud storage service make sense?

2•theaitch•1h ago•5 comments

The Sweeney Filming Locations – Olympia and W14 [video]

https://www.youtube.com/watch?v=1tPFNrP-xGQ
1•zeristor•1h ago•1 comments

When the World Logs in and Everything Breaks

https://comuniq.xyz/post?t=649
1•01-_-•1h ago•0 comments

Let boredom be the mother of invention

https://www.ft.com/content/20720f08-ba41-44e1-8ec0-4653d65d9757
1•hhs•1h ago•0 comments

Show HN: Play Riichi Mahjong Online

https://online-riichi.com
2•cerpins•1h ago•1 comments

How Claude Code is helping me as an open source maintainer

https://stanislas.blog/2025/12/claude-code-opus-open-source-maintenance/
1•angristan•1h ago•0 comments