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.

Kimi Work attaches raw agent sessions to feedback reports

1•ryanmerket•3m ago•0 comments

See how an H100 works in 3D with threejs

https://gpu.kylejeong.com/
1•Kylejeong21•3m ago•0 comments

What on Earth is Google doing?

https://www.digitaldigging.org/p/how-to-plant-a-nuclear-plant-in-iran
1•strogonoff•5m ago•0 comments

ESPConnect

https://github.com/thelastoutpostworkshop/ESPConnect
1•skibz•7m ago•0 comments

Antitrust: The Monster Case (1975, IBM)

https://time.com/archive/6846827/antitrust-the-monster-case/
1•asawfofor•8m ago•0 comments

The New Bottlenecks After Coding

https://robotpaper.ai/the-new-bottlenecks-after-coding/
1•royosherove•9m ago•0 comments

The teenagers who wired Romania [audio]

https://www.bbc.com/audio/play/p0p2vc20
1•alibarber•13m ago•0 comments

Magnus Carlsen Retains Chess Esports World Cup Title

https://www.chess.com/news/view/magnus-carlsen-wins-2026-esports-world-cup
2•speckx•14m ago•0 comments

Show HN: Stay connected across Africa, from landing to Safari

https://safariesim.com/
1•not_wowinter13•18m ago•0 comments

Why tech bosses keep sharing their manifestos about AI

https://www.bbc.com/news/articles/cz97ljy91zxo
3•tcp_handshaker•23m ago•0 comments

Israeli PR wants to answer your ChatGPT questions

https://www.politico.com/newsletters/politico-influence/2026/08/14/israeli-pr-wants-to-answer-you...
6•computerliker•27m ago•0 comments

Short Memory

https://www.deer.psu.edu/short-memory/
2•lumpa•29m ago•0 comments

Deadly forgotten tornado was worst in state history

https://www.offbeatoregon.com/2412e.long-creek-bomb-cyclone_682.511.html
2•joebig•30m ago•1 comments

Tiny glitches appear over South America due to a weak spot in Earth's field

https://www.reddit.com/r/GoogleEarthFinds/comments/1ke63zw/psa_there_are_lot_of_tiny_colorful_gli...
1•thunderbong•30m ago•0 comments

Depleted strategic oil reserve nears level that raises concerns about damage

https://www.cnbc.com/2026/08/15/strategic-petroleum-reserve-spr-oil-iran-war-caverns.html
2•anigbrowl•31m ago•2 comments

Guide your development, documentation are code

https://github.com/snowballons/docs-as-code-primer
1•snowballons•31m ago•0 comments

Super El Niño Keeps Growing as New Forecasts Reach Record Territory Ahead Winter

https://www.severe-weather.eu/long-range-2/super-el-nino-growth-accelerating-to-record-strength-f...
1•dgellow•33m ago•0 comments

Why standing at your desk may be little better than sitting

https://www.economist.com/science-and-technology/2026/08/14/why-standing-at-your-desk-may-be-litt...
2•vinni2•33m ago•0 comments

Ask HN: Has anyone solved reproducible deployment of native mobile platforms?

1•rezvovmobile•34m ago•0 comments

A Few Foundations Shape American Higher Education

https://www.aei.org/commentary/how-a-few-foundations-shape-american-higher-education/
1•paulpauper•39m ago•0 comments

Austin Scholar #222: The three things that make a kid love learning

https://austinscholar.substack.com/p/austin-scholar-222-the-three-things
1•paulpauper•39m ago•0 comments

Job Recession in Higher Education

https://gadlevanon.substack.com/p/job-recession-in-higher-education
3•paulpauper•40m ago•0 comments

So How Is AI Drug Discovery Doing, Really?

https://www.science.org/content/blog-post/so-how-ai-drug-discovery-doing-really
21•AnodicElegy•41m ago•7 comments

Understanding reinforcement learning for model training from scratch

https://medium.com/data-science-collective/understanding-reinforcement-learning-for-model-trainin...
1•teleforce•41m ago•0 comments

IBM Simon (1994): the original smartphone, explained in its own ad [video]

https://www.youtube.com/watch?v=xoTFywZpPcc
6•kls0e•42m ago•0 comments

Reflections on Airbnb

https://medium.com/@rchang/reflections-on-airbnb-6c213b027c69
2•philipfweiss•43m ago•0 comments

The world's largest App Clip deployment

https://larrysalibra.com/the-worlds-largest-app-clip-deployment/
1•larrysalibra•44m ago•0 comments

Ask HN: Ive quit six systems for tracking my illness. What works?

1•Abh1Works•44m ago•0 comments

Show HN: Every MUNI, BART and Caltrain in SF on a Live Map

https://github.com/UtpalJayNadiger/wheres-my-muni
2•iacguy•44m ago•0 comments

If I download a 100GB file, does my computer get physically heavier?

https://old.reddit.com/r/NoStupidQuestions/comments/1voz7kz/if_i_download_a_massive_100gb_file_do...
6•nomilk•54m ago•3 comments