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.

Native, free and open-source WireGuard client for macOS

https://github.com/ventz/wombat-wireguard-mac-app
1•pkaeding•1m ago•0 comments

New Data Centers in NM and El Paso Could Undo Millions Spent on Climate Plans

https://elpasomatters.org/2026/10/14/el-paso-data-centers-meta-project-jupiter-climate-emissions/
1•hn_acker•2m ago•1 comments

Researchers Discover ChatGPT Can Drive a Car. Grok, on the Other Hand

https://www.thedrive.com/news/uh-oh-chatgpt-can-drive-a-car-and-grok-crashed-immediately
2•speckx•2m ago•0 comments

The Fatal Flaw of 911

https://www.themarshallproject.org/2026/10/16/911-book-policing-mental-health
4•plunge•3m ago•0 comments

Woman faces changing 211 accounts after .name domain termination

https://domainnamewire.com/2026/10/16/woman-faces-changing-211-accounts-after-name-domain-termina...
2•speckx•7m ago•0 comments

Infinite Jeffs

https://www.amazon.com/dp/B0GTJ4P1PT
3•gregsadetsky•8m ago•0 comments

Google's Core Web Vitals with Soft Navigations, Reflecting SPA Performance

https://web.dev/blog/crux-experimental-soft-navs
1•powdercloud•9m ago•0 comments

Load-Bearing

https://pluralistic.net/2026/10/15/sovereign-it/
1•hn_acker•9m ago•0 comments

Mathematical Foundations of Generative AI, IISc Bangalore

https://nptel.ac.in/courses/106108004
1•yarapavan•9m ago•0 comments

Show HN: Make house walkthrough videos only from photos – TensorPix

https://tensorpix.ai/usecases/real-estate-video-maker
1•barty777•10m ago•0 comments

Trump Bought $5M in SpaceX Debt Two Days Before Space Transport Executive Order

https://www.techdirt.com/2026/10/16/trump-acquired-5-million-in-spacex-debt-two-days-before-space...
5•hn_acker•11m ago•1 comments

Show HN: Donut Browser, the most private anti-detect browser

https://github.com/donutbrowser/donutbrowser
2•andrewzeno•12m ago•0 comments

Adapting Our Processes to the Changing World of Scientific Publication

https://blog.tmlr.org/2026/adapting-our-processes-to-the-changing-world-of-scientific-publication/
1•theanonymousone•13m ago•0 comments

A Trip Down Market Street (1906)

https://en.wikipedia.org/wiki/A_Trip_Down_Market_Street
1•Alexsky2•13m ago•1 comments

Scaling Pre-Training on Super Smash Bros. Melee

https://ericyuegu.com/hillclimbing-melee/
2•Samin100•16m ago•0 comments

NASA's Most Off Limits Room

https://www.youtube.com/watch?v=89zdHsb2pWU
2•Betelbuddy•18m ago•0 comments

How to Avoid AI Brain Rot

https://twitter.com/MilesCranmer/status/2111105654211608847
2•madars•18m ago•1 comments

"Traditional, but Puzzling"

https://unsung.aresluna.org/traditional-but-puzzling/
2•colinprince•19m ago•0 comments

Show HN: Sill for Android – control your Mac's windows from an Android phone

https://github.com/rahimnathwani/sill-android
2•rahimnathwani•23m ago•0 comments

Gnome OS Preview

https://blogs.gnome.org/adrianvovk/2026/10/16/gnome-os-preview/
3•wirybeige•23m ago•0 comments

Fail Closed: Human-AI Research Without Pretending to Know

https://www.amazon.com/dp/B0HMJWK5L8
2•AlexanjaSenke•27m ago•0 comments

Claude writes about 90% of Claude Code's code

https://claude.dev/blog/solving-code-review-at-anthropic/
23•pretext•31m ago•11 comments

I Gave 100 Fly Brains Their Own Computers to Play Doom

https://namespace.so/blog/fly-brains-play-doom
2•nicolasd•31m ago•0 comments

Prisov – Private AI for Enterprise Workflows [video]

https://www.youtube.com/watch?v=9SyK9l8wi2A
2•harshalmore31•32m ago•0 comments

From Verizon to UnitedHealth, Corporate America Is Balking at 'Tokenized' Stocks

https://www.wsj.com/finance/stocks/from-verizon-to-unitedhealth-corporate-america-is-balking-at-t...
4•JumpCrisscross•32m ago•0 comments

The NIST Elliptic Curves Seeds Bounty Has Been Claimed

https://words.filippo.io/seeds-solved/
12•aburan28•33m ago•1 comments

Stories Going from Oracle DBA to Postgres Contributor with Karen Jex

https://talkingpostgres.com/episodes/from-oracle-dba-to-postgres-contributor-with-karen-jex
3•clairegiordano•33m ago•0 comments

Why is there no AlphaZero for theorem proving?

3•hyperpallium2•33m ago•1 comments

You could have invented transformers from memory

https://alexwang.ai/posts/associative-memory/
2•speckx•35m ago•0 comments

Mark Zuckerberg versus the Pint of Guinness

https://www.wsj.com/arts-culture/food-cooking/mark-zuckerberg-versus-the-pint-of-guinness-94460282
2•rendx•35m ago•0 comments