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.

Google has a secret reference desk

https://cardcatalogforlife.substack.com/p/google-has-a-secret-reference-desk
1•maxutility•3m ago•0 comments

Over 4,732 Messages, He Fell in Love with an AI Chatbot. Now He's Dead

https://www.wsj.com/tech/ai/google-gemini-jonathan-gavalas-death-07351ab2
2•1vuio0pswjnm7•6m ago•1 comments

Mob Software: The Erotic Life of Code (2001)

https://www.dreamsongs.com/MobSoftware.html
2•pabs3•7m ago•0 comments

Mark Carney secures majority government in Canada after special election win

https://www.theguardian.com/world/2026/apr/14/canada-special-election-results-pm-mark-carney-majo...
3•petermcneeley•17m ago•0 comments

Best 2000W Electric Bikes for Adults (2026): 40MPH+ Picks

https://www.dttzh.com/post/2000w-electric-bikes
1•dttzhebike•22m ago•0 comments

Mac Neo should be the follow up to the success of the MacBook Neo

https://appleinsider.com/articles/26/04/13/mac-neo-should-be-the-follow-up-to-the-huge-success-of...
1•Lwrless•22m ago•0 comments

Comprehension Debt: The Hidden Cost of AI-Generated Code

https://www.oreilly.com/radar/comprehension-debt-the-hidden-cost-of-ai-generated-code/
2•gpi•23m ago•0 comments

Dumbsmarten

https://kevinkelly.substack.com/p/dumbsmarten
1•swolpers•30m ago•0 comments

I created a YAML-based API Testing framework in Rust

https://github.com/cd-4/yapitest
1•cd-4•32m ago•1 comments

Alibaba's Qwen family captures over 50% of global open-source model downloads

https://www.scmp.com/tech/big-tech/article/3349552/alibabas-qwen-family-captures-over-50-global-o...
2•angst•32m ago•3 comments

Canary – tiny filesystem honeypot for macOS

https://github.com/dweinstein/canary
1•TheTaytay•34m ago•0 comments

Ask HN: Are most agent skills just fancy system prompts with a name?

3•skillcompass•36m ago•1 comments

Hacker compromises A16Z-backed phone farm, calling them the 'antichrist'

https://www.404media.co/hacker-compromises-a16z-backed-phone-farm-tries-to-post-memes-calling-a16...
9•wibbily•36m ago•2 comments

Rep. Tony Gonzales quits Congress after affair, lewd texting scandal with

https://nypost.com/2026/04/13/us-news/rep-tony-gonzales-announcing-retirement-from-congress-after...
1•mananbasim•36m ago•1 comments

Google Faces Billions in Mass Arbitration over Illegal Monopoly Rulings

https://www.bloomberg.com/news/articles/2026-04-13/google-faces-mass-arbitration-by-advertisers-s...
3•1vuio0pswjnm7•41m ago•1 comments

All in One for AI Chatbot

https://nottoai.com/
2•jeyzolo•44m ago•1 comments

Opus 4.6 is getting BAD [video]

https://www.youtube.com/watch?v=j7oHwvEcrC8
1•zadkey•45m ago•1 comments

Free Blur Image Online – Easily Blur Your Photos

https://www.youtube.com/redirect?q=https://www.blurimageonline.com
2•teroquyiqwu•48m ago•0 comments

Save tokens and save money with this self-evolving beast

https://github.com/juyterman1000/entroly
2•ashuabhi•51m ago•0 comments

A watch made for space

https://www.cnn.com/2026/04/13/style/iwc-schaffhausen-space-watch
2•1659447091•54m ago•0 comments

DECT (Digital Enhanced Cordless Telecommunications)

https://en.wikipedia.org/wiki/DECT
4•gregsadetsky•55m ago•1 comments

MCP server for personal finance so AI assistants can manage money

https://era.app/articles/how-to-connect-claude-to-your-bank-account/
1•era_context•56m ago•1 comments

Municipal water fluoridation, adolescent IQ and cognition across the life course

https://www.pnas.org/doi/full/10.1073/pnas.2536005123
3•cpncrunch•59m ago•1 comments

A portable social graph on Base – own your friends and currency on-chain

https://moondala.one
1•HamoodBahzar•59m ago•0 comments

A new spam policy for "back button hijacking"

https://developers.google.com/search/blog/2026/04/back-button-hijacking
34•zdw•1h ago•10 comments

Open Agents. Spawn coding agents that run infinitely in the cloud

https://open-agents.dev/
1•iBelieve•1h ago•0 comments

Sometimes powerful people just do dumb shit

https://www.joanwestenberg.com/sometimes-powerful-people-just-do-dumb-shit/
3•zdw•1h ago•0 comments

Social media platforms need to stop never-ending scrolling, UK's Starmer says

https://www.reuters.com/business/media-telecom/social-media-platforms-need-stop-never-ending-scro...
1•1vuio0pswjnm7•1h ago•2 comments

Attorneys Face Disciplinary Charges, License Suspension for AI Misuse

https://www.law.com/therecorder/2026/04/13/two-attorneys-face-disciplinary-charges-third-agrees-t...
1•1vuio0pswjnm7•1h ago•1 comments

Hybrid Constructions: The Post-Quantum Safety Blanket

https://soatok.blog/2026/04/13/hybrid-constructions-the-post-quantum-safety-blanket/
1•zdw•1h ago•0 comments