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.

Kalshi CEO expects US DOJ to prosecute insider trading cases

https://www.semafor.com/article/04/15/2026/kalshi-ceo-tarek-mansour-expects-us-doj-to-prosecute-i...
2•thm•1m ago•0 comments

Input Brain vs. Output Brain

https://humaninternet.ai/input-brain-vs-output-brain/
2•herbertl•1m ago•0 comments

AI Is an Amplifier. What Are You Amplifying?

https://leadership.garden/ai-is-an-amplifier/
1•speckx•2m ago•0 comments

The Anatomy of an Agent Harness

https://www.langchain.com/blog/the-anatomy-of-an-agent-harness
1•andrewstetsenko•2m ago•0 comments

Agents hooked into GitHub can steal creds

https://www.theregister.com/2026/04/15/claude_gemini_copilot_agents_hijacked/
1•Bender•2m ago•1 comments

Altera Cyclone IV bitstream reverse engineering

https://old.reddit.com/r/embedded/comments/1smdyn4/altera_cyclone_iv_bitstream_reverse_engineering/
1•franlego98•2m ago•0 comments

Claims of Unwarranted ICE-Related Detention Were a Hoax

https://reason.com/volokh/2026/04/15/expedited-discovery-allowed-in-sheriffs-defamation-case-whic...
1•anonymousiam•3m ago•0 comments

The tech jobs bust is real. Don't blame AI (yet)

https://www.economist.com/finance-and-economics/2026/04/13/the-tech-jobs-bust-is-real-dont-blame-...
2•thm•4m ago•0 comments

Michael Rabin Has Died

https://en.wikipedia.org/wiki/Michael_O._Rabin
1•tkhattra•4m ago•0 comments

Show HN: Monadic Networking Library for Go

https://github.com/philip-peterson/fp-go-net
1•ironmagma•5m ago•0 comments

Claude Code now has chat

https://github.com/phillipatkins/claude-p2p-chat
2•phillip3655•5m ago•1 comments

For Its Next Act, Allbirds Makes an Unlikely Pivot from Shoes to AI

https://www.wsj.com/tech/ai/for-its-next-act-allbirds-makes-an-unlikely-pivot-from-shoes-to-ai-a3...
1•fortran77•6m ago•1 comments

Show HN: HN Tokenmaxxing Leaderboard

https://tkmx.odio.dev
1•Sam_Odio•6m ago•0 comments

Anthropic Rebuilds Claude Code Desktop App Around Parallel Sessions

https://www.macrumors.com/2026/04/15/anthropic-rebuilds-claude-code-desktop-app/
1•Brajeshwar•7m ago•0 comments

From Feeds to Trails

https://leaflet.pub/p/did:plc:ldmcdu57vnkqriwqojr2lcqc/3mjk4e6aok22m
2•Kye•8m ago•0 comments

Extending Inflatable Actuator with Spool Mechanism Incorporating Air Tubes

https://www.mdpi.com/2076-0825/15/3/176
1•PaulHoule•8m ago•0 comments

Big Girls Don't Cry

https://annas-archive.gl/scidb/10.1007/978-3-319-50618-0_8/
1•Julesprobably•9m ago•0 comments

No more US Military aid to Israel

https://www.theguardian.com/commentisfree/2026/apr/15/no-more-us-military-aid-to-israel
3•hebelehubele•9m ago•1 comments

YouTuber Jon Prosser broke Liquid Glass – and what happened in the fallout

https://www.theverge.com/tech/908476/jon-prosser-apple-liquid-glass
1•speckx•10m ago•0 comments

Critical Atlantic current significantly more likely to collapse than thought

https://www.theguardian.com/environment/2026/apr/15/critical-atlantic-current-significantly-more-...
3•ndsipa_pomu•10m ago•0 comments

(Potentially Vapourware) Trump Phone Redesigned

https://www.cnet.com/tech/mobile/redesigned-trump-phone-new-trump-mobile-website/
1•OhMeadhbh•11m ago•1 comments

Teens' Experiences on TikTok, Instagram and Snapchat

https://www.pewresearch.org/internet/2026/04/15/teens-experiences-on-tiktok-instagram-and-snapchat/
1•thm•11m ago•0 comments

Playonsnow.com – Play HTML5 Games for Free

https://playonsnow.com/
1•jackpste•13m ago•1 comments

Making dark mode play nicely with bfcache

https://guilhermesimoes.github.io/blog/making-dark-mode-work-with-bfcache
1•glitchdout•14m ago•0 comments

Wall Street's Elite Team of Coffee Tasters Who Keep the Global Market Running

https://www.wsj.com/lifestyle/careers/wall-street-has-an-elite-coffee-tasting-force-its-strugglin...
2•thm•15m ago•0 comments

Sustaining creative aliveness while working a full time job

https://www.startingfromnix.com/p/sustaining-creative-aliveness-while
2•jger15•15m ago•0 comments

Stopping the Meta AI director's "OpenClaw failure with an out-of-band killswitch

https://highflame.com/blogs/why-metas-ai-alignment-director-couldnt-stop-her-own-agent--and-how-t...
3•jalbrethsen•15m ago•2 comments

Waymo Opens to Everyone in Miami and Orlando

https://waymo.com/blog/2026/04/floridas-new-way-to-ride/
1•xnx•15m ago•0 comments

Unified MCP Server for Jira and Confluence Server/DC Behind Citrix NetScaler SSO

https://github.com/paul-pfeiffer/atlassian-netscaler-mcp
1•paulpfe•16m ago•1 comments

Urgentry: Ultra-efficient, self-hostable drop in replacement for Sentry

https://urgentry.com/
1•handfuloflight•16m ago•0 comments