frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•8mo ago

Comments

llm-exe•8mo 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•8mo 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.

Gems: Little-Known Bash Features

https://slicker.me/bash/gems.html
1•nateb2022•1m ago•0 comments

Show HN: Loclean – Local semantic data cleaning with LLMs and Pydantic

https://github.com/nxank4/loclean
1•nxank4•1m ago•0 comments

A wallet that never sleeps is probably not human

https://www.HugeDomains.com/domain_profile.cfm?d=Ketaro.com
1•chainbuilder•3m ago•1 comments

The Humble Android Calculator

https://medium.com/@jnebos/the-humble-android-calculator-4f139e8b1699
1•RGBCube•3m ago•1 comments

Heart Rate Variability Dynamics in Padel Players in Relation to Match Outcome

https://www.mdpi.com/2411-5142/11/1/12
1•PaulHoule•7m ago•0 comments

Learning to Discover at Test Time

https://test-time-training.github.io/discover/
1•in-silico•8m ago•0 comments

Managing a million dollar pool with 15k lines of Go

http://nat-echlin.com/one.html
1•natechlin•9m ago•0 comments

Ask HN: How to redeem a Gift Card without risking lock-out?

1•magnetic•10m ago•0 comments

Understanding Rust Closures

https://antoine.vandecreme.net/blog/rust-closures/
2•avandecreme•12m ago•0 comments

Pywidevine: Python Implementation of Google's Widevine DRM CDM (Content Decrypti

https://github.com/devine-dl/pywidevine
1•fanf2•12m ago•0 comments

Is Privacy an Illusion?

1•rafaelmdec•13m ago•0 comments

Namecheap sued a YC founder personally after shutting down her startup's domain

https://twitter.com/snigdhasur/status/2014747997943238791
4•ecares•14m ago•1 comments

Ask HN: Weekend Social: Top two programming languages and what they can borrow?

1•susam•15m ago•1 comments

ICE Executes Arrestee

https://old.reddit.com/r/Minneapolis/comments/1qlstaq/quick_stabilization_of_ice_murder_on_the_mo...
10•alangibson•15m ago•3 comments

Get-Shit-Done

https://github.com/glittercowboy/get-shit-done
1•mpartel•16m ago•0 comments

Why Most AI Projects Fail

https://www.youtube.com/watch?v=zBWmh2ZE8WQ
1•athampraveen•16m ago•0 comments

Most Admired Companies 2026

https://fortune.com/ranking/worlds-most-admired-companies/
1•ksec•17m ago•0 comments

Massive nanoparticles follow the rules of quantum mechanics

https://www.univie.ac.at/en/news/detail/metal-clumps-in-quantum-state-vienna-research-team-breaks...
1•wjSgoWPm5bWAhXB•18m ago•0 comments

In Search of a Platonic Co-Parent

https://www.nytimes.com/2026/01/24/style/platonic-co-parenting-apps.html
1•paulpauper•18m ago•0 comments

AutoAP

https://wiki.dd-wrt.com/wiki/index.php/AutoAP
1•mooreds•26m ago•0 comments

Why sandboxing coding agents is harder than you think

https://martinalderson.com/posts/why-sandboxing-coding-agents-is-harder-than-you-think/
1•martinald•27m ago•0 comments

This Month in Redox – December 2025

https://www.redox-os.org/news/this-month-251231/
1•akyuu•27m ago•0 comments

Testing Makes You Faster (Eventually)

https://gabor-kiss.com/essays/testing-makes-you-faster-eventually/
1•mooreds•28m ago•0 comments

Researchers Use D&D to Test AI's Long-term Decision-making Abilities

https://today.ucsd.edu/story/from-chatbots-to-dice-rolls-researchers-use-dd-to-test-ais-long-term...
1•wjSgoWPm5bWAhXB•28m ago•0 comments

The social media ban that wasn't

https://crookedtimber.org/2026/01/23/the-social-media-ban-what-wasnt/
2•mooreds•30m ago•0 comments

Strategies and lessons from partitioning a 17TB table in PostgreSQL

https://www.tines.com/blog/futureproofing-tines-partitioning-a-17tb-table-in-postgresql/
2•shayonj•30m ago•0 comments

Hung by a Thread

https://campedersen.com/rayon-mutex-deadlock
3•ecto•30m ago•0 comments

Show HN: Remote workers find your crew

1•fcpguru•30m ago•2 comments

Show HN: Send encrypted messages to the future (Client-side Time Capsules)

https://www.encrypter.site/
1•zealer•31m ago•0 comments

A Primer on Memory Consistency and Cache Coherence (2020) [pdf]

https://pages.cs.wisc.edu/~markhill/papers/primer2020_2nd_edition.pdf
1•tanelpoder•31m ago•0 comments