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•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.

I'm "Retiring" from Tech – Chad Whitacre, Head of Open Source, Sentry.io

https://bsky.app/profile/chadwhitacre.com/post/3mmvzlutrvk2g
1•ferriswil•51s ago•0 comments

'Coda vs. Goodyear': Indefiniteness destroys trade secrets

https://www.reuters.com/legal/legalindustry/coda-v-goodyear-indefiniteness-destroys-trade-secrets...
1•georgecmu•4m ago•0 comments

An Argentine influencer made Tim Payne the World Cup's unlikely hero

https://aleagues.com.au/news/tim-payne-argentine-influencer-world-cup/
1•mgarciaisaia•6m ago•0 comments

'World's first fluid circuit board' can be physically rewired in under a minute

https://www.tomshardware.com/tech-industry/prototype-of-the-worlds-first-fluid-circuit-board-can-...
2•n0pe_p0pe•7m ago•0 comments

AI is changing this job so fast the interview process can't keep up

https://www.cnn.com/2026/05/28/tech/ai-software-engineering-job-interview
1•mooreds•8m ago•0 comments

Ask HN: Does Claude Code remove the need for so many front-end frameworks?

1•ex-aws-dude•9m ago•0 comments

Scram by Chris Crawford

https://archive.org/details/a8b_SCRAM_1980_Atari_US_req_OSb_BASIC
1•evo_9•9m ago•0 comments

What Google, Yahoo, Microsoft, and Apple are doing to your email

https://www.jacquescorbytuech.com/writing/what-google-yahoo-microsoft-and-apple-are-doing-your-email
1•iamacyborg•11m ago•0 comments

Shift Offers Free NYC Cleaning to Train Household Robots

https://twitter.com/joinshiftX/status/2060044783519735987
3•ZenoH•12m ago•0 comments

Why Google Stores Billions of Lines of Code in a Single Repository (2016)

https://cacm.acm.org/research/why-google-stores-billions-of-lines-of-code-in-a-single-repository/
2•downbad_•12m ago•0 comments

Learning from Ukraine, Hezbollah is now using fibre-optic drones to hit Israel

https://www.bbc.com/news/articles/c0r2ydlvk41o
1•daveoc64•12m ago•0 comments

Show HN: Pubflow, Backend trust layer for build faster AI based apps

https://www.pubflow.com/
1•SamuelRecio•13m ago•0 comments

Video – thirty years of breaking the web's assumptions

https://www.talking.video/posts/video-web-history-intro
1•pavlov•13m ago•0 comments

A Dark Room

https://adarkroom.doublespeakgames.com/
1•evo_9•14m ago•0 comments

Testing how LFP batteries fail when overcharged

https://hackaday.com/2026/05/28/testing-lfp-battery-failure-modes-with-overcharging/
2•logickkk1•15m ago•0 comments

OpenScholarXIV

https://github.com/ScholarXIV/OpenScholarXIV/releases/tag/v4.0.0
1•dagmawibabi•16m ago•0 comments

Brazilian Food-Delivery Giant iFood Targeted in Alleged 43.8M Data Leak

https://darkwebinformer.com/brazilian-food-delivery-giant-ifood-targeted-in-alleged-43-8m-record-...
1•flykespice•16m ago•0 comments

Amazon scraps AI leaderboard to stop workers chasing usage scores

https://www.ft.com/content/b1a62a7f-6df5-4c90-94ce-64ce9c9961b6
3•mmarian•17m ago•0 comments

RentAnAgent – automating 80% of white collar work

https://rentanagent.app
1•RentAnAgent•17m ago•0 comments

Ad Infinitum

https://matthiasott.com/notes/ad-infinitum
1•freediver•17m ago•0 comments

Show HN: CVE-2026-40369 Windows Kernel Arbitrary Write Chrome SBX

https://pwn2nimron.com/blog
2•orinimron123•18m ago•0 comments

Anthropic Rockets to $965B Valuation, Topping OpenAI in AI Showdown

https://www.wsj.com/tech/ai/anthropic-valuation-openai-80bf2c0a
2•doener•20m ago•0 comments

Avoiding Death on the Yellow Brick Road

https://www.a16z.news/p/avoiding-death-on-the-yellow-brick
4•ex-aws-dude•21m ago•0 comments

NY and NJ subpoena FIFA over 'manipulated' World Cup ticketing

https://www.theguardian.com/football/2026/may/27/new-york-new-jersey-investigation-fifa-ticketing
4•darth_avocado•23m ago•0 comments

LEGO model of a nuclear research reactor for teaching physics

https://beta.ideas.lego.com/product-ideas/e235fbd0-8ab8-4575-bd1c-37a25625f118
3•vilgoupil•24m ago•0 comments

BofA Banker Courted Epstein for Years Leading Up to His Arrest

https://www.bloomberg.com/news/articles/2026-05-28/epstein-files-reveal-ongoing-ties-with-this-on...
2•petethomas•24m ago•0 comments

Show HN: Grove, an open-source MCP server to search/write to your Obsidian Vault

https://github.com/jmilinovich/grove
2•jmilinovich•26m ago•0 comments

Protestware for Coding Agents

https://nesbitt.io/2026/05/28/protestware-for-coding-agents.html
3•SVI•28m ago•0 comments

The Python Features We Almost Got but Never Did

https://medium.com/techtofreedom/9-python-features-we-almost-got-but-never-did-4fcc5b358d55
2•yangzhou•30m ago•0 comments

StackAI Acquired by Asana

https://asana.com/press/releases/pr/asana-acquires-stackai-adding-cross-system-execution-for-huma...
2•karissaho•30m ago•0 comments