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.

Tutorial for Septabee, a free DAW been making for over 20k hours [video]

https://www.youtube.com/watch?v=lW8Z98pXuSE
1•hgo•19s ago•0 comments

Bag of Decisions Reranker

https://softwaredoug.com/blog/2026/10/08/bag-of-decisions
1•JohnBerryman•2m ago•0 comments

Show HN: Elements – Build and deploy web apps with your agent, on your machines

https://elements.dev/
1•mathec•2m ago•0 comments

Apple Shares Slide After Report of iPhone 18 Pro Component Order Cuts

https://www.gadgetreview.com/apple-shares-slide-after-report-of-iphone-18-pro-component-order-cuts
2•PicardManeuver•4m ago•0 comments

Show HN: CAD Studio – Describe a part, get parametric CAD you can print (macOS)

https://github.com/filippofinke/cad-studio
2•filippofinke•6m ago•0 comments

Gotcha: GitHub Custom Properties are public

https://www.jvt.me/posts/2026/10/08/github-custom-properties-public/
2•zdw•7m ago•0 comments

My Gen-Z Intern Thinks Showing Up to Work Is Optional [video]

https://www.youtube.com/watch?v=I0jZry5CUYs
1•donsupreme•9m ago•1 comments

The keynote I thought I was going to give at Rails World

https://robbyonrails.com/articles/2026/10/09/the-keynote-i-thought-i-was-going-to-give/
2•robbyrussell•9m ago•0 comments

Lexaro, a word-ladder game and the graph-theory problem of generating fair games

https://lexarogame.app/
2•gordonbain•11m ago•0 comments

An open record of the Erdos problems

https://github.com/plasma-ai/erdos
1•ryanpettry•11m ago•0 comments

Show HN: Organize Tabs – Chrome extension that dedupes PRs, tickets and profiles

https://www.jontsai.com/2026/10/10/organize-tabs-2-0
1•jontsai•15m ago•0 comments

Problems in 22 scientific fields had solutions hiding in plain sight. An AI has

https://www.science.org/content/article/problems-22-scientific-fields-had-solutions-hiding-plain-...
2•sbulaev•17m ago•0 comments

You Don't Understand What Just Happened to Mathematics [video]

https://www.youtube.com/watch?v=KqiDqJMxg6o
4•fabianhjr•19m ago•0 comments

No Man Is an Island

https://borretti.me/article/no-man-is-an-island
5•zetalyrae•20m ago•0 comments

Me, but You, but Me (2010)

https://blog.anaisbetts.org/posts/me-but-you-but-me/
3•NaOH•25m ago•0 comments

The One Question I Can't Stand at Restaurants

https://www.theatlantic.com/culture/2026/10/restaurant-phone-number-question/688926/
2•samizdis•25m ago•0 comments

R&D doesn't pay pharma shareholders. What does?

https://www.baybridgebio.com/blog/pharma_returns
2•aaavl2821•26m ago•0 comments

ClickHouse outcompresses Parquet: Surprises from our migration

https://tomalard.github.io/posts/clickhouse-outcompresses-parquet-surprises-from-our-migration/
4•TomAlard•27m ago•0 comments

Netflix plans to cut 5% of its workforce

https://www.reuters.com/business/media-telecom/netflix-plans-cut-5-its-workforce-puck-news-report...
12•theanonymousone•28m ago•0 comments

Making a not-jailbreak in 3 weeks

https://www.hrtowii.dev/blog/making-a-not-jailbreak-in-3-weeks/
1•davikr•28m ago•0 comments

Ask HN: What is your favorite book of all time, and why?

2•chistev•30m ago•2 comments

Trump announces deal with Putin to release Russian diesel

https://www.bbc.com/news/articles/cm1dwgr666wno
7•defly•30m ago•2 comments

Software developers are not okay

https://www.baldurbjarnason.com/2026/05-software-developers-are-not-okay/
2•birdculture•32m ago•0 comments

tiny-audio, nanoGPT for speech-to-text

https://github.com/alexkroman/tiny-audio
3•mazesmazes•32m ago•0 comments

Did You Mean Deprecated?

https://www.olafalders.com/2026/10/09/did-you-mean-deprecated/
2•oalders•33m ago•0 comments

open-slopware – Alternatives to FOSS projects choosing to use LLMs/AI

https://codeberg.org/ethical-foss/open-slopware
3•smartmic•34m ago•0 comments

Batteries are now cheaper than natural gas turbines used at many data centers

https://techcrunch.com/2026/10/09/batteries-are-now-cheaper-than-natural-gas-turbines-used-at-man...
1•speckx•35m ago•0 comments

I Reverse Engineered a Popular iPad App with AI

https://computerchale.com/writing/i-reverse-engineered-a-popular-ipad-app-with-ai
1•melon_taeppe•39m ago•0 comments

An Anthropic AI model sent a false homicide tip to the police

https://techcrunch.com/2026/10/09/an-anthropic-ai-model-sent-a-false-homicide-tip-to-philadelphia...
3•mikelgan•39m ago•0 comments

Pay It Forward

https://en.wikipedia.org/wiki/Pay_it_forward
1•chistev•41m ago•0 comments