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.

AI adoption at work is broad but shallow

https://www.theregister.com/ai-and-ml/2026/09/01/ai-adoption-at-work-is-broad-but-shallow/5293545
2•dijksterhuis•2m ago•0 comments

.FAGE is a brand TLD owned by FAGE a Greek dairy company

https://domaindetails.com/tlds/fage
2•gregsadetsky•5m ago•0 comments

Parrot was caught ordering items off Amazon's Alexa

https://www.cnbc.com/2018/12/21/african-grey-parrot-rocco-was-caught-ordering-items-off-amazons-a...
2•theanonymousone•5m ago•0 comments

Nearly impossible? How Fairphone built the ethical, repairable Fairphone Gen 6+

https://arstechnica.com/gadgets/2026/09/nearly-impossible-how-fairphone-built-the-ethical-repaira...
2•CrypticShift•5m ago•0 comments

AI in 2026 feels like Covid in 2020

https://bejofo.com/blog/ai-feels-like-the-pandemic
2•YannickR•6m ago•0 comments

Ok, but Does It Scale?

https://spacetimedb.com/blog/how-does-spacetime-scale
1•theanonymousone•7m ago•0 comments

The best dark mode toggle is probably none

https://lea.verou.me/blog/2026/dark-mode-toggles-2/
1•lukasgelbmann•7m ago•0 comments

A fun debugging story from this weekend

https://hamatti.org/posts/a-fun-debugging-story-from-this-weekend/
1•speckx•7m ago•0 comments

Payroll employment increases by 162k in August; unemployment unchanged at 4.1%

https://www.bls.gov/news.release/empsit.nr0.htm
1•JumpCrisscross•7m ago•0 comments

Build on BareMetal

https://returninfinity.com/blog/sep2026-build-on-baremetal-contest
1•ianseyler•8m ago•1 comments

Designing Grok Bot for a world of persistent agents

https://x.ai/news/designing-grok-bot
1•aratahikaru5•9m ago•0 comments

Denavigation: The End of Apps and the Verification Bottleneck

https://alexanderabramovich.medium.com/denavigation-18cdc039da2d
1•happyalexander•12m ago•0 comments

Terence Tao: Speed in science isn't the same thing as progress [video]

https://www.youtube.com/watch?v=svl_1upFpQo
1•gessha•13m ago•0 comments

What archaeology reveals about the rise of all-powerful rulers

https://knowablemagazine.org/content/article/society/2026/what-archaeology-reveals-about-rise-of-...
1•sohkamyung•16m ago•0 comments

Climbers rescued on Mount Shasta after using AI chatbot to plan trip

https://www.sfchronicle.com/outdoors/article/shasta-climbers-rescued-chatgpt-22414629.php
2•dsr12•16m ago•0 comments

Machine Testimony

https://yalelawjournal.org/article/machine-testimony
2•Bluestein•17m ago•0 comments

Negative people make you age faster

https://www.pnas.org/doi/10.1073/pnas.2515331123
2•RickJWagner•17m ago•0 comments

A new method for data transformation. Hash, PRNG, XOF – High speed

https://github.com/Ligatum/Lustro
1•Ligatum•21m ago•1 comments

Argus – an anti-detect browser with automation, local API, and MCP

https://www.browserargus.com
2•rpochtman•22m ago•0 comments

Most Small Business Websites Don't Need a Web Developer

https://websmith.studio/blog/most-small-business-websites-dont-need-a-web-developer/
2•pumbaa•22m ago•1 comments

The script didn't hate AI. It hated the "@" character

1•ahunia•22m ago•0 comments

Fork a fast and friendly Git client for Mac and Windows

https://git-fork.com/releasenoteswin
1•Bluestein•23m ago•0 comments

Testing a New Soundbar with Browser Tools: Frequency Response, SPL, and Lip-Sync

https://capytoolkit.com/blog/audio/testing-soundbar-browser-tools-frequency-response-spl-lip-sync...
1•ChillyCapy•25m ago•0 comments

Tzopilotl: A statically typed live-coding language for real-time audio

https://lfnoise.github.io/tzpl/
1•jarmitage•28m ago•0 comments

Microsoft to impose time limits on Xbox cloud gaming as costs continue to climb

https://www.cnbc.com/2026/09/03/microsoft-xbox-game-pass-cloud-limits.html
1•magoghm•29m ago•0 comments

Nvidia PAIR turns your household's idle PCs into a local AI cluster

https://tokenstead.ai/guides/nvidia-pair-personal-ai-router
2•cdnsteve•30m ago•0 comments

What Did She Expect?" – Sexism and Classism Behind UK's Aesthetics Safety Crisis

https://www.marieclaire.co.uk/beauty/what-did-she-expect-the-sexism-and-classism-behind-the-uks-a...
3•bryanrasmussen•33m ago•1 comments

Ow are small recruiting agencies automating candidate screening?

1•Rutus•33m ago•0 comments

All the microbes you can't have

https://worksinprogress.co/issue/all-the-microbes-you-cant-have/
1•SamuraiLion•35m ago•0 comments

AMD Threadripper Halo Station 96-Cores, MI350P GPUs, 576GB GPU, 2TB CPU Memory

https://videocardz.com/newz/amd-threadripper-halo-station-packs-96-core-cpu-and-instinct-mi350p-g...
1•rbanffy•36m ago•0 comments