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.

Infomaniak announces its planned listing on the Swiss stock exchange

https://news.infomaniak.com/en/infomaniak-announces-its-planned-listing-on-the-swiss-stock-exchange/
1•sp8•47s ago•0 comments

Show HN: Abendrot – The free and open-source macOS app for your circadian rhythm

https://github.com/matthewrball/abendrot
1•balldelegance•2m ago•0 comments

Is Samsung Pioneering Mass Adoption of USDC?

https://irishtechnews.ie/is-samsung-pioneering-mass-adoption-of-usdc/
1•belkin1•2m ago•0 comments

Guide: How to Use Libgpiod with C

https://fiosproject.de/posts/libgpiod/
1•ls-root•4m ago•0 comments

Why Don't People Use Formal Methods?

https://www.hillelwayne.com/post/why-dont-people-use-formal-methods/
1•Thom2503•5m ago•0 comments

Register deprivation: spills and runtime under forced register scarcity

https://rjp.io/blog/2026-07-19-register-deprivation
1•surprisetalk•6m ago•0 comments

Show HN: Edgemetry – self-hosted web analytics on Cloudflare's free tier

https://github.com/hayaran/edgemetry
2•theone•7m ago•0 comments

Building secure Uniswap v4 hooks

https://blog.trailofbits.com/2026/07/30/building-secure-uniswap-v4-hooks/
2•ErenayDev•8m ago•0 comments

Israel defender Bret Stephens calls out 'Jewish terrorists' in West Bank

https://www.timesofisrael.com/stalwart-israel-defender-bret-stephens-calls-out-jewish-terrorists-...
1•tcp_handshaker•10m ago•0 comments

Superrationality

https://en.wikipedia.org/wiki/Superrationality
1•kibwen•10m ago•0 comments

US FCC approves giant space mirror to deliver 'sunlight on demand'

https://www.cbc.ca/news/science/reflect-orbital-approval-fcc-9.7287535
2•throw0101d•11m ago•1 comments

Is open-weight AI banned yet?

https://isopenweightaibannedyet.com/
3•imtany•12m ago•1 comments

Why every Wikimedian should be a toolmaker

https://www.haykranen.nl/2026/07/30/wikimania-2026-every-wikimedian-toolmaker/
1•janvdberg•12m ago•0 comments

Show HN: A browser extension that flags GitHub repos with suspicious star growth

https://ayoublidjici-dotcom.github.io/repo-reality-check/
3•KageFX•12m ago•0 comments

How Old Is Ann?

https://quuxplusone.github.io/blog/2026/07/29/how-old-is-ann/
1•ibobev•12m ago•0 comments

Wallpets: Expressive animal companions that live in your Mac wallpaper

https://wall-pets.com/
1•mihau•13m ago•0 comments

What it means for an API to be RESTful

https://en.andros.dev/blog/9761fd2e/what-it-means-for-an-api-to-be-restful/
1•ibobev•13m ago•0 comments

CosmosEscape: Taking over Every Database in Azure Cosmos DB

https://www.wiz.io/blog/cosmosescape-taking-over-every-database-in-azure-cosmos-db
1•uvuv•13m ago•1 comments

Fixing long-standing shader issues and "Device Removed" crashes in Path of Exile

https://twitter.com/i/status/2082706381766029798
1•Sverigevader•13m ago•0 comments

Parsers don't have to be complicated

https://bkaradzic.github.io/posts/scanner/
1•ibobev•13m ago•0 comments

Poland blames Russia for firing missile into its territory

https://www.cnn.com/2026/07/29/europe/ukraine-kyiv-missile-attack-latam-intl
1•tcp_handshaker•13m ago•0 comments

Steam Client Adds HDR Streaming on Steam Deck OLED, AV1 Video Streaming

https://www.phoronix.com/news/Steam-Beta-Video-Streaming
1•DemiGuru•16m ago•0 comments

EU Icons for labelling AI-generated content

https://digital-strategy.ec.europa.eu/en/policies/eu-icons-labelling-ai-generated-content
2•pekko•17m ago•0 comments

design of Plan 9 and how I use it (2022)

https://hackerpublicradio.org/eps.php?id=3675
2•bmacho•18m ago•1 comments

Collusion with Competitive Marginals: Price-Level Audits Are Blind

https://arxiv.org/abs/2607.26385
1•sbulaev•20m ago•0 comments

UK on track for record heat-related deaths this year, UKHSA estimates

https://www.bbc.co.uk/news/articles/c0m78g01r8jo
2•ljf•21m ago•0 comments

Show HN: HuPow – Proof-of-Work to stop AI bots in your inbox

https://hupow.app
2•cmbza•22m ago•0 comments

The Cities That Said Yes to Drugs

https://www.theatlantic.com/magazine/2026/09/city-drug-addiction-harm-reduction-policy/687967/
3•SanjayMehta•22m ago•0 comments

Self-Hosting Agent-Built Apps on a Mac Mini: My Personal Software Journey

https://metedata.substack.com/p/016-my-personal-software-journey
1•young_mete•22m ago•0 comments

Show HN: Formae 0.88.0 Released

https://docs.formae.io/documentation/reference/release-notes
1•discountelf•22m ago•0 comments