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.

Geodesic Dome

https://en.wikipedia.org/wiki/Geodesic_dome
1•tosh•3m ago•0 comments

Let AI fix the mess it created

https://aronbijl.com/blog/the-ghost-in-the-bibliography
1•aronaxe•6m ago•0 comments

Estonia's court overrules decision to allow voting via mobile device

https://news.err.ee/1610208910/estonia-s-top-court-overturns-decision-to-allow-mobile-device-voti...
2•hendotee•7m ago•0 comments

I made an interactive map of every every ski resort in the world

https://www.boarderspeak.com/map/resorts
2•TasselHat•7m ago•2 comments

James Shore: Measuring AI's Impact on Delivery Speed

https://www.jamesshore.com/v2/blog/2026/measuring-ais-impact-on-delivery-speed
1•fagnerbrack•9m ago•0 comments

Why I won’t leave mathematics, despite AI solving centuries-old problems

https://www.theguardian.com/commentisfree/2026/nov/22/why-i-wont-leave-mathematics-despite-ai-sol...
3•face2sunny•18m ago•2 comments

Gaussian process regression with symbolic kernels

https://muoperator.com/articles/gaussian-process-regression-symbolic-kernels/
2•auggierose•18m ago•1 comments

Why Wordpress.org Moved Its Support Inboxes to Self-Hosted FreeScout

https://www.portotheme.com/why-wordpress-org-moved-its-support-inboxes-to-self-hosted-freescout/
2•silving•19m ago•0 comments

Pimalaya goes stable: Himalaya v3 and the pimdir standard

https://blog.pimalaya.org/pimalaya-goes-stable/
1•joshcsimmons•20m ago•0 comments

One screen is better than >1 screens

https://wgx.gemlogger.com/one-screen-is-better-than-more-than-1-screens
1•wgx•21m ago•0 comments

EU Sovereign Tech Fund Pilot

https://www.sovereign.tech/programs/eu-sovereign-tech-fund
2•vogu66•22m ago•0 comments

How AI coding tools are changing software engineering

https://www.cnbc.com/2026/11/20/ai-coding-tools-software-engineers.html
3•madihaa•23m ago•0 comments

'Cyber incident' forces UK Gov to take some services offline

https://www.bbc.co.uk/news/live/c6rrg94lgjrjt
4•thorin•25m ago•2 comments

Spotify Clone with Claude

https://medium.com/@anthony.cherbuin/i-built-my-family-their-own-spotify-style-app-in-5-days-with...
1•darktoto•27m ago•0 comments

Show HN: Slash commands and AI snippets that work everywhere you type

https://slashanywhere.com
2•appetizersnack•29m ago•0 comments

Mount Fuji – Mapterhorn Contours (Sound Map)

https://mapsmania.github.io/mapchallenge/contours.html
3•FiderHi•30m ago•0 comments

Using AI as a tool, not a replacement for your doctor

https://www.kidneyfund.org/article/using-ai-tool-not-replacement-your-doctor
2•Danhale93•30m ago•0 comments

Show HN: Moonlight – which medicines are approved or in trials for any disease

https://moonlight-1038733794937.asia-south1.run.app/
1•shreshthdugar•31m ago•0 comments

Why Claude's Riemann proof comes down to a coin toss

https://www.youtube.com/watch?v=-z0RKi30iSY
1•nyc111•31m ago•1 comments

Black Weekend – Reduced Prices on Evil

https://medium.com/luminasticity/black-weekend-reduced-prices-on-evil-b84039e03361
1•bryanrasmussen•32m ago•1 comments

What people build with Lovable: a visualisation of 66k websites

https://startups.novumsignals.com/reports/lovable-november
1•walterschnitzel•33m ago•0 comments

Prnet, Winlink, and the story of email over radio

https://buttondown.com/blog/email-over-radio
2•maguay•33m ago•0 comments

Cost of Thanksgiving dinner went up 6% from last year

https://iowacapitaldispatch.com/2026/11/26/cost-of-thanksgiving-dinner-went-up-6-from-last-year/
2•madihaa•33m ago•0 comments

The Beauty of CSS Mixins

https://patrickbrosset.com/articles/2026-11-25-the-beauty-of-css-mixins/
2•birdculture•33m ago•0 comments

Do Programmers Have a Future?

https://lernerpython.com/2026/11/26/do-programmers-have-a-future/
1•lumpa•35m ago•1 comments

Show HN: Europe Instead – find the European version of the tools you use

https://europeinstead.com
4•RafaelRoman•37m ago•0 comments

Google alternative Kagi launches an email service

https://www.theverge.com/tech/1041000/kagi-mail-email-google-gmail-alternative
2•thunderbong•37m ago•0 comments

Show HN: Pure-Python Docx to PDF Converter, No Word or LibreOffice Needed

https://github.com/rahulkhairnarr/docx-to-pdf-converter
4•rahulkhairnarr•38m ago•0 comments

Muxlio: Durable workflow orchestration for AI agents and tools

https://muxlio.github.io/muxlio/
5•frostymux•38m ago•0 comments

UK Department for Work and Pensions some services offline after 'cyber incident'

https://www.bbc.com/news/articles/c8wy5p6pv2e2o
2•theanonymousone•38m ago•0 comments