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.

Anthropic's path to the Nasdaq just got a lot bumpier

https://www.cnbc.com/2026/10/31/anthropic-ipo-ai-spending.html
1•koolba•2m ago•0 comments

UriScanAI – An AI-powered urine color analyzer and hydration tracker

https://play.google.com/store/apps/details?id=com.uriscanai.app&hl=en_US
1•husainkanchwala•2m ago•0 comments

Ask HN: Deployed vibecoded apps in prod at scale?

1•username_my1•3m ago•0 comments

Ask HN: What is your halloween costume?

1•qifzer•4m ago•0 comments

Made a site with file tools that don't upload your files

https://capyfiles.com/
1•kevinrusev•6m ago•0 comments

Pedigree Collapse

https://en.wikipedia.org/wiki/Pedigree_collapse
2•franze•9m ago•0 comments

Prospero: A new coding harness for a more civilized age

https://nullprogram.com/blog/2026/10/31/
3•fovc•10m ago•0 comments

Mystery of 60-Second Fluctuations in Power Grids Solved

https://www.fz-juelich.de/en/news/archive/press-release/2026/mystery-of-60-second-fluctuations-in...
2•_Microft•11m ago•0 comments

The Case for Synthesized Data Compression

https://utndatasystems.github.io/blog/2026/synthesized-compression/
2•frostbyte7•13m ago•0 comments

Hack Could Leave Popular Fan Fiction Site AO3 Offline for Weeks

https://www.nytimes.com/2026/10/30/arts/ao3-fan-fiction-site-down.html
2•bookofjoe•14m ago•1 comments

Fail2Ban UI – Manage Fail2Ban across multiple Linux hosts from one dashboard

https://github.com/swissmakers/fail2ban-ui
2•deepwather•16m ago•0 comments

Doomception: Doom inside Doom inside Doom, and round again

https://kodoque1.github.io/doom_ace/
2•ForgotIdAgain•18m ago•1 comments

Atlas VTT: A virtual tabletop inside Obsidian

https://atlas-vtt.dev
2•Tomte•22m ago•0 comments

Cookie Status: browser tracking protections compared

https://www.cookiestatus.com
2•justus_bluemer•23m ago•0 comments

Towards a virtual embryo that can predict what happens when genes change

https://arxiv.org/abs/2610.40447
2•Betelbuddy•28m ago•0 comments

Show HN: Cursed Cam, a haunted CCTV monitor made from photos of your place

https://cursedcam.com/demo
3•jamesfrewin•30m ago•0 comments

Collaborative AI agents for autonomous experimental research

https://arxiv.org/abs/2610.40589
2•Betelbuddy•31m ago•0 comments

Fluorite: a Rust framework for distributed enclave applications on Kubernetes

https://ivanvalentini.github.io/posts/fluorite/
2•sarusso•31m ago•0 comments

French lawmakers approved a tax of €0.055 for every gigabyte of internet traffic

https://www.assemblee-nationale.fr/dyn/17/comptes-rendus/seance/session-ordinaire-de-2026-2027/pr...
40•helloplanets•36m ago•27 comments

What Is Work For? Labor, Politics, and Meaning in the Age of AI

https://arxiv.org/abs/2610.39375
5•Betelbuddy•36m ago•1 comments

Halloween is a crass American import – I'll never indulge it

https://inews.co.uk/inews-lifestyle/halloween-crass-american-import-never-indulge-4862206
1•penguin_booze•37m ago•1 comments

Ceph v21.2.0 Umbrella Released

https://ceph.io/en/news/blog/2026/v21-2-0-umbrella-released/
1•taha_jahangir•38m ago•0 comments

Europoortimes.com

https://europoortimes.com/#/
2•schlaepf•41m ago•0 comments

Scientists think our recent ancestors may have run hotter

https://www.bbc.com/future/article/20261030-why-humans-maybe-ran-hotter-two-centuries-ago
1•tigerlily•42m ago•0 comments

Hottown.music

https://hottown.music
1•Martinsos•45m ago•0 comments

Show HN: Share file without digital trace

https://apps.zincirx.com/magicalshare/web/
1•zincirx•46m ago•0 comments

Petition for Proton's CEO Andy Yen to step down reaches 1500 votes

https://protonmail.uservoice.com/forums/945460-general-ideas/suggestions/51867423-andy-yen-steps-...
4•alexfortin•49m ago•3 comments

When the network is down, messages go from hand to hand

https://pyrsos.app/en/index.html
3•anonpenguin•50m ago•0 comments

Some thoughts on security after ten years of qmail 1.0 (2007) [pdf]

https://cr.yp.to/qmail/qmailsec-20071101.pdf
1•ForHackernews•50m ago•0 comments

How to Stop Losing 17,500 Kidneys

https://www.statecraft.pub/p/how-to-stop-losing-17500-kidneys
2•NewCzech•58m ago•0 comments