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.

SpaceX to launch a million satellites but their environmental impact isn't known

https://theconversation.com/spacex-plans-to-launch-a-million-new-satellites-but-their-environment...
4•billybuckwheat•2m ago•0 comments

A GM EV1 drives again and brings a community together

https://news.gm.com/home.detail.html/Pages/news/us/en/2026/nov/1116-virtual-safety-engineering-si...
1•waximabbax•4m ago•0 comments

Bellingcat Challenge

https://challenge.bellingcat.com/
3•jonbaer•5m ago•0 comments

Europe Is Exploring Orbital Deep Strike Weapons

https://www.twz.com/space/europe-is-exploring-orbital-deep-strike-weapons
1•vrganj•5m ago•0 comments

Show HN: Cowl – Hide unwanted monitor audio outputs on macOS

https://github.com/eoleedi/cowl
1•eoleedi•6m ago•0 comments

Tuffcode open source harness remembers what you do – Memory and Council

1•holosticwave•6m ago•0 comments

Greatest Ancient Mysteries That No One Has Ever Solved

https://www.thecollector.com/unsolved-ancient-mysteries-archaeology/
1•Tomte•8m ago•0 comments

5.0 Earthquake West of LA

https://earthquake.usgs.gov/earthquakes/eventpage/ci41581136/executive
2•dboreham•11m ago•0 comments

Donald Knuth suspends error bounties due to an influx of AI-generated reports

https://cs.stanford.edu/~knuth/moratorium.html
11•floitsch•11m ago•1 comments

Patrick Collison you are WRONG about street furniture!!!

https://www.lesswrong.com/posts/Lf49dFMfhWqj33zAJ/patrick-collison-you-are-wrong-about-street-fur...
3•BenPace•15m ago•0 comments

Levent is my favorite gender role

https://www.lesswrong.com/posts/LrWJeEDCriLmAgFXr/levent-is-my-favorite-gender-role
3•BenPace•16m ago•0 comments

Code-driven AI illustrations more useful than images from dedicated image models

https://simonwillison.net/2026/Nov/28/code-driven-ai-illustrations/
3•simonw•18m ago•0 comments

The race is not inevitable

https://ryo.lu/journal/the-race-is-not-inevitable
4•hashbig•19m ago•0 comments

What are you doing while your agents are working?

2•Alex-Recall•20m ago•0 comments

Stop Using LRU

https://s3fifo.com/
2•davidgtonge•21m ago•1 comments

Ask HN: Dev Communication Problem with Team

1•wsanjid•21m ago•0 comments

Writing a payphone server without a payphone

https://beus.cc/blog/intracom-payphone-server/
2•vekejsn•29m ago•0 comments

Odin's Soa Compared with ISPC

https://odin-lang.org/news/soa-and-ispc/
2•HeavyRain266•33m ago•0 comments

Diluting poisoned fine-tuning data can strengthen its effect

https://alignment.anthropic.com/2026/homeopathic-learning/
1•acossta•35m ago•0 comments

Quail: A fast engine for AI functions in SQL

https://fsdatalab.github.io/quail/docs
1•pretext•36m ago•0 comments

Captchas Are Lazy Engineering

https://mojavepaint.app/blog/captcha-lazy-engineering
2•jpsimons•37m ago•2 comments

College Board Security Incident

https://newsroom.collegeboard.org/securityupdate
2•kahrensdd•38m ago•0 comments

Show HN: Canopy – an open canvas for coding agents

https://krishnapthm.github.io/canopy/
1•dextermurugan•40m ago•0 comments

A new way to extract oxygen from lunar soil could support bases on the Moon

https://theconversation.com/a-new-way-to-extract-oxygen-from-lunar-soil-could-support-bases-on-th...
2•geox•41m ago•0 comments

InelCode IDE (macOS Apple Silicon)

https://github.com/hakootunix/inel-code-releases/tree/main
1•hakootunix•42m ago•0 comments

The Customer Is the LP

https://www.slice.fund/podcast/unsauced-part-i-the-customer-is-the-lp
1•simonebrunozzi•42m ago•0 comments

A Controversial Technology Is Making Me a Worse Writer. No, Not That One

https://slate.com/technology/2026/08/ai-detector-pangram-writing-process.html
1•paulpauper•44m ago•0 comments

Signs of AI Writing, Backed by Data

https://www.pangram.com/signs-of-ai-writing
1•paulpauper•44m ago•0 comments

Computing in freedom with GNU Emacs [video]

https://www.youtube.com/watch?v=M6ZHDJeG-dI
1•Tomte•45m ago•0 comments

Counterexamples in Git Workflows, Part I

https://merge-base.com/articles/counterexamples-1
1•juped•47m ago•0 comments