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.

Lilo – A tiny Markdown notes widget with a knowledge graph

https://github.com/HellterEnjoy/Lilo
1•HellterEnjoy•2m ago•0 comments

Lazy loading YouTube embeds in Hugo

https://eternodevir.com/palimpsests/logs/lazy-loading-youtube-embeds/
1•sedboyz•5m ago•0 comments

Ask HN: Have you worked or collaborated with anyone from HackerNews?

1•miroljub-petrov•6m ago•0 comments

Map: 5.2-Magnitude Earthquake Strikes Southern Spain

https://www.nytimes.com/interactive/2026/08/14/world/europe/spain-quake-tracker.html
1•Bluestein•11m ago•0 comments

Agentic Reasoning for Large Language Models

https://arxiv.org/abs/2601.12538
1•Anon84•15m ago•0 comments

A community for ideas that haven't earned their place yet

https://articles.ideaorbits.org/a/ideaorbits-design-guide/
1•yannana•18m ago•0 comments

Instagram's New Logo

https://www.theverge.com/tech/979583/this-is-instagrams-new-logo
2•embedding-shape•22m ago•2 comments

Minnesota Senate Primary: The Growing Partisan Divide over Israel

https://medium.com/freedomofthought/minnesotas-senate-primary-and-the-growing-partisan-divide-ove...
1•raynchad•23m ago•0 comments

OpenAI slows release of Astra model citing cyber capabilities

https://www.axios.com/2026/08/07/openai-astra-model-delay-cybersecurity-risks
2•Bluestein•23m ago•0 comments

The Download: Flock's new rules, cloning's future, and children's cells

https://www.technologyreview.com/2026/08/14/1142033/the-download-flock-new-rules-cloning-future/
1•joozio•28m ago•0 comments

Reliance on Vision Drove Varied Brain Development in Primates

https://trinity.duke.edu/news/brain-development-primates-research
1•wjSgoWPm5bWAhXB•30m ago•0 comments

Anthropic sees AI risks rising, no plan to release stronger "Model 2"

https://www.axios.com/2026/08/14/anthropic-model-2-ai-risk
2•ironyman•30m ago•0 comments

Auto-research with codex: How I achieved a 232x Faster Kernel

https://sankalp.bearblog.dev/autoresearch/
2•tosh•30m ago•0 comments

Chrome Web Store will remove all MV2 extensions on August 31st

https://developer.chrome.com/docs/extensions/develop/migrate/mv2-deprecation-timeline
2•insin•32m ago•1 comments

DNA reveals a society organised around women in pre-Roman Britain

https://www.newscientist.com/article/2584364-dna-reveals-a-society-organised-around-women-in-pre-...
1•Anon84•32m ago•0 comments

OpenAI rolling out ads for Europe later this month

https://openai.com/policies/eu-privacy-policy-preview/
5•notenlish•38m ago•2 comments

Rowly – find out what an anonymous user can do to your Supabase app

https://rowly.me
1•popkoren•43m ago•0 comments

Kernel Context Switch Costs and Spin Locks in Perf Profile: A Practical Study

https://medium.com/@dichenldc/kernel-context-switch-costs-and-spin-locks-in-perf-profile-a-practi...
1•birdculture•43m ago•0 comments

We checked 254,854 biggest Telegram channels. One in five is dead. tglist.io

https://tglist.io/rnd/telegram-graveyard
1•coubri•48m ago•0 comments

Working with AI Feels More Like Leadership Than Coding

https://allen.bargi.org/notes/working-with-ai-feels-like-leadership/
2•allenb•51m ago•0 comments

Vacuum birefringence and the polarized X-ray emission from a radio magnetar

https://arxiv.org/abs/2509.19446
1•westurner•56m ago•1 comments

The Rise and Fall of 3M's Floppy Disk

https://spectrum.ieee.org/3m-floppy
1•Bluestein•57m ago•0 comments

LiquidGlassSkill: Claude skill to implement Apple Liquid Glass UI styles

https://github.com/stormaref/LiquidGlassSkill
2•avestura•58m ago•0 comments

Trump directs Navy to return to steam catapults on aircraft carriers

https://thehill.com/policy/defense/6029103-trump-orders-navy-catapult-reversal/
4•vrganj•1h ago•0 comments

Roblox Is Now Under Investigation by the U.S. Senate over Child Safety

https://kotaku.com/roblox-is-now-under-investigation-by-the-u-s-senate-over-child-safety-2000724465
1•taimurkazmi•1h ago•0 comments

Kyūjō Incident

https://en.wikipedia.org/wiki/Ky%C5%ABj%C5%8D_incident
1•chistev•1h ago•0 comments

Intel CEO hints at return to the memory business – market is ripe for innovation

https://www.tomshardware.com/pc-components/dram/intel-ceo-hints-at-return-to-the-memory-business-...
2•doener•1h ago•0 comments

Men and Women Can Now Send the First Message on Bumble [pdf]

https://s202.q4cdn.com/372973788/files/doc_news/2026/Aug/11/Chat-XP-Release-for-IR-Site.pdf
2•doener•1h ago•0 comments

Show HN: Gogc98 – live visualisation of the go allocator and GC

https://github.com/MichaelMure/gogc98
1•michaelmure•1h ago•0 comments

HyperOSUnfucker is an Android app that unlocks hidden system performance

https://github.com/Enki013/hyperosunfcker
2•Bluestein•1h ago•0 comments