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.

De-Anglicizing Programming

https://program.toile-libre.org/DP/index.htm
1•dmabboux•2m ago•1 comments

The centre tracking South Korea's stalkers in real time

https://www.theguardian.com/world/ng-interactive/2026/sep/11/app-tracks-south-korea-stalkers-in-r...
2•nzlend•6m ago•0 comments

Nvidia Nemotron VoiceChat on Apple Silicon: Full-Duplex Speech with Tools

https://blog.ivan.digital/nvidia-nemotron-voicechat-on-apple-silicon-full-duplex-speech-with-tool...
1•aufklarer•7m ago•0 comments

Base84 deserves a place in file names

https://00f.net/2026/09/09/base84/
1•kevvok•8m ago•0 comments

Learning without a brain – how bacteria store memories and remember like ANNs

https://phys.org/news/2026-09-brain-bacteria-memories-artificial-neural.html
1•mdp2021•9m ago•0 comments

Show HN: Beautiful Markdown rendering in your terminal

https://github.com/spencerldixon/lime
1•spencerldixon•15m ago•0 comments

China's Huawei branded a criminal enterprise as tech firm's US trial opens

https://www.theguardian.com/technology/2026/sep/10/china-huawei-trial-us
1•beardyw•16m ago•0 comments

Show HN: Jscpd start support type2/type3 clones

https://github.com/kucherenko/jscpd
1•andreypk•19m ago•0 comments

Redis built a cache that cuts LLM costs

https://redis.io/langcache/
1•soltanov•20m ago•0 comments

Show HN: FOSS browser-based visual Kegel trainer for men

https://kegeltrainer.net/
1•artmanja111•20m ago•0 comments

If You Always Enjoy It, You're Not Pushing It Hard Enough

https://www.ssp.sh/blog/benn-stancil-on-deadlines-and-storytelling/
1•zazuke•21m ago•0 comments

Soft-Deprecating Re.match()

https://hugovk.dev/blog/2026/soft-deprecating-re.match/
1•runningmike•21m ago•0 comments

India launches tap-and-pay option for payments for full Apple Pay rollout

https://www.reuters.com/world/india/india-launches-tap-and-pay-option-real-time-payments-ahead-fu...
1•fork-bomber•22m ago•0 comments

LLM 0.35

https://simonwillison.net/2026/Sep/7/llm/
1•hnrprtlpdb•23m ago•0 comments

How big is the open-model threat to AI hyperscalers?

https://www.ft.com/content/48588acb-8026-4c8e-aac7-8b5588294dbf
2•JumpCrisscross•23m ago•0 comments

Hot Deal 10 Days Gorilla Trekking Safari

https://davsafaris.com/
1•williamsekamatt•23m ago•0 comments

An atlas of periodic solutions to the three-body problem

https://www.threebodyorbits.com/
1•thunderbong•24m ago•0 comments

Anthropic says it stopped scientists potentially developing bioweapons with AI

https://www.ft.com/content/845cf3bf-59c5-4e53-a45e-e11d2339df9d
1•ethanhawksley•24m ago•1 comments

Kern – European. Cloud-native. Verifiable all the way down

https://www.kern-lang.eu/
1•rbanffy•27m ago•0 comments

UK canned 'mackerel' now contains no mackerel

https://www.ft.com/content/980adf6d-27fc-47fb-b812-b468ea90e15f
1•JumpCrisscross•27m ago•1 comments

DSCI goes pre beta testing – need early feedback

5•melezhik•28m ago•2 comments

The unbearable lightness of one more index

https://boringsql.com/posts/unbearable-lightness-of-one-more-index/
1•Tomte•29m ago•0 comments

New Revelations About the Origin of Interstellar Comet 3I/Atlas

https://www.universetoday.com/articles/new-revelations-about-the-origin-of-interstellar-comet-3ia...
1•Betelbuddy•32m ago•0 comments

Cherenkov Radiation - traveling faster than light

http://www.iaea.org/newscenter/news/what-is-cherenkov-radiation
5•andsoitis•32m ago•0 comments

Fuzzing the State Machines Inside My HTTP Client

https://blog.gaborkoos.com/posts/2026-09-05-Fuzzing-the-State-Machines-Inside-My-HTTP-Client/
1•Klaster_1•32m ago•0 comments

Ask HN: How would you re-design SwiftUI?

1•elcritch•33m ago•0 comments

Latham and Watkins buys Nvidia servers to set up in-house AI systems

https://www.ft.com/content/a2aaa848-92c3-4f7a-b758-5858bfb29e70
2•ivory54321•35m ago•1 comments

Oracle says AI will save it from the SaaSpocalypse, not bring it on

https://www.theregister.com/software/2026/09/11/oracle-says-ai-will-save-it-from-the-saaspocalyps...
1•Betelbuddy•35m ago•0 comments

My Favourite Games from GMTK Game Jam 2026 [video]

https://www.youtube.com/watch?v=awegilW3DTc
2•duck•36m ago•0 comments

The Hidden Dangers of Musk's Votesafe.org

https://popular.info/p/the-hidden-dangers-of-musks-votesafeorg
3•latexr•37m ago•1 comments