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.

New metastable ice phases via supercooled water (July 2025)

https://arxiv.org/abs/2507.14415
1•dustfinger•1m ago•0 comments

Vulkan Hardware Database Quick Filters

https://www.saschawillems.de/blog/2026/09/11/vulkan-hardware-database-quick-filters/
1•ibobev•1m ago•0 comments

The Murky History of Soviet-Born Tetris

https://thereader.mitpress.mit.edu/the-bizarre-murky-history-of-soviet-born-tetris/
1•anarbadalov•1m ago•0 comments

Tetrahedral cages significantly reduce BVH memory usage

https://gpuopen.com/learn/how-tetrahedral-cages-significantly-reduce-bvh-memory-usage/
1•ibobev•1m ago•0 comments

Memory Management, Explained Simply (Part 1) [video]

https://www.youtube.com/watch?v=3rez2rDYHHA
1•ibobev•2m ago•0 comments

Show HN: Maxxwell – An Agent That Manages Your Other Coding Sessions

https://maxxwell.dev/
1•mys1•2m ago•0 comments

Cybernation – AI album by AI's about the coming of AI – concept album

https://cybernation.world/
1•omarali-me•2m ago•0 comments

Shadow roots, explained with live examples

https://simonwillison.net/2026/Sep/23/shadow-roots/
1•torutofu•2m ago•0 comments

Free Job Application Tracker Spreadsheet: Keep Every Next Step in View

https://www.foxapply.com/blog/en/job-application-tracker-spreadsheet
1•josanjohnata•3m ago•0 comments

Identity is not authority: the missing check before AI agents act

https://delegus.ai/blog/identity-is-not-authority
1•haqinam01•4m ago•0 comments

I Built an iPhone Game with AI Without Writing a Single Line of Code

https://medium.com/meetcyber/how-i-built-an-iphone-game-with-ai-without-writing-a-single-line-of-...
1•fmarano•4m ago•1 comments

We packed every question into one encoder pass and got 14x the throughput

https://tacet.codepawl.com/
1•codepawl•5m ago•0 comments

Fine to use computer-generated survey responses–if you don't care about data

https://statmodeling.stat.columbia.edu/2026/09/24/junk-polls-and-junk-survey-research-they-go-tog...
1•Tomte•6m ago•0 comments

Combining Machine Learning and Homomorphic Encryption

https://machinelearning.apple.com/research/homomorphic-encryption
1•coconutrandom•7m ago•0 comments

From Any to Certainty: A Typechecking Journey

https://napari.org/island-dispatch/blog/from-any-to-certainty.html
1•ocamoss•7m ago•0 comments

Why Computing with Time Gives Neuromorphic AI an Edge

https://www.eetimes.com/podcasts/why-computing-with-time-gives-neuromorphic-ai-an-edge/
1•stmw•7m ago•0 comments

From Thin Air to Bootable Images: The Tine Build System

https://amutable.com/blog/tine-build-system
1•Levitating•8m ago•0 comments

Review: Apple's hyper-pricey M5 Ultra Mac Studio made me into a vibe coder

https://arstechnica.com/gadgets/2026/09/review-apples-hyper-pricey-m5-ultra-mac-studio-made-me-in...
1•musha68k•10m ago•0 comments

Government considers £11 monthly UK broadband fee to fund BBC TV UPDATE

https://www.ispreview.co.uk/index.php/2026/09/government-considers-11-monthly-uk-broadband-fee-to...
1•speckx•10m ago•0 comments

Booting Google's Fuchsia OS on an Apple M3 MacBook

https://bsky.app/profile/integralpilot.bsky.social/post/3mwbdl3a7322a
1•integralpilot•12m ago•0 comments

iLands: The New Dystopian AI Farm That Is Filling Everyone's Inboxes with Spam

https://www.iflscience.com/ilands-the-new-dystopian-ai-farm-that-is-filling-everyones-inboxes-wit...
2•thinkingemote•12m ago•0 comments

Analog in-memory computing attention mechanism for fast and energy-efficient LLM

https://www.nature.com/articles/s43588-025-00854-1
2•bilsbie•13m ago•0 comments

Robots grow and package lettuce year-round in Norway's automated farm

https://phys.org/news/2026-09-robots-package-lettuce-year-norway.html
1•surprisetalk•13m ago•1 comments

ShipWall, ten launches a day, ranked until midnight, then frozen

https://shipwall.thecompound.tech
1•kyisaiah47•13m ago•0 comments

Bread AI – decentralized AI inference using spare GPUs

https://breadai.io
1•rudda•16m ago•0 comments

"Apple has developed an unexpected workaround."

https://unsung.aresluna.org/apple-has-developed-an-unexpected-workaround/
1•speckx•16m ago•0 comments

Jev Is Not a Language Model, but It Breaks Like One

https://blog.checkpoint.com/ai-security/jev-is-not-a-language-model-but-it-breaks-like-one-prompt...
2•patresh•16m ago•0 comments

The same bug fix costs 0.4¢ or $2, depending on which coding agent you ask

https://www.ariwilson.com/writing/bakeoff-results/
2•ariwilson•17m ago•0 comments

Microsoft's Terrifying New Patent (ACR Adjacent)

https://www.youtube.com/watch?v=Smwo493IAfw
2•garrettjoecox•18m ago•0 comments

Underlimit – Beat 2MB PDF upload caps with 1984 fax compression

https://mirceamitu.github.io/underlimit/
1•mirceamitu•19m ago•0 comments