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.

27x Faster Terminal Text Effects Rust Port

https://github.com/omacom-io/ttfx
1•smusamashah•2m ago•0 comments

Muse Glimmer

https://simonwillison.net/2026/Aug/10/introducing-muse-glimmer/
2•raybb•2m ago•0 comments

HN is good for marketing other than communication or study!?

3•lilerjee•3m ago•0 comments

Demon's souls prototype presentation for gameshare iv [video]

https://www.youtube.com/watch?v=qVK_rc-tnGY
2•andrekandre•4m ago•1 comments

Updated GPG Key for Signing Firefox and Thunderbird Releases

https://blog.mozilla.org/security/2026/08/10/updated-gpg-key-for-signing-firefox-and-thunderbird-...
2•csmantle•5m ago•0 comments

Language models transmit behavioural traits through hidden signals in data

https://www.nature.com/articles/s41586-026-10319-8
2•Phithagoras•7m ago•0 comments

Teaching an Open Model to Do Science

https://www.arcee.ai/blog/teaching-an-open-model-to-do-science
2•gmays•8m ago•0 comments

VSCode-code-widgets: Interactive widgets embedded in source code

https://github.com/CZDanol/vscode-code-widgets
2•thunderbong•11m ago•0 comments

'We Did Our Best': Metaphors of Parenting and AI

https://www.nybooks.com/articles/2026/06/25/we-did-our-best-ai-meghan-ogieblyn/
2•mitchbob•16m ago•1 comments

Why My Father Is Wrong: A Defense of Guitar Hero

https://whatever.scalzi.com/2026/08/10/why-my-father-is-wrong-a-defense-of-guitar-hero/
2•Tomte•16m ago•0 comments

Don't Classify. Hallucinate

https://softwaredoug.com/blog/2026/08/10/hypothetical-classifications.html
2•Tomte•17m ago•0 comments

Show HN: Seedle, daily -dle for Minecraft seeds

https://seedle.loch.tools/
2•lwansbrough•22m ago•0 comments

Plethora – your new (social) platform for Interactive Media

https://plethora.studio/
2•zenarin•22m ago•1 comments

A Technical Framework for Bring Your Own Cloud Applications

https://byocanywhere.org/
2•aloknnikhil•30m ago•0 comments

Pretense of You

https://iamwisdom.substack.com/p/pretense-of-you
2•I_Am_Wisdom•31m ago•0 comments

Wingdings (Album) 2026

https://en.wikipedia.org/wiki/Wingdings_(album)
3•ddxv•36m ago•1 comments

Hatsune Miku

https://en.wikipedia.org/wiki/Hatsune_Miku
2•palad1n•42m ago•0 comments

Meilisearch vs. Manticore: Setting the Record Straight

https://medium.com/@s_nikolaev/meilisearch-vs-manticore-setting-the-record-straight-e7d51aa08db2
2•snikolaev•43m ago•0 comments

Call centres using AI to 'whiten' Indian accents (2025)

https://tech.yahoo.com/ai/articles/call-centres-using-ai-whiten-090000847.html
4•vismit2000•45m ago•1 comments

Kredit – Real-time Risk Intelligence for Agents

https://kredit.sh/
3•jacobrafati•47m ago•1 comments

Mindscape: Chandra Sripada on How LLMs and Humans Are Cognitive Cousins

https://preposterousuniverse.com/podcast/2026/08/10/363-chandra-sripada-on-how-llms-and-humans-ar...
3•wwarner•59m ago•1 comments

TLabel – A unified annotation format and converter for tactile robotics datasets

https://github.com/liesliy/tlabel
2•liesliy•1h ago•0 comments

US President hid in catering cart for secret flight in Turkey amid Iran threat

https://www.theguardian.com/us-news/2026/aug/10/trump-secret-flight-nato-return
40•Jimmc414•1h ago•21 comments

"Operator, can you hear me?" A Faithful Line into the UNISOC Baseband

https://arxiv.org/abs/2608.07143
3•sbulaev•1h ago•0 comments

Meghan O'Gieblyn: Against Slop

https://www.nybooks.com/online/2026/07/11/against-slop-meghan-ogieblyn/
4•mitchbob•1h ago•1 comments

Capture the Flag

https://unik.cx/ctf/index.html
2•eyberg•1h ago•0 comments

One of China's workhorse rockets just exploded in flight

https://arstechnica.com/space/2026/08/one-of-chinas-workhorse-rockets-just-exploded-in-flight/
3•pseudolus•1h ago•0 comments

Musk's Daily Starship Problem

https://tmfassociates.com/blog/2026/08/10/musks-daily-starship-problem/
6•TheAlchemist•1h ago•0 comments

Ambulance defibrillators removed from sale, still on the road

https://www.theage.com.au/national/confusion-and-concern-nsw-ambulance-defibrillators-removed-fro...
3•Alien1Being•1h ago•0 comments

How to Keep Thinking

https://www.seangoedecke.com/how-to-keep-thinking/
6•vismit2000•1h ago•0 comments