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.

GPT-Red: an LLM super-hacker OpenAI built to make its models safer

https://www.technologyreview.com/2026/07/15/1140514/meet-gpt-red-an-llm-super-hacker-openai-built...
1•joozio•2m ago•0 comments

A bunch of stuff I used to not know about K&R C

https://sebsite.pw/w/20260712-kandr.html
1•birdculture•2m ago•0 comments

The Looting of Science Fiction

https://aeon.co/essays/silicon-valley-has-a-science-fiction-problem
1•gajju3588•4m ago•0 comments

Uber moves to acquire Delivery Hero for €12.5B

https://www.reuters.com/business/finance/uber-nears-125bn-deal-acquire-delivery-hero-ft-reports-2...
1•ProjectBarks•5m ago•0 comments

Is There a Reliable Way to Generate Figma Designs from Code?

https://geekyants.com/blog/how-we-built-the-missing-bridge-from-code-to-figma
2•varda_62892•8m ago•0 comments

Building This Blog: Jekyll on GitHub Pages from Zero to 130 Posts

https://mcgarrah.org/setting-up-jekyll-blog-github-pages/
1•ankitg12•12m ago•0 comments

What is the real point of Codex Micro? [video]

https://www.youtube.com/watch?v=m8uUUUsMD3Y
1•hsuduebc2•21m ago•1 comments

Notes on Structured Programming [pdf]

https://www.cs.utexas.edu/~EWD/ewd02xx/EWD249.PDF
1•andsoitis•27m ago•0 comments

20-20-20 Rule: Are These Numbers Justified?

https://pubmed.ncbi.nlm.nih.gov/36473088/
1•ankitg12•30m ago•0 comments

From Microservice to Subprocess

https://kerkour.com/from-microservice-to-subprocess
1•enz•35m ago•0 comments

Notes on structured concurrency, or: Go statement considered harmful

https://vorpus.org/blog/notes-on-structured-concurrency-or-go-statement-considered-harmful/
4•Redoubts•36m ago•0 comments

What Psychology Says About HITL

https://aviatrix.ai/
2•karthik-a2z•39m ago•0 comments

Linus Torvalds tells AI haters to fork off

https://www.theregister.com/ai-and-ml/2026/07/15/linus-torvalds-tells-ai-haters-to-fork-off/5271894
8•galaxyLogic•39m ago•2 comments

Are U.S. Consumers Ready to Use Pay-by-Bank at the Point of Sale?

https://www.kansascityfed.org/research/payments-system-research-briefings/are-us-consumers-ready-...
1•toomuchtodo•46m ago•0 comments

Prominent Haskell defector pilloried by anti-AI purists

https://www.theregister.com/devops/2026/07/15/prominent-haskell-defector-pilloried-by-anti-ai-pur...
2•galaxyLogic•48m ago•1 comments

Celebrity influencers paid up to £1M to advertise deodorant on Instagram

https://www.bbc.co.uk/news/articles/cvgegqrp656o
2•mmarian•51m ago•1 comments

Vercel Native Awesome List

https://github.com/henryoman/awesome-vercel-native
1•henryoman•51m ago•0 comments

Holding the LLM Stack in Your Head

https://thegustafson.com/series
1•yayitswei•55m ago•0 comments

Show HN: Applications Are All You Need

https://www.npmjs.com/package/@openluxeco/cli
1•chandlerwilcox•56m ago•0 comments

Roko's Dancing Basilisk

https://boston.conman.org/2025/12/02.1
1•signa11•58m ago•0 comments

Mirage – fast and simple GTK+ image viewer

https://gitlab.com/thomasross/mirage
1•Mr_Minderbinder•1h ago•0 comments

Show HN: Free Ollama AI Trading Desktop App

https://www.vaultcharts.com/
1•AlexBThomsen•1h ago•0 comments

How AI Slop Is Killing World War II History (video)

https://www.youtube.com/watch?v=iUfP6amE7UA
2•MichaelMoser123•1h ago•1 comments

Firefox-WASM: Firefox in WebAssembly

https://github.com/HeyPuter/firefox-wasm
2•thunderbong•1h ago•1 comments

Triton Plugin Extensions

https://pytorch.org/blog/triton-plugin-extensions-enabling-tlx-and-custom-compiler-passes-out-of-...
2•zer0zzz•1h ago•0 comments

Linus Torvalds on AI usage in Linux development

https://lore.kernel.org/linux-media/CAHk-=wi4zC+Ze8e+p3tMv8TtG_80KzsZ1syL9anBtmEh5Z40vg@mail.gmai...
6•tosh•1h ago•1 comments

I built a tool to get comments in CSV format from YouTube videos

2•cristyg0101•1h ago•0 comments

Sheetz Chooses StorMagic SvHCI to Replace VMware Across 830 Retail Stores

https://finance.yahoo.com/technology/articles/sheetz-chooses-stormagic-svhci-replace-120000659.html
2•gnabgib•1h ago•0 comments

Show HN: Kosh – a self-hosted personal finance app

https://github.com/kzekiue/kosh/
2•kzekiue•1h ago•0 comments

Don't make one LLM call do retrieval and interpretation

https://ffilm.org/astro/
3•tobywhy•1h ago•0 comments