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.

New rental trend? A $200 'work-from-home fee' tacked on to Bay Area lease

https://abc7news.com/post/new-rental-trend-200-work-home-fee-tacked-bay-area-lease/19547108/
1•randycupertino•44s ago•1 comments

Skipper – An offline, voice-enabled AI companion for off-grid environments

https://meetskipper.ai/
1•fgcity•3m ago•0 comments

China Rolls Out the ROAs

https://www.kentik.com/blog/china-rolls-out-the-roas/
1•oavioklein•3m ago•0 comments

Breaking Down $1.65T of Big Tech AI Spending (Not Debt)

https://finterm.ai/blog/big-tech-ai-spending-1-65-trillion.html
2•cheeseblubber•4m ago•1 comments

Bakelite – first commercial synthetic plastic

https://en.wikipedia.org/wiki/Bakelite
2•gurjeet•4m ago•0 comments

Future euro banknote design proposals

https://www.ecb.europa.eu/euro/banknotes/future_banknotes/html/all-design-proposals.en.html
4•mopsi•4m ago•1 comments

'Customers prefer AI chatbots,' says British Gas owner as call centre jobs axed

https://www.theguardian.com/business/2026/jul/23/customers-prefer-ai-chatbots-says-chris-oshea-br...
3•chrisjj•4m ago•0 comments

The DeepSeek Doctrine

https://www.thexpin.com/p/the-deepseek-doctrine
3•imagi•4m ago•0 comments

Write video in HTML, render MP4 in the browser

https://webmotion.superhq.ai/
1•phoenixranger•5m ago•0 comments

The future of AI is community driven and open

https://www.cncf.io/blog/2026/07/23/the-future-of-ai-is-community-driven-and-open/
1•hasheddan•6m ago•0 comments

Dcmake: A new CMake debugger UI

https://nullprogram.com/blog/2026/04/07/
1•birdculture•6m ago•0 comments

Brussels slaps €890M fine on Google despite looming new US tariffs

https://www.euronews.com/my-europe/2026/07/23/brussels-slaps-890-million-fine-on-google-despite-l...
3•billybuckwheat•7m ago•1 comments

Shift from Argo CD to Flux CD: Rethinking GitOps for the Secure Enterprise

https://control-plane.io/posts/shift-from-argo-to-flux/
1•gpi•7m ago•0 comments

Fil-C: Garbage In, Memory Safety Out – Filip Pizlo – SSW 2026 [video]

https://www.youtube.com/watch?v=5F-2Y1LPRek
1•Bootvis•8m ago•0 comments

ChatGPT proves Dinitz-Garg-Goemans conjecture is false

https://twitter.com/DmitryRybin1/status/2079906232069177643
2•leopoldj•9m ago•0 comments

Emerging challenge: We know students are no longer reading books

https://theconversation.com/college-professors-face-an-emerging-challenge-we-know-students-are-no...
1•pseudolus•10m ago•0 comments

How AI Is Changing Open Source

https://enblog.eischmann.cz/2026/07/23/how-ai-is-changing-open-source/
4•pksadiq•11m ago•0 comments

Show HN: Production duplex speech model for revenue calls

https://metavoice.io/
2•vatsalaggarwal•12m ago•0 comments

GitHub slashes public bug bounty payouts as AI report flood buries security team

https://www.theregister.com/devops/2026/07/23/github-slashes-public-bug-bounty-payouts-as-ai-repo...
2•beardyw•13m ago•1 comments

AI has ruined cute animal videos

https://www.bbc.com/future/article/20260721-ai-has-ruined-cute-animal-videos
4•devonnull•14m ago•0 comments

Iran War Energy Cost Tracker

https://iranwarcost.watson.brown.edu/
5•thehoff•14m ago•0 comments

War Is a Racket (1935) [pdf]

https://www.heritage-history.com/site/hclass/secret_societies/ebooks/pdf/butler_racket.pdf
2•DesaiAshu•17m ago•0 comments

Nolan's 'The Prestige' is being re-released in 70mm for 20th anniversary

https://www.nme.com/news/film/the-prestige-is-being-re-released-in-70mm-for-20th-anniversary-chri...
2•Erenay09•17m ago•0 comments

Show HN: Free .dev subdomains for indie projects via GitOps Python workflow

https://github.com/IlyaP358/fluxcast-domains
1•Illium•17m ago•0 comments

Tesla says Robotaxi is expanding – its own chart shows it's not

https://electrek.co/2026/07/22/tesla-robotaxi-growth-flat-own-chart-q2-2026/
3•kklisura•18m ago•0 comments

Grey area of information (8 of July 26)

https://www.senat.fr/travaux-parlementaires/commissions/commission-de-la-culture-de-leducation-et...
2•6r17•18m ago•1 comments

Next Space Force chief throws cold water on the idea of space privateers

https://arstechnica.com/space/2026/07/next-space-force-chief-throws-cold-water-on-the-idea-of-spa...
1•danielmorozoff•18m ago•0 comments

Show HN: Syndicate – a desktop app for multi-agent orchestration

https://usesyndicate.org/
2•sigildev•18m ago•0 comments

Sega Dreamcast is getting its first game release in 24 years

https://www.gamingbible.com/news/white-creek-sega-dreamcast-game-253379-20260720
2•HardwareLust•19m ago•0 comments

Bipartite Perfect Matching in Deterministic NC

https://blog.computationalcomplexity.org/2026/07/bipartite-perfect-matching-in.html
1•speckx•19m ago•0 comments