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.

Lore: Next-generation open source version control

https://github.com/EpicGames/lore
1•taubek•2m ago•0 comments

Gambling disorder cases skyrockets in states where sports betting is legal

https://twitter.com/cremieuxrecueil/status/2070651565107446116
1•MrBuddyCasino•3m ago•0 comments

The New York Times Amends Lawsuit Against OpenAI and Microsoft

https://www.nytimes.com/2026/06/25/technology/times-lawsuit-openai-microsoft.html
1•1vuio0pswjnm7•4m ago•0 comments

Promptetheus – Trace, detect, and auto-repair AI agent failures

https://github.com/obro79/promptetheus
1•tar-ive•5m ago•0 comments

People Inc. CEO accuses Google of abusing its market power

https://www.axios.com/2026/06/23/people-inc-google-ai-search-crawler
2•1vuio0pswjnm7•7m ago•0 comments

Ask HN: How much memory is useable by GPU in MacBook?

1•mzubairtahir•8m ago•0 comments

Rich and famous families teach their kids Mandarin as China's influence grows

https://www.abc.net.au/news/2026-06-27/musk-trump-bezos-zuckerberg-children-learning-mandarin/106...
1•defrost•8m ago•0 comments

My gf's birthday is my yearly reminder that I'm bad at gift-giving

https://giftmaxxing.vercel.app/
1•tar-ive•9m ago•0 comments

I HATED having to stop playin instrument togo thru pages onPDFso I used blinking

https://verceleye.vercel.app/
1•peenut•10m ago•1 comments

OpenTTD 16.0-Beta1

https://www.openttd.org/news/2026/06/25/openttd-16-0-beta1
1•untilted•11m ago•0 comments

Mythos available for select organisations

https://twitter.com/anthropicai/status/2070665903440871779
1•dsr12•14m ago•1 comments

Air conditioning torn from homes under net zero clampdown

https://www.telegraph.co.uk/money/consumer-affairs/air-conditioning-torn-from-homes-under-net-zer...
2•razor-thin•17m ago•1 comments

Photos by Om

https://www.photosbyom.com
1•adityaathalye•18m ago•1 comments

Modern GPU Programming for MLSys

https://mlc.ai/modern-gpu-programming-for-mlsys/#
1•sonabinu•31m ago•1 comments

Coding agent harness written in native Golang with built-in file and Git viewer

https://code.intellios.ai
1•coolwulf•31m ago•0 comments

2026 FIFA Worldcup Predictor

https://nutmeg-4eg.pages.dev/
1•chriszng•38m ago•2 comments

Isn't US Government trying to monopolize AI as a super power?

1•StizzurpXDD•45m ago•0 comments

SpaceX stock is a terrible buy – what that means for the bull market

https://www.msn.com/en-us/money/topstocks/spacex-stock-is-a-terrible-buy-what-that-actually-means...
1•WheelsAtLarge•47m ago•1 comments

Apple seeks to buy memory chips from blacklisted Chinese company

https://www.ft.com/content/d72a25e2-7bde-4aa9-bd8d-0c4f3d6cb2cb
1•ilreb•50m ago•0 comments

Agentic Trading on Robinhood

https://robinhood.com/us/en/agentic-trading/
4•huragok•53m ago•2 comments

(Planet Money, NPR) "We almost had a smartphone in the 90s. Why did it fail?"

https://www.npr.org/2026/06/26/nx-s1-5872785/general-magic-sony-magiclink-constraints
1•wnc3141•59m ago•2 comments

I built a marketplace where the money can be verified by anyone

https://old.reddit.com/r/SubliminalsVerytasium/comments/1ufhleb/i_built_a_marketplace_where_the_m...
1•bbenevolence•1h ago•0 comments

Find the right AI agents to build

https://www.agentideahub.com
1•mattmerrick•1h ago•0 comments

TUI email client in native Golang with LLM based drafting functions

https://mail.intellios.ai
1•coolwulf•1h ago•0 comments

Nomad: Portable, offline media server powered by the ESP32-S3 in a thumbdrive

https://www.instructables.com/Jcorp-Nomad-Mini-WIFI-Media-Server/
1•thunderbong•1h ago•0 comments

US allows Anthropic to release Mythos AI to 'trusted' US organizations

https://www.reuters.com/technology/us-releases-anthropic-model-mythos-some-us-companies-semafor-r...
1•swolpers•1h ago•0 comments

If they start to gatekeep who gets to use the best models, that is a DoW

https://twitter.com/jmrphy/status/2070528497752166454
1•Jimmc414•1h ago•0 comments

Show HN: I replaced $500/mo in freelance tools with 20 ChatGPT prompts

https://medium.com/@promptalex53/1c857c6f424a
1•promptalex53•1h ago•0 comments

WordStar: A Writer's Word Processor (1996)

https://www.sfwriter.com/wordstar.htm
11•droidjj•1h ago•5 comments

Meta asks California lawmakers for shield from child harm penalties

https://www.politico.com/news/2026/06/26/exclusive-meta-asks-california-lawmakers-for-shield-from...
2•donsupreme•1h ago•1 comments