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.

Supporting a shared AI training control for websites

https://developers.google.com/search/blog/2026/10/ai-training-control
1•gnabgib•1m ago•0 comments

Skip navigation Create Avatar image What your developers aren't telling you [video]

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

Failure analysis of the Arecibo Observatory 305-meter telescope collapse

https://www.nationalacademies.org/read/26982
1•fanf2•2m ago•0 comments

SOML – A Config Format for Humans

https://github.com/soml-lang/soml
1•microflash•2m ago•0 comments

New PRC rules require geodata from connected cars to stay in China

https://asia-tech-news.ghost.io/new-prc-rules-require-geodata-from-connected-cars-to-stay-in-china/
1•ilamont•3m ago•0 comments

Ubuntu still has not released patch for Linux 0day RCE in almost 3 weeks

https://freenode.net/article/ubuntu-lts-kernels-still-unfixed-for-critical-cve-2026-98432
2•majorchord•5m ago•2 comments

7 Months on the Frontlines with a Russian Battalion [video]

https://www.youtube.com/watch?v=onHBXHHalhI
1•StromFLIX•5m ago•0 comments

Know the best move when playing chess with Meta glasses

https://www.reverse.dev/pjchess
1•stosssik•6m ago•0 comments

Sandboxes favor repo-native tooling

https://epiq.sh/blog/repo-native-tooling-for-sandboxes.html
1•ionetan•6m ago•0 comments

Show HN: Vantage – Early-Warning Signals

https://aditya-web-portfolio.vercel.app/blogs/vantage
1•rearview•6m ago•0 comments

Stacy's Brain

https://stacysbrain.com
1•MaxIakovlev•7m ago•1 comments

Anthropic and OpenAI Are Creating Warrooms for Election Misinformation

https://www.semafor.com/article/11/02/2026/election-war-rooms-enter-the-ai-age
1•sp4cec0wb0y•9m ago•0 comments

Yozo – a custom element library for simple, robust and readable components

https://yozo.ooo
1•microflash•10m ago•0 comments

Linux reverts a feature designed to reduce bug-report noise

https://www.phoronix.com/news/Linux-7.4-Drops-Taint-Bind
2•zomtorg•10m ago•0 comments

AI models are enabling suicide

https://twitter.com/Prosaic_int/status/2117318562880905678
1•chef_wang•11m ago•1 comments

Show HN: Intent-lens – see what Claude Code is about to do, before it does it

https://github.com/Dhananjay-JSR/claude-mods/tree/main/plugins/intent-lens
1•dhananjay-jsr•11m ago•0 comments

Agentic Backdoors via Pretraining Poisoning

https://arxiv.org/abs/2610.37741
3•gmays•13m ago•0 comments

'Sniff' and 'Smell': Making Sense of Scent

https://www.wsj.com/arts-culture/books/sniff-and-smell-making-sense-of-scent-f31ead7a
1•Caiero•14m ago•0 comments

How Did Big Tech Get So Big? [video]

https://www.youtube.com/watch?v=fwW3XVFrm9c
1•aaraujo002•14m ago•0 comments

A 450 KB ad-free Android TV launcher with reversible ADB debloat scripts

https://github.com/Fardin7798/Spider-Tv-Launcher
1•AshhalPookie•14m ago•0 comments

Show HN: Noctty – A fast, native terminal for Windows

https://github.com/amanthanvi/noctty
1•amanthanvi•15m ago•0 comments

In one of the largest deals in tech history, Marvell buys Lumentum for $115B

https://techcrunch.com/2026/11/02/in-one-of-the-largest-deals-in-tech-history-marvell-buys-lument...
2•adwmayer•15m ago•0 comments

Researchers face record-low chances of getting a grant partly due to rise of AI

https://nltimes.nl/2026/11/02/researchers-face-record-low-chances-getting-grant-partly-due-rise-ai
3•giuliomagnifico•15m ago•0 comments

Mithril.js with signals, state, SSR and a store

https://code.garage44.eu/jeroen/mithril
1•thunderbong•17m ago•0 comments

Lessons from Red-Teaming Auto-Review, OpenAI's Blocking Monitor

https://www.lesswrong.com/posts/dbStc8ZFESqfihwAd/lessons-from-red-teaming-auto-review-openai-s-b...
1•gmays•19m ago•0 comments

Rebuild Rust in Milliseconds

https://weeklyrust.substack.com/p/rebuild-rust-in-milliseconds
1•rustbytes•20m ago•0 comments

America's Gulf Allies Prepare for New Round of Strikes on Iran–and the Blowback

https://www.wsj.com/world/middle-east/americas-gulf-allies-prepare-for-new-round-of-strikes-on-ir...
3•throwaway5752•20m ago•0 comments

Some Memories of Early Anthropic

https://nothinghuman.substack.com/p/some-memories-of-early-anthropic
1•wskinner•23m ago•0 comments

Astra can read and write weights to improve Qwen

https://rikiyat.github.io/blog/weight-space-programming/
5•dbreunig•23m ago•0 comments

Ocarina of Time – Google Search

https://www.google.com/search?q=Ocarina+of+Time
2•xnx•23m ago•1 comments