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.

Show HN: Declarative-forms – await an object the way prompt() awaits a string

https://wolfoo2931.github.io/declarative-forms/
1•WolfOliver•15s ago•0 comments

Physical Database

https://www.reddit.com/r/mildlyinteresting/comments/1vqloem/the_uncomputerized_booking_system_at_...
1•wateralien•33s ago•0 comments

If You Cut Down a Tree for a Better View in Australia, Authorities Block It

https://www.greenmatters.com/pn/if-you-cut-down-a-tree-for-a-better-view-in-australia-authorities...
1•thunderbong•48s ago•0 comments

Hetzner Data Center Tour [video]

https://www.youtube.com/watch?v=MQeJYEN_lrg
1•SigmundurM•1m ago•0 comments

Idea for flying Tesla Roadster has been around 'since the beginning'

https://www.youtube.com/watch?v=ZxeXJ8_tcbE
1•root-parent•1m ago•0 comments

AWS key exposed in JavaScript may have lit way to Beacon's charity data

https://www.theregister.com/security/2026/08/13/aws-key-exposed-in-javascript-may-have-lit-way-to...
1•xd•2m ago•0 comments

Artisinal developer aschews LLM assistance

https://www.jumboframeinternet.com/post/27/
1•mplabelspace•4m ago•2 comments

Roboflow Playground: Try and Compare 30 Computer Vision Models

https://blog.roboflow.com/roboflow-playground/
1•Bluestein•4m ago•0 comments

AI alignment as continuation control: 31,430 frozen trials

https://zenodo.org/records/21696066
1•rayanpal_•5m ago•0 comments

In Which I Lose My Mind over Embeddings (HPLM Chapter 2)

https://www.maayanroth.com/blog/posts/hundred-page-lm-book-chapter-2.html
1•evakhoury•5m ago•0 comments

Acoustics of the Flute

https://physicstoday.aip.org/features/acoustics-of-the-flute
1•akshatjiwan•5m ago•0 comments

Emacs 31.1 RC1 is available

https://lists.gnu.org/archive/html/emacs-devel/2026-08/msg00599.html
1•untilted•6m ago•0 comments

FARA Registration 7649

https://www.bitchute.com/video/X7bLstPRZeoh/
1•untiledsource•6m ago•0 comments

Show HN: Visimer – open-source visual editor for Mermaid diagrams

https://github.com/inkeep/visimer
1•engomez•6m ago•0 comments

Tim O'Reilly – Why Open Source Matters for AI

https://oreillyradar.substack.com/p/why-open-source-matters-for-ai
2•rmason•6m ago•0 comments

Don't use cosine similarity carelessly We fixed it this way

https://github.com/insightitsGit/VectorPrism
1•parvaamin•7m ago•0 comments

DEF CON dingus suspected of trying to take over Delta in-flight Wi-Fi

https://www.theregister.com/security/2026/08/11/def-con-dingus-suspected-of-trying-to-take-over-d...
2•ColinWright•8m ago•0 comments

Things I know about beets

https://lucymcphail.com/posts/things-i-know-about-beets/
2•evakhoury•9m ago•1 comments

Present and future of safe biological AI

https://brianhie.com/present_and_future
1•speckx•9m ago•0 comments

An A2A extension for agents that publish what they can be taught

https://www.rsaxb.com/a2a/learnables/v1
1•tvpavan•9m ago•0 comments

Everyone Is Still Undersizing the AI Market – Eric Vishria [video]

https://www.youtube.com/watch?v=0e7aG_MIHlQ
1•adletbalzhanov•11m ago•0 comments

New Paper: Attention Is All You Have

https://twitter.com/panda_liyin/status/2089407870408548585
9•meame2010•11m ago•1 comments

Google Aims to Boost AI with Purchase of Spirit Airlines Data

https://news.bloomberglaw.com/bankruptcy-law/google-aims-to-boost-ai-with-purchase-of-spirit-airl...
1•rmason•12m ago•1 comments

Show HN: Nikala UI – UI Component Library for SolidJS and Tailwind CSS v4

https://nikala.dev/
1•magradze•12m ago•0 comments

Demand for Canadian citizenship certificates soaring, fuelled by Americans

https://www.cbc.ca/news/politics/canadian-citizenship-certificates-americans-9.7307536
7•geox•13m ago•2 comments

Cloudflare: Machine Traffic Could Hit 1,000x Human Traffic in 5 Years

https://www.searchenginejournal.com/the-biggest-ai-crawler-on-my-website-was-hunting-for-credenti...
1•avgarrison•13m ago•0 comments

Bounding GPU Opportunity and Avoiding Host Round Trips in LLM-Agent Control

https://arxiv.org/abs/2608.12123
1•josefchen•15m ago•0 comments

Passphrase-less reboots using kexec under NixOS

https://www.bevuta.com/en/blog/passphraseless-reboots-using-kexec/
1•birdculture•17m ago•0 comments

How I Over-Engineered My Book

https://ben.balter.com/2026/08/17/how-i-over-engineered-my-book/
2•benbalter•17m ago•0 comments

30-year Treasury yield tops 5.31%, the highest in 19 years

https://www.cnbc.com/2026/08/17/treasury-yields-federal-reserve-fomc-minutes.html
3•root-parent•18m ago•1 comments