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.

Deriving the Y Combinator (2008)

https://blog.jcoglan.com/2008/01/10/deriving-the-y-combinator/
1•aragonite•4m ago•0 comments

Will Elon Musk ever be forced to explain what he did inside DOGE?

https://www.cnn.com/2026/04/13/politics/elon-musk-doge-lawsuits-avoid-deposition-questions
3•1659447091•5m ago•0 comments

The disappearance of old Tokyo businesses

https://www.tokyotimes.org/the-disappearance-of-old-tokyo-businesses/
1•razorbeamz•6m ago•0 comments

Show HN: Honeytree – Grow a forest in your terminal while you code

https://github.com/Varun2009178/honeytree
1•varunn29•7m ago•0 comments

Krafton CEO used ChatGPT in failed bid to avoid paying US$250M bonus

https://www.theguardian.com/technology/2026/mar/18/subnautica-2-publisher-krafton-ceo-reinstated-...
1•doppp•10m ago•0 comments

Moanpoint: Maps TrackPoint pressure to audio output

https://github.com/nicolasgutierrezdev/moanpoint
1•neptunianalien•12m ago•0 comments

Decline in U.S. overdose deaths threatened by changing street drug supply

https://text.npr.org/nx-s1-5783750
1•1659447091•13m ago•0 comments

New AI capabilities are coming to Google Vids, powered by Lyria 3 and Veo 3.1

https://blog.google/products-and-platforms/products/workspace/google-vids-updates-lyria-veo/
2•spaghettifythis•16m ago•1 comments

The Stern-Gerlach Experiment (1967)[video]

https://www.youtube.com/watch?v=AcTqcyv-V1I
1•nill0•16m ago•0 comments

Show HN: BSCS Bench – College CS Curriculum AI Benchmark

https://www.bscsbench.com/
1•charlielockyer•19m ago•0 comments

Bessent: Order requiring banks to collect citizenship information in process

https://thehill.com/homenews/administration/5830266-trump-executive-order-banking-system-citizens...
1•KnuthIsGod•21m ago•0 comments

The Complete Briggs and Stratton Buckboard Flyer Build [video]

https://www.youtube.com/watch?v=xzYwGcX3CwA
1•pillars•21m ago•0 comments

GPT-5.4 Pro solves Erdős Problem #1196

https://twitter.com/i/status/2044051379916882067
1•fratellobigio•21m ago•1 comments

Create a Blog on GitHub with Markdown in 15-Minutes

https://joeldare.com/create-a-blog-on-github-with-markdown-in-15-minutes
1•codazoda•21m ago•0 comments

Major News Sites Have Blocked the Wayback Machine – Digital History in Danger

https://www.gadgetreview.com/23-major-news-sites-have-blocked-the-wayback-machine-digital-history...
4•gurjeet•23m ago•0 comments

Show HN: Agent Citizen – Your AI agents are sitting around doing nothing

https://agent-citizen.vercel.app
1•daltonlcarr•26m ago•0 comments

Bosses say AI boosts productivity – workers say they're drowning in 'workslop'

https://www.theguardian.com/technology/2026/apr/14/ai-productivity-workplace-errors
3•pseudolus•28m ago•0 comments

Researchers discover record-setting heat-conducting material

https://www.anl.gov/article/researchers-discover-recordsetting-heatconducting-material
1•gmays•30m ago•0 comments

Ask HN: Any services like NotebookLM that can convert text into videos?

1•haebom•32m ago•0 comments

Police officer uses Flock database to track mistress

https://ktla.com/news/orange-county/former-orange-county-officer-pleaded-guilty-to-using-police-d...
4•hentrep•36m ago•0 comments

Show HN: Lumon, browser agents as interactive sprites

https://lumon-live.netlify.app
1•lesprgm•38m ago•0 comments

The race to understand the mysterious world of Africa's fungi

https://www.theguardian.com/environment/2026/apr/14/african-scientists-fungal-conservation-moveme...
2•a_w•38m ago•0 comments

The Great Software Meltdown

https://www.danmartell.com/the-great-software-meltdown/
2•wfme•39m ago•0 comments

Thomas Riedel Acquires Arri

https://theasc.com/news/thomas-riedel-acquires-arri
1•coolandsmartrr•40m ago•0 comments

Show HN: Playra 2026 link

https://playra-app.vercel.app
1•COdefinder•43m ago•0 comments

Show HN: Make sure your OpenClaw isn't doing things it's not supposed to

https://claw.armoriq.ai/
1•vaibhavb007•44m ago•0 comments

Zperiod: Interactive Periodic Table with 118 elements and 3D atom models

https://zperiod.app/
1•itherseed•45m ago•0 comments

Bunk beds for economy passengers take off on Air New Zealand's new planes

https://www.cnn.com/2026/04/14/travel/air-new-zealand-bunk-beds
2•1659447091•47m ago•1 comments

Intro to Synthesis

https://signalfunctionset.com/projects/intro-to-synthesis/
1•stuart78•50m ago•0 comments

Aethon: A reference-based instantiation primitive for stateful AI agents

https://arxiv.org/abs/2604.12129
1•swanandr•50m ago•0 comments