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.

The Mininum Sellable Unit

https://oconselho.ai/thesis
1•arthurfarache•28s ago•0 comments

Full-Text Search Still Works. It Just Doesn't Get You to an Answer

https://medium.com/@s_nikolaev/full-text-search-still-works-it-just-doesnt-get-you-to-an-answer-2...
1•snikolaev•54s ago•0 comments

Number of young people with no close friends has soared since 2014 in England

https://www.theguardian.com/society/2026/sep/01/thinktank-reports-epidemic-of-loneliness-among-en...
1•Symbiote•2m ago•0 comments

ExitLaunch – A hand-vetted directory of active Micro-SaaS buyers

https://docs.google.com/spreadsheets/d/16pkNcl33UulKELXCsvXf0oJzUbcVQ1iHTvoLC5kV_0s/edit?usp=sharing
1•shemi_ceo•3m ago•0 comments

Decca Navigator System

https://en.wikipedia.org/wiki/Decca_Navigator_System
1•Bluestein•4m ago•0 comments

Self-Hosting on the Dark Web

https://david.alvarezrosa.com/posts/self-hosting-on-the-dark-web/
1•dalvrosa•4m ago•0 comments

California legislature passes a major local news funding bill

https://www.niemanlab.org/2026/08/california-passes-a-major-local-news-funding-bill-if-you-hire-m...
1•rdmuser•5m ago•0 comments

How Much Does Greece's Achilles Shield Cost? ($3.5B Defense Deal with Israel)

https://www.thepricer.org/how-much-does-greeces-achilles-shield-cost/
2•cinderelacinder•7m ago•0 comments

Welcome to the Porcelain Insulator Collector's World of Mud

https://www.insulators.info/porcelain/
2•ripe•8m ago•1 comments

Apple Leadership

https://www.apple.com/leadership/
3•tomatofu•9m ago•0 comments

Ask HN: Anyone else getting spammed by Bond (YC P25) ?

1•drcongo•10m ago•0 comments

Starscout: Find suspicious (and possibly faked) GitHub stars at-scale

https://github.com/hehao98/starscout
2•mdspan•12m ago•1 comments

Think twice before installing this device promising free movies

https://arstechnica.com/security/2026/08/how-some-media-streaming-devices-open-home-networks-to-a...
1•joozio•13m ago•0 comments

Show HN: I Built a Bot

https://github.com/chanyeinthaw/friday
1•chanyeinthaw•17m ago•0 comments

Lake Ontario ("Lake America")

https://community.openstreetmap.org/t/lake-ontario-lake-america/146975
3•rdmuser•18m ago•0 comments

Show HN: AI-powered link building and SEO outreach, smarter

https://outreachlooper.com
1•not_wowinter14•20m ago•0 comments

Semantic Lightness and the Rise of LLMs

https://assertfail.gewalli.se/2026/08/23/Semantic-lightness-and-the-rise-of-LLMs.html
1•wallymathieu•20m ago•0 comments

We Let AI Agents Rewrite a 92M-Message-a-Day Service in Go

https://www.checklyhq.com/blog/agentic-rewrite-nodejs-to-go/
3•tnolet•24m ago•0 comments

Rui Ueyama: "We are rewriting the mold linker in Rust"

https://twitter.com/rui314/status/2094677980857680052
1•afdbcreid•24m ago•0 comments

BitCards – Computer Ads from the Past

https://computeradsfromthepast.substack.com/p/bitcards
1•rbanffy•25m ago•0 comments

Xbot.team – Read a Grok Bot's spec without opening the app

https://xbot.team
1•GrokBotVisbile•28m ago•0 comments

Can we stop AI from deceiving us?

https://www.theguardian.com/news/2026/sep/01/if-you-build-something-vastly-smarter-than-you-it-be...
2•Archelaos•28m ago•0 comments

Formatting as Courtesy to the Reader

https://tracydurnell.com/2026/08/31/formatting-as-courtesy-to-the-reader/
1•serhack_•30m ago•1 comments

Introduction to the NT kernel development (Part 1)

https://geob99.github.io/pages/nt-dev/nt-dev-part1.html
1•serhack_•30m ago•0 comments

Americans Still Skeptical That UFOs Are Aliens

https://news.gallup.com/poll/713765/americans-skeptical-ufos-aliens.aspx
1•helsinkiandrew•31m ago•1 comments

The Meaning of Liff

https://en.wikipedia.org/wiki/The_Meaning_of_Liff
1•Bluestein•32m ago•0 comments

AI Orchestrator that self-learns, run's teams and never sleeps

https://crewmoot.hellodexter.com/
1•dalekirkwood•33m ago•1 comments

Verba: Learn a language by talking to an AI never touches the internet

https://github.com/nuvocode/verba
1•timeoperator•33m ago•0 comments

Inside Colombia's Cocaine Factories

https://www.economist.com/interactive/1843/2026/08/28/inside-colombias-cocaine-factories
1•bookofjoe•33m ago•1 comments

Shein is a global slavery company masquerading as an e-commerce platform

https://en.wikipedia.org/wiki/Shein
2•matheusalmeida•38m ago•0 comments