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.

BQN: What Is a Primitive?

https://mlochbaum.github.io/BQN/commentary/primitive.html
1•tosh•1m ago•0 comments

Ask HN: What Are You Thankful For?

2•chistev•6m ago•0 comments

Coinbase, Kalshi bring regulated perpetual crypto futures to US investors

https://www.reuters.com/legal/government/coinbase-kalshi-bring-regulated-perpetual-crypto-futures...
1•1vuio0pswjnm7•6m ago•0 comments

AI coding agents ships at the cost of intuition and taste

https://shivekkhurana.com/blog/coding-agent-dopamine/
1•shivekkhurana•6m ago•0 comments

Powerful A.I. Super PACs Duel over the Midterms: 'This Is a War'

https://www.nytimes.com/2026/05/30/us/politics/anthropic-openai-super-pacs-midterms.html
1•Timofeibu•8m ago•0 comments

Inferno (Boards of Canada)

https://en.wikipedia.org/wiki/Inferno_(Boards_of_Canada_album)
1•BruceEel•11m ago•0 comments

Researchers find all big-name bots bomb EU compliance tests

https://www.theregister.com/ai-ml/2026/05/27/researchers-find-all-big-name-bots-bomb-eu-complianc...
1•dijksterhuis•12m ago•0 comments

Three flavors of coding with AI agents

https://nocodefunctions.com/blog/three-flavors-agentic-coding/
1•seinecle•12m ago•0 comments

Open Source Ecosystems

https://asimovaddendum.substack.com/p/open-source-ecosystems
1•BerislavLopac•13m ago•0 comments

More efficient Earth–Moon transfer

https://link.springer.com/article/10.1007/s42064-025-0297-x
1•cl3misch•14m ago•0 comments

Holonomy_lib, exact non Euclidean geometry primitives for PyTorch

https://github.com/Synoros-io/holonomy_lib
1•John_Vaught•14m ago•0 comments

The Kaiser and a "Mediocre Man" Theory of History

https://www.deadcarl.com/p/the-kaiser-and-a-mediocre-man-theory
2•baud147258•21m ago•0 comments

Replacing WebView2 print-to-PDF with an embedded Typst engine (Rust)

https://4worlds.dev/lore/014-typst-pdf-engine/
1•ghost-of-asimov•25m ago•0 comments

Ask HN: What's the hardest problem you've ever solved?

3•chistev•30m ago•1 comments

Ken Iverson in Denmark (2005)

https://web.archive.org/web/20071023024007/https://vector.org.uk/archive/v223/gitte222.htm
2•tosh•34m ago•0 comments

Show HN: AI-org – org-mode powered by AI

https://ai-org.net/
1•mannders•40m ago•0 comments

What Is an Array?

https://www.jsoftware.com/papers/array.htm
1•tosh•42m ago•0 comments

New charter gives River Wye the right to be free from pollution

https://www.bbc.co.uk/news/articles/czx21820rn4o
3•susam•52m ago•0 comments

Yocto vs. Debian for building embedded Linux systems

https://sigma-star.at/blog/2026/05/you-probably-dont-need-yocto-and-thats-fine/
2•fanf2•57m ago•0 comments

Building a game engine for 20 years [video]

https://www.youtube.com/watch?v=4d-CKaBpLC4
1•AshleysBrain•59m ago•0 comments

Zig: Build System Reworked

https://ziglang.org/devlog/2026/#2026-05-26
4•tosh•1h ago•1 comments

Thunderbolt-Ibverbs: InfiniBand for Everyone

https://blog.hellas.ai/blog/thunderbolt-ibverbs/
2•grw_•1h ago•0 comments

Rsync 3.4.3 has hundreds of Claude commits

https://mastodon.gamedev.place/@JeremiahFieldhaven/116654345332213390
53•fooker•1h ago•37 comments

Apple working to cram Gemini model into iPhone to power new Siri

https://arstechnica.com/ai/2026/05/apple-reportedly-trying-to-distill-googles-multi-trillion-para...
3•TMWNN•1h ago•1 comments

How we run Gemini at scale across billions of posts

https://www.modash.io/engineering/how-we-run-gemini-at-scale-across-billions-of-posts
1•igarnedo•1h ago•0 comments

How many emails should be in the waitlist before launching an application?

1•dash_ai•1h ago•1 comments

Microsoft wants you to share your health symptoms with its new Copilot tool

https://www.xda-developers.com/microsoft-wants-you-to-share-your-symptoms-with-its-new-copilot-he...
2•01-_-•1h ago•0 comments

ICE to keep an eye on your eyes under $25M biometric scanner deal

https://www.theregister.com/public-sector/2026/05/29/ice-awards-bi2-25m-contract-for-1570-biometr...
3•01-_-•1h ago•0 comments

Putin's $26B Quest for Longevity

https://www.wsj.com/world/russia/putin-longevity-antiaging-92dee6e8
4•kubami•1h ago•1 comments

Best OLM to PST Converter Tool to Convert Mac OLM to PST

https://apps.microsoft.com/detail/9n7jk7z3546j?hl=en-US&gl=US
1•tieanderson•1h ago•0 comments