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.

Tremendous Iranian Invasion: A Text Misadventure

2•brooksc•3m ago•0 comments

Essential Voice by Nothing

https://nothing.community/d/56167-introducing-essential-voice
1•plun9•4m ago•0 comments

Familiarity is the enemy: On why Enterprise systems have failed for 60 years

https://felixbarbalet.com/familiarity-is-the-enemy/
1•adityaathalye•5m ago•0 comments

Intel Arc Pro B70 Review

https://www.pugetsystems.com/labs/articles/intel-arc-pro-b70-review/
1•zdw•9m ago•0 comments

ASML's latest chipmaking gear is too pricey, even for TSMC

https://theedgemalaysia.com/node/800964
2•jackyli02•10m ago•0 comments

Intel Arc Pro B70 benchmarks for LLMs and video generation

https://github.com/PMZFX/intel-arc-pro-b70-benchmarks
1•mroche•14m ago•0 comments

DeepSeek's Sequel Set to Extend China's Reach in Open-Source A.I

https://www.nytimes.com/2026/04/24/business/china-ai-deepseek-open-source.html
1•Cider9986•14m ago•0 comments

Ubuntu 26.04 LTS Released

https://lwn.net/Articles/1069399/
2•lxst•16m ago•0 comments

AI Resume Reviewer

https://www.thehumancapitalhub.com/ai-resume-reviewer
1•bisit•16m ago•0 comments

Show HN: GitRails-Let agents call only the GitHub endpoints and params you allow

https://github.com/maxawzsinger/gitrails/blob/main/README.md
1•maxaw•19m ago•1 comments

The AI Science Separation

https://www.thewirechina.com/2026/04/19/the-ai-science-separation/
1•jackyli02•20m ago•0 comments

We're Using So Much AI That Computing Firepower Is Running Out

https://www.wsj.com/tech/ai/ai-is-using-so-much-energy-that-computing-firepower-is-running-out-15...
1•ryan_j_naughton•22m ago•0 comments

Grok Voice Think Fast 1.0

https://x.ai/news/grok-voice-think-fast-1
1•deadalus•23m ago•0 comments

Oracle's Deluge of AI Debt Pushes Wall Street to the Limit

https://www.wsj.com/tech/ai/oracle-ai-demand-debt-04977749
4•ryan_j_naughton•24m ago•1 comments

Canonical Releases Ubuntu 26.04 LTS Resolute Raccoon

https://canonical.com/blog/canonical-releases-ubuntu-26-04-lts-resolute-raccoon
1•ggraphilia•25m ago•0 comments

Unlimited access to Reddit, and Twitter, access anything with supermcp

https://webmatrices.com/supermcp
2•bishwasbh•26m ago•0 comments

Anthropic tested removing Claude Code from the Pro plan

https://arstechnica.com/ai/2026/04/anthropic-tested-removing-claude-code-from-the-pro-plan/
2•celadevra_•30m ago•0 comments

S&box – Game engine built on Source 2 and .NET from creators of Garry's Mod

https://github.com/Facepunch/sbox-public/
1•vyrotek•35m ago•0 comments

Share X 20.0

https://getsharex.com/changelog#v20.0.0
1•pentagrama•38m ago•0 comments

Habitual coffee intake shapes the microbiome, modifies physiology and cognition

https://www.nature.com/articles/s41467-026-71264-8
19•scubakid•49m ago•0 comments

New Blood CEO Dave Oshry on Indie Strategy: "We Pump New Blood into Old Genres"

https://80.lv/articles/new-blood-ceo-dave-oshry-on-indie-strategy-we-pump-new-blood-into-old-genres
4•doppp•50m ago•0 comments

Shelter Aid

https://apps.apple.com/us/app/shelter-aid/id6762375916
2•starboyy•54m ago•1 comments

Mullvad to add feature that forces all iOS traffic through the VPN tunnel

https://cyberinsider.com/mullvad-to-add-feature-that-forces-all-ios-traffic-through-the-vpn-tunnel/
3•Cider9986•55m ago•1 comments

AI run store in SF can't stop ordering candies and paying women less.

https://sfist.com/2026/04/21/ai-store-manager-paying-female-employees-less-cant-stop-ordering-can...
4•fragmede•57m ago•1 comments

Study shows removing exposure to plastic from our food chain yields quick result

https://www.abc.net.au/news/2026-04-23/plastic-packaging-body-chemicals-study/106594194
2•xbmcuser•58m ago•0 comments

The Surveillance Accountability Act

https://www.surveillanceaccountability.com
2•Cider9986•1h ago•0 comments

French police look at claim of sensor tampering to win weather bets

https://www.theguardian.com/world/2026/apr/23/hairdryer-or-lighter-french-police-look-at-claim-of...
2•geox•1h ago•0 comments

Control Workspace Intelligence for generative AI features [AI defaults on]

https://knowledge.workspace.google.com/admin/gemini/control-workspace-intelligence
2•lancewiggs•1h ago•0 comments

Ask HN: What are the best developer tools built around Markdown?

1•dhruv3006•1h ago•0 comments

Mahjong: A Visual Guide

https://themahjong.guide/
1•iamwil•1h ago•1 comments