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.

I track privacy services by what happened to them, not a star rating

https://dontkyc.me/
1•thorarganaut•4m ago•0 comments

Brain-inspired imaging system that can 'see' through fog

https://www.brown.edu/news/2026-10-01/fog-imaging
1•giuliomagnifico•11m ago•0 comments

Kolibri Has Landed: A Sovereign Open-Weight Model

https://aleph-alpha.com/en/blog/kolibri-has-landed-a-sovereign-open-weight-model/
4•bastitx•19m ago•0 comments

A countermeasure for the counter-cognition web

https://www.armanluthra.me/essays/counter-cognition
1•armanluthra26•26m ago•0 comments

Krillion – Word Game

https://krillion.io/
1•willx86•27m ago•0 comments

Show HN: Algomaya – Paper trading and algo trading simulator for beginners

https://www.algomaya.com
1•yashlohade2502•31m ago•0 comments

Ask HN: Why don't we just use hashcat to evaluate GPU performance

2•nodesocket•36m ago•2 comments

Google Still Can't Make an Accessibility Menu Accessible

https://fireborn.mataroa.blog/blog/google-still-cant-make-an-accessibility-menu-accessible/
3•devinprater•37m ago•1 comments

Hot Flashing Guide Rev. 2.0 (2004)

https://archive.techarp.com/showarticle504a.html?pgno=0
1•userbinator•37m ago•0 comments

AI-powered survey creation and analysis

https://crowdlee.com/
3•areffhb•38m ago•1 comments

Gemini ending free use of Flash and Pro models

https://www.reddit.com/r/GeminiAI/comments/1wwalmc/wtf_google_getting_rid_of_free_gemini_flash_and/
5•rjh29•42m ago•1 comments

Some topics are off limits inside popular Chinese-made free AI, researchers find

https://www.cbsnews.com/news/china-ai-qwen-artificial-intelligence-bias-analysis/
1•maxloh•47m ago•0 comments

SSL Added and Removed Here;-)

https://blog.encrypt.me/2013/11/05/ssl-added-and-removed-here-nsa-smiley/
1•7777777phil•48m ago•0 comments

OpenAI says hacking at scale is expensive to investigate

https://www.theguardian.com/technology/2026/oct/03/openai-review-hacks-australian-government-site...
4•cc62cf4a4f20•48m ago•0 comments

Show HN: GhostBench – do AI models recommend dead SaaS? I tested my own thesis

https://github.com/kyv-attest/kyv
1•foundrventures•50m ago•0 comments

Show HN: UsageAtlas(OSS), All your AI coding usage insights. One beautiful view

https://usageatlas.com
1•srx9•54m ago•0 comments

DJ_Dave – Give it 2 me [video]

https://www.youtube.com/watch?v=03lKVs-ZZMA
1•Jyaif•55m ago•0 comments

BT accused of 'bullying' customers by pausing broadband in digital landline push

https://www.theguardian.com/business/2026/oct/03/bt-customers-broadband-digital-landline-switch-i...
1•chrisjj•56m ago•0 comments

Apple Says iPhone 18 PM Users with AT&T Cellular Issue Need Device Replaced

https://forums.macrumors.com/threads/apple-says-iphone-18-pro-max-users-with-at-t-cellular-issue-...
3•thm•1h ago•0 comments

Show HN: .cmd, cross-platform build tool manager and task launcher you check in

https://github.com/dotcmdhq/dotcmd
1•vlaaad•1h ago•0 comments

California Attorney General Serves Investigative Subpoena on OpenAI

https://oag.ca.gov/news/press-releases/part-ongoing-investigation-attorney-general-bonta-serves-i...
3•geox•1h ago•1 comments

Nobody Asked AI to Hack Hugging Face. So Why Did It?

https://ankitjain.info/ankit/2026/09/28/ai-agents-sandboxes-hugging-face-incident/
4•ankit84•1h ago•2 comments

Compiling the Linux Kernel with Gccrs

https://lwn.net/Articles/1095553/
1•fanf2•1h ago•0 comments

Show HN: Collaborative AI Engineering

https://griyd.com
1•bitsoup•1h ago•0 comments

U.S. may have overthrown Venezuela due to chat with Grok

https://www.thedailybeast.com/jaw-dropping-way-trump-80-got-talked-into-a-war-is-leaked/
30•tty456•1h ago•6 comments

Show HN: Offrun – manage every coding agent from one workspace

https://offrun.dev/
2•arunbhatia•1h ago•0 comments

I made my iPhone a second GPU for my MacBook-Qwen 3.8 27B prefills 29–44% faster

https://reddit.com/comments/1wvz1ex/
1•thunderbong•1h ago•0 comments

Cronos, the black metal innovator who reignited rock's hellraising attitude

https://www.theguardian.com/music/2026/oct/02/cronos-venom-heavy-metal-conrad-lant
1•YeGoblynQueenne•1h ago•0 comments

Skip List Data Structure

https://pradyumnachippigiri.substack.com/p/skip-lists-data-structure
3•birdculture•1h ago•0 comments

Charts on the State of Markets (1H'26)

https://www.a16z.news/p/state-of-markets-ii
1•hubraumhugo•1h ago•0 comments