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.

Hacker reverses Samsung TV, finds on-board AI listening OpenAI account suspended

https://www.reddit.com/r/antiai/comments/1xdv3e5/hacker_reverse_engineers_his_samsung_tv_and_finds/
1•testing22321•3m ago•0 comments

Show HN: Code Counter Machine a modern analysis of AI driven development costs

https://github.com/insanai/ccm
1•vikrantrathore•6m ago•0 comments

Memory is slow, Disk is fast – Part 3

https://www.bitflux.ai/blog/memory-is-slow-part3/
1•dverlaeckt80•8m ago•0 comments

Real-time streaming with IBM StreamSets

https://www.ibm.com/products/streamsets
1•teleforce•9m ago•0 comments

Show HN: Latch – Make any website usable by AI agents in one line (WebMCP)

https://latch.tools/
1•r0bertini•12m ago•0 comments

Unspoken rules of Japanese body language

https://www.bbc.com/travel/article/20261022-six-gestures-to-learn-before-travelling-to-japan
2•tosh•14m ago•0 comments

Show HN: Pilely – Build and ship web apps within your AI chat

https://pilely.ai/
2•pcpliu•21m ago•0 comments

Advertisers Pull Meta Ads That Had Unwanted AI Glow-Ups

https://www.adweek.com/media/advertisers-pull-meta-ads-that-had-unwanted-ai-glow-ups/
3•thm•26m ago•0 comments

US has for years asked Musk to alter Starlink service in Ukraine, Middle East

https://www.reuters.com/business/autos-transportation/us-has-years-asked-musk-alter-starlink-serv...
3•JumpCrisscross•31m ago•0 comments

Show HN: Xet Server – Host your own models anywhere

https://github.com/guilt/xet-server
2•vkaku•40m ago•0 comments

AWS Continuum for code vulnerabilities is now generally available

https://aws.amazon.com/blogs/aws/aws-continuum-for-code-vulnerabilities-is-now-generally-available/
2•taubek•48m ago•0 comments

LibreSSL 4.4 Released with Faster SHA3, Bug Fixes

https://www.phoronix.com/news/LibreSSL-4.4-Released
2•ksec•52m ago•1 comments

Volkswagen's best-seller has gone electric, will replace the ID.4 and ID.5

https://electrek.co/2026/10/09/volkswagens-best-seller-goes-ev-replace-id-4-images/
3•geox•53m ago•0 comments

Elon Musk Invests $1B in Skydance (New Paramount/Warner Bros Discovery)

https://techcrunch.com/2026/10/22/elon-musk-made-a-1-billion-investment-in-skydance-report-says/
3•ryan_j_naughton•55m ago•0 comments

'Smart Wall' of AI Cameras Is Watching the Border and More Than a Million People

https://www.nytimes.com/interactive/2026/10/22/us/politics/ai-surveillance-cameras-border-mexico....
2•ryan_j_naughton•57m ago•0 comments

Pangram CEO: People believe AI writing is indistinguishable from ours. It's not

https://bigthink.com/science-tech/trust-issues/
1•paulpauper•1h ago•0 comments

OBS Studio 33

https://github.com/obsproject/obs-studio/releases/tag/33.0.0
1•pentagrama•1h ago•0 comments

The current state of new media

https://twitter.com/kramnotmark/status/2113668179788534255/photo/1
1•binarynate•1h ago•1 comments

AOM Sees Rapid AV2 Adoption Across the Ecosystem Just 4 Months After Release

http://aomedia.org/press%20releases/AOMedia-Rapid-AV2-Adoption-Across-the-Video-Ecosystem/
1•ksec•1h ago•0 comments

Welcome to 2030. I own nothing, no privacy, and life's never been better (2016)

https://medium.com/world-economic-forum/welcome-to-2030-i-own-nothing-have-no-privacy-and-life-ha...
2•sssilver•1h ago•0 comments

Elon Musk Acquires $1B Stake in CNN's Parent Company

https://symby.com/news?_cid=101605177&preferredLanguage=en
20•Alien1Being•1h ago•6 comments

Who will become the new mathematicians of Math 2.0?

https://proofsandprompts.com/2026/10/20/who-will-become-the-new-mathematicians-of-math-2-0/
2•the-mitr•1h ago•0 comments

Who Wrote This Byte?

https://fzakaria.com/2026/10/23/who-wrote-this-byte
1•Sighery•1h ago•0 comments

No Pussyfooting (1973)

https://www.discogs.com/master/9824-Fripp-Eno-No-Pussyfooting?srsltid=AYCX9vI4P8C-IiZyut0mu3GJd_l...
2•erottern•1h ago•0 comments

Yab, yet Another Browser

https://yetanotherbrowser.com/#arc
1•nmiv•1h ago•1 comments

Pi, the coding agent, compiled ahead of time to one native executable

https://github.com/opensec-git/Pi-Bolt
2•thunderbong•1h ago•0 comments

Julia Returns to Tiobe's Top 20

https://tech-insider.org/tiobe-index-october-2026-python-julia-rust/
2•sumnole•1h ago•1 comments

Oura sues rival Ultrahuman again, threatening its U.S. smart ring comeback

https://techcrunch.com/2026/10/22/oura-sues-rival-ultrahuman-again-threatening-its-u-s-smart-ring...
4•Brajeshwar•1h ago•0 comments

Tehran has detailed plans to hit Gulf undersea cables if war resumes

https://www.timesofisrael.com/liveblog_entry/iranian-officials-tehran-has-detailed-plans-to-hit-g...
3•ghost-pooper•1h ago•0 comments

Uringscope: eBPF Tracer and Analyzer for io_uring

https://github.com/rch0wdhury/uringscope
2•tanelpoder•1h ago•1 comments