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.

Gen Z is betting on sports. Experts warn of the risks

https://www.cnbc.com/2026/10/04/gen-z-sports-betting-financial-and-mental-health-risks.html
1•pseudolus•1m ago•0 comments

Site-Blocking Will Not Defend IP, No Matter the Bill's Name

https://www.eff.org/deeplinks/2026/10/site-blocking-will-not-defend-ip-no-matter-bills-name
1•droidjj•2m ago•0 comments

Ultrise

https://www.ultrise.com
1•abderrazzakecha•4m ago•0 comments

JavaScript Demos – Practical browser-based JavaScript examples, no frameworks

https://brysonbw.github.io/js-demos/#/
1•Brysonbw•10m ago•1 comments

Show HN: DoubtBench – does Jev know when humans disagree?

https://github.com/deeplearningguy/doubtbench
1•deepbuilder•10m ago•0 comments

What Is HLS Streaming? HTTP Live Streaming Explained

https://www.red5.net/blog/what-is-hls-streaming/
2•mondainx•20m ago•0 comments

Show HN: Severance-inspired terminal that prints task tickets

https://highlatencylife.com/notes/task-printer-machine-out-of-severance/
1•strizzo•20m ago•0 comments

Ask HN: What happens when AI writes a Bible ver 2.0, geared toward its interest?

2•netfortius•24m ago•1 comments

Your bookmarks are a mess. Fix them

https://chromewebstore.google.com/detail/kosh-bookmark-manager/meldjdfnfgefeoegccphimkmgmeamcce
1•havu12•25m ago•0 comments

New York Times Saved $45M with Tax Break It Faults Meta for Using

https://freebeacon.substack.com/p/new-york-times-co-saved-45-million
3•CGMthrowaway•26m ago•0 comments

An AI couldn't beat humans at StarCraft, so it decided to cheat

https://www.theverge.com/ai-artificial-intelligence/1004543/openai-gpt-cheat-starcraft
2•sbulaev•27m ago•0 comments

Show HN: Last Internet Connection

https://reparadoxy.itch.io/last-internet-connection
1•PolishDevelop22•28m ago•0 comments

I'm Calling for a Pause in the Development of the Universal Bone Dissolver

https://www.theatlantic.com/newsletters/2026/10/ai-slowdown-bone-dissolver/688854/
3•rmason•31m ago•0 comments

Show HN: Baloo, self-hosted AI code review for GitHub

https://github.com/bluebear-io/baloo-bear
2•amirshk80•33m ago•0 comments

In the wake of closure, a digital archive of animated materials appears online

https://filmstories.co.uk/news/tippett-studios-in-the-wake-of-its-closure-a-digital-archive-of-an...
1•rdmuser•33m ago•0 comments

Show HN: I open-sourced the gradient picker from our design editor

https://github.com/rishimohan/colorshot
1•zinx•33m ago•0 comments

Lawmakers look to require AM radio in new cars despite automakers' pushback

https://chicago.suntimes.com/media/2026/10/03/lawmakers-am-radio-new-cars-automakers-pushback
2•TMWNN•35m ago•0 comments

Scoop: White House monitors suspected plague outbreak in Russia

https://www.axios.com/2026/10/04/russia-plague-outbreak-white-house-us
3•colinhb•35m ago•2 comments

Annotated Finnegans Wake

https://finwake.com/01/01.htm
1•gregsadetsky•37m ago•1 comments

Fallstreak Hole

https://en.wikipedia.org/wiki/Fallstreak_hole
1•the-mitr•38m ago•0 comments

Show HN: MapLibre Compose, Interactive Vector Maps for Compose Multiplatform

https://github.com/maplibre/maplibre-compose
3•sargunv•39m ago•0 comments

Repair Café Silicon Valley

https://repaircafesv.org/
1•akman•40m ago•0 comments

blob camera

https://twitter.com/yaosamo/status/2104099908915753331
1•yaosamo•40m ago•0 comments

What new cat ownership data says about Americans

https://www.washingtonpost.com/opinions/interactive/2026/10/04/what-new-cat-ownership-data-says-a...
1•pseudolus•41m ago•1 comments

Show HN: Recly – turn your watch into a Plaud-style AI recorder

https://recly.dev/
2•rokrokss•42m ago•0 comments

Gold Steadies as Softer Inflation Cuts Fed Hike Bets

https://coinmarketcap.com/community/post/379792617/
2•joeymabia1•43m ago•0 comments

Full-fabric VHDL LLM inference engine. Runs Qwen3.5-class transformer inference

https://github.com/Nero7991/llm.vhdl
2•jacquesm•46m ago•0 comments

The Unspoken Arithmetic of the Alto Line

https://melvynschobel.substack.com/p/the-unspoken-arithmetic-of-the-alto
1•dorygold•49m ago•0 comments

Let's compete with China on AI social impact

https://www.machinesociety.ai/p/lets-compete-with-china-on-ai-social
1•mikelgan•49m ago•0 comments

Linear Exponential Scaling in Non-Abelian Groups: A Universal Map

https://zenodo.org/records/23138998
1•GeometryKernel•51m ago•0 comments