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.

Intelligent UI needs a new HTML

https://www.openui.com/blog/intelligent-ui-needs-a-new-html
1•zahlekhan•1m ago•0 comments

Open source license compliance generally available

https://github.blog/changelog/2026-10-16-open-source-license-compliance-generally-available/
1•smokeeaasd•2m ago•0 comments

Petroleum Observatory – EIA Diesel and Gasoline

https://digitalmarketingco.org/apps/petroleum-observatory
1•marketingagency•4m ago•0 comments

SpaceX's 800 MHz spectrum grab threatens Big 3 mobile carriers more

https://www.fierce-network.com/wireless/spacexs-800-mhz-spectrum-grab-threatens-big-3-mobile-carr...
2•TMWNN•7m ago•0 comments

Critical BlockStrap flaw lets hackers run code on Magento servers

https://www.bleepingcomputer.com/news/security/critical-blockstrap-flaw-lets-hackers-run-code-on-...
1•wondersky•8m ago•0 comments

Veda, the First Agentic Hobby OS Needs Contribution

https://github.com/vahmoh25/Veda/commit/e272c19af15ef1d0b7d932e2c4308cfecbd82d81
1•vahmoh26•12m ago•0 comments

E2B CEO: Sandboxes are dead

https://twitter.com/mlejva/status/2111102659377946821
2•shenli3514•13m ago•0 comments

The Last Answer

https://idiallo.com/blog/the-last-answer
2•foxfired•13m ago•0 comments

Puzzles and the AI Software Glut

https://blog.krazydad.com/2026/10/16/puzzles-and-the-ai-software-glut/
1•krazydad•13m ago•1 comments

What a difference search images make

https://mainbrella.com/blog/what-a-difference-search-images-make/
3•andrewfromx•14m ago•0 comments

Costa is a lightweight application which runs atop MS-DOS

https://costa.jacobpalm.dk
1•accrual•16m ago•0 comments

Show HN: Ozil AI – Turn one photo into the viral Ozil goal video

https://ozilai.net/
1•chaojie26•20m ago•0 comments

Emara: Deterministic feature slicing and dead-code reachability without LLMs

https://github.com/mohamedswe/emara
2•mohamedabdelgel•21m ago•0 comments

Show HN: Fly a Tesla Roadster over parked Teslas before the air runs out

https://roadster.pavlin.dev
3•fermatf•26m ago•0 comments

What Von Braun Said to His American Captors

https://hiphop.cafex.biz/blog/what-von-braun-said-to-his-american-captors
2•rmason•26m ago•1 comments

Peak Guessing Game

https://ianto-cannon.github.io/coldle.html
3•jantuss•26m ago•3 comments

The Short King Is Dead, Long Live the Short King

https://avc.xyz/the-short-king-is-dead-long-live-the-short-king
2•wslh•27m ago•0 comments

Infinity Core: Linux Kernel Core Vulnerabilities

https://github.com/V4bel/InfinityCore
1•miohtama•29m ago•0 comments

Why One of the Greatest Mathematicians Is on a 'War Footing'

https://www.nytimes.com/2026/10/16/us/math-ai-terence-tao.html
1•axiomdata316•29m ago•0 comments

Top Settler Rabbi Rules Jews May Harvest Olives from Palestinian-Owned Groves

https://www.haaretz.com/west-bank/2026-10-16/ty-article/top-settler-rabbi-rules-jews-may-harvest-...
3•grandpajoey•30m ago•0 comments

The Legacy of India's Quest to Sterilize Millions of Men

https://pulitzercenter.org/stories/legacy-indias-quest-sterilize-millions-men
2•nephihaha•31m ago•2 comments

Windows 95 Taskbar on macOS

https://docktopus.app/
1•evill33t•36m ago•0 comments

HN: Neutropia–a non-zero-sum game

https://nonzerosum.games/neutropia/
2•NonZeroSumJames•37m ago•1 comments

Time travel to 1890 and write a Telegram

https://telegramstyle.vercel.app/
2•DrDizzle•38m ago•0 comments

The AI Expectations Gap

https://www.anthropic.com/research/ai-expectations-gap
2•yusufozkan•39m ago•0 comments

How worried should we be about extinction risk from AI?

https://gowers.wordpress.com/2026/10/16/how-worried-should-we-be-about-extinction-risk-from-ai/
2•subset•41m ago•0 comments

Early tetrapods had surprisingly little ability to move their necks

https://www.eurekalert.org/news-releases/1147352
2•bediger4000•43m ago•0 comments

The DNS Museum

https://dns.museum
3•zdw•45m ago•0 comments

Nine-Inch Snails

https://www.theatlantic.com/science/2026/10/giant-african-snails-florida-invasion/688850/
2•zdw•45m ago•0 comments

Cryptographic Conspiracy Bench

https://cryptoconspiracybench.org/
2•tabletcorry•46m ago•0 comments