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.

Ask HN: Curious, who can afford to buy in SF?

1•rubicon33•2m ago•0 comments

Show HN: I made an agent can self-improving while working

https://yehuitang0316.github.io/gear-site/
2•yt1998•11m ago•1 comments

AI is changing how Lawyers work – and putting the billable hour under pressure

https://www.cnbc.com/2026/10/10/ai-lawyers-billable-hour-legal-careers.html
1•peter_d_sherman•17m ago•0 comments

Ask HN: Can we discourage Show HNs that "ship the first draft"

1•cadamsdotcom•18m ago•0 comments

Show HN: Drune – Personalize your AI and use it anywhere

https://drune.ai/
1•vskalyan•19m ago•0 comments

Fall To One (Math Song) [video]

https://www.youtube.com/watch?v=9juhm97co1U
3•metadat•19m ago•0 comments

The Sysco Situation Just Got Worse [video]

https://www.youtube.com/shorts/SVm9M7Ag3lk
2•mikhael•26m ago•0 comments

Things that don't bother me as your manager

https://twitter.com/EmmaBostian/status/2107555593531588648
5•LouisLazaris•29m ago•1 comments

Doory – Open-Source Canva

https://github.com/shaongitbd/doory
4•acley•33m ago•0 comments

The Ethiopian Economic Miracle

https://theborys.substack.com/p/the-ethiopian-economic-miracle
3•kspacewalk2•34m ago•0 comments

What Makes a Good Notebook

https://scrively.org/what-makes-a-good-notebook-etchr-lab-interview/
2•andsoitis•47m ago•0 comments

Whey up: Protein powder prices soar as global demand grows

https://www.cbc.ca/news/business/whey-up-protein-powder-prices-soar-as-global-demand-grows-9.7369910
3•BiraIgnacio•50m ago•0 comments

Creative Fuel Prompts

https://fromthepencup.wordpress.com/2026/10/02/creative-fuel-prompts/
1•andsoitis•52m ago•0 comments

Bone Stress Injuries in Runners Using Carbon Fiber Plate Footwear

https://pmc.ncbi.nlm.nih.gov/articles/PMC10356879/
2•bookofjoe•55m ago•0 comments

Engineering Ethics Should Be Part of Technical Training

https://spectrum.ieee.org/integrating-engineering-ethics-education
6•rbanffy•58m ago•4 comments

The Moon Mission That's a High-Tech Cave Hunt

https://www.universetoday.com/articles/nasa-selects-gimli-to-search-the-marius-lunar-pit-for-a-po...
5•rbanffy•1h ago•0 comments

Open Source RUM (Real User Monitoring)

https://www.basicrum.com/
2•ssttoo•1h ago•0 comments

Yes I Understand How LLMs Work

https://kemendo.com/yes-i-understand-how-llms-work.html
4•AndrewKemendo•1h ago•0 comments

Microsoft barred from sponsoring foreign workers for US residency

https://arstechnica.com/tech-policy/2026/10/trump-administration-targets-microsoft-in-new-immigra...
7•rbanffy•1h ago•0 comments

Atticus – Hold-to-talk voice assistant for macOS that runs on Claude -p

https://github.com/SaarthurR/atticus-mac
6•SaarthRanka•1h ago•0 comments

Tandem Himalaya Server S7000

2•combarbala•1h ago•0 comments

MASS: Recursive Self-Improvement Through Multi-Agent Self-Supervision

https://pub.sakana.ai/mass/?href=
4•jonbaer•1h ago•0 comments

Beijing residents dispose of drones ahead of ban on ownership

https://www.abc.net.au/news/2026-10-12/beijing-residents-dispose-drones-ahead-of-ban-on-ownership...
6•uxhacker•1h ago•1 comments

I made an open-source Boom 3D clone. Wanna check it out?

https://github.com/JVGS1111/open-boom
8•joaoviniciusgs•1h ago•1 comments

Models as Insider Risks in the Super Intelligence Era

https://twitter.com/satyanadella/status/2108931348857827686
5•MrBuddyCasino•1h ago•1 comments

Show HN: Preloop – GitHub Actions locally in microvms and SSH/pause failures

https://github.com/preloopdev/preloop
3•Bnjoroge•1h ago•0 comments

Beta.getmonero.org

https://www.getmonero.org/2026/09/08/announcing-the-getmonero-org-beta.html
3•Cider9986•1h ago•1 comments

Local Indexing to reduce tool calling and token usage

https://tedhaley.ca/pensieve/
12•TedHaley•1h ago•0 comments

HashiCorp archives the Boundary open source repo

https://github.com/hashicorp/boundary
8•vmatsiiako•1h ago•0 comments

Danny Ische draws pixels, cross-stitch and paperclips – all with a trusty pencil

https://www.creativeboom.com/work/danny-ische-draws-pixels-cross-stitch-and-paperclips-all-with-a...
3•andsoitis•1h ago•0 comments