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

Comments

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

Self-Managing Repository Framework

https://www.npmjs.com/package/prac-kit
1•pdavisjones•20s ago•0 comments

A free diver visited the Strait of Hormuz. Here's what he saw

https://www.npr.org/2026/04/26/nx-s1-5795819/a-free-diver-visited-the-strait-of-hormuz-heres-what...
1•bookofjoe•2m ago•0 comments

Artemis II Photo Timeline

https://artemistimeline.com/
1•marvinborner•2m ago•0 comments

Robot dogs with Musk and Zuckerberg heads roam around Berlin museum

https://apnews.com/article/germany-berlin-robot-dogs-beeple-bezos-digital-art-4a2be2a4a4490553ad6...
1•stared•6m ago•0 comments

Heads we win, tails you lose – AI detectors in education

https://gwolf.org/2026/04/heads-we-win-tails-you-lose-ai-detectors-in-education.html
1•speckx•6m ago•0 comments

Ramp's Sheets AI Exfiltrates Financials

https://www.promptarmor.com/resources/ramps-sheets-ai-exfiltrates-financials
1•takira•6m ago•0 comments

'The biggest decision yet': Jared Kaplan on allowing AI to train itself

https://www.theguardian.com/technology/ng-interactive/2025/dec/02/jared-kaplan-artificial-intelli...
1•reducesuffering•7m ago•0 comments

Our Eyes Originated in a 600M-Year-Old Cyclops

https://nautil.us/our-eyes-originated-in-a-600-million-year-old-cyclops-1280279
1•Brajeshwar•7m ago•0 comments

Copy Fail: 732 Bytes to Root on Every Major Linux Distributions

https://xint.io/blog/copy-fail-linux-distributions
1•fratellobigio•8m ago•0 comments

Portability Problems: Syncing Coding Agent State Across Machines

https://www.omnara.com/blog/sandbox-sync
1•cmsparks•8m ago•0 comments

Terry Pratchett's Discworld, by those who knew him

https://inews.co.uk/culture/books/inside-story-terry-pratchett-discworld-those-knew-him-4373899
1•fanf2•9m ago•0 comments

ByteSize is to newsletter what a warm fresh croissant is to a morning coffee

1•elsadek•9m ago•0 comments

Apple cofounder Ronald Wayne–whose would be worth $400B, has no regrets

https://fortune.com/2026/04/27/apple-cofounder-ronald-wayne-missed-billionaire-opportunity-no-reg...
1•paulpauper•9m ago•0 comments

Suffering Is a Compass

https://bigthink.com/series/full-interview/true-happiness-maturity/
1•lschueller•11m ago•0 comments

(One) Good AI Is Here

https://www.anildash.com/2026/04/28/one-good-ai-is-here/
1•SLHamlet•11m ago•0 comments

ByteSize is to newsletter what a warm fresh croissant is to a morning coffee

https://e-e.beehiiv.com/subscribe
1•elsadek•12m ago•0 comments

Upstate New York man pleads guilty to stealing more than $50M in Ponzi scheme

https://abcnews.com/US/wireStory/upstate-new-york-man-pleads-guilty-stealing-50m-132474486
1•paulpauper•12m ago•0 comments

Pleasant Passwords

https://lzon.ca/posts/tips/pleasant-passwords/
1•jpmitchell•13m ago•0 comments

Probably quit your job if you're asking Reddit

https://datastream.substack.com/p/you-should-probably-quit-your-job
3•racketracer•13m ago•1 comments

Show HN: Send your first Peppol e-invoice in 5 minutes (EU mandate live)

https://getpeppr.dev/
1•zerolooplabs•14m ago•0 comments

Cursor Browser Swarm: letting AI agents see, test, and check their own UI work

https://twitter.com/tejashaveridev/status/2049518417846190509
1•TejasHaveri•14m ago•0 comments

Show HN: Record tmux, analyze with Claude, and replay as searchable episodes

https://github.com/BerryBaronBonanza/selfmod
1•crackleware•15m ago•0 comments

Zero: Search Engine for AI Agents

https://www.zero.xyz/
1•aloukissas•17m ago•0 comments

The Artemis Photos You Haven't Seen

https://www.youtube.com/watch?v=LyZE9VWJjDA
1•jrussino•18m ago•0 comments

All in All, Another Brick in the Motte (2014)

https://slatestarcodex.com/2014/11/03/all-in-all-another-brick-in-the-motte/
1•stared•18m ago•0 comments

Brent Crude hits $119.56/barrel peak today

https://tradingeconomics.com/commodity/brent-crude-oil
2•walrus01•19m ago•0 comments

Verifying your age in a privacy preserving manner

https://adayinthelifeof.nl/2026/04/27/sd-jwt.html
1•jaytaph•19m ago•0 comments

MeshCore's Problem with Security

https://alainx277.com/posts/meshcores-problem-with-security/
2•alainx277•19m ago•0 comments

The Abstraction Fallacy: Why AI can simulate but not instantiate consciousness

https://deepmind.google/research/publications/231971/
29•joshus•20m ago•12 comments

CanvasKit (Skia/WASM) Documentation with Live Editable Demos

https://blog.form.dev/canvaskit/
1•Zibx•21m ago•0 comments