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.

Loop Harness Is Here

https://github.com/lSAAGl/loop-harness
1•LordIsBack•2m ago•0 comments

My first ever game – a Godot arcade game with zero asset files

https://forcesensitivesaiyan.itch.io/reactor-panic
1•sonofseyon•5m ago•0 comments

Mixture-of-Experts (Moe), Explained: Why "Active Parameters" Decide What Runs

https://vettedconsumer.com/mixture-of-experts-moe-explained-why-active-parameters-decide-what-run...
2•ermantrout•6m ago•0 comments

Lessons from brain-wide association studies

https://www.thetransmitter.org/fmri/breaking-down-the-winners-curse-lessons-from-brain-wide-assoc...
1•joveian•7m ago•0 comments

SOTA Models Should Learn to KISS (Claude Fable 5 Experiment)

https://blog.kilo.ai/p/sota-models-should-learn-to-kiss
1•justiceforsaas•8m ago•0 comments

Show HN: Free API for social post metrics – URL in, views/likes/comments out

https://pulse.walls.sh/
1•patwalls•8m ago•0 comments

Why Giving Money to Africa Makes it Poor [video][15 mins]

https://www.youtube.com/watch?v=rXuPTQdVv7U
1•Bender•10m ago•0 comments

Making FlashAttention-4 faster for inference

https://modal.com/blog/flash-attention-4-faster
1•matt_d•10m ago•0 comments

Building a Good Vertical Agent

https://twitter.com/brainsandtennis/status/2065190286519906657
1•aduermael•13m ago•0 comments

Show HN: Emergenv: Compose+compute env files from SSH-encrypted fragments in Git

https://github.com/anoyomoose/emergenv
1•anoyomoose•13m ago•0 comments

Elon Musk is the first trillionaire (on paper) thanks to the SpaceX IPO

https://www.washingtonpost.com/technology/2026/06/11/elon-musk-is-worlds-first-trillionaire-paper...
1•andsoitis•15m ago•1 comments

SpaceX IPO makes Elon Musk the world's first trillionaire

https://www.reuters.com/business/media-telecom/spacex-ipo-makes-elon-musk-worlds-first-trillionai...
1•nanfinitum•15m ago•0 comments

EasySweep

https://github.com/target/easysweep
1•salmon•15m ago•0 comments

What we learned shipping VS Code weekly [video]

https://www.youtube.com/watch?v=hH4RiA7pk5Q
1•azhenley•15m ago•0 comments

SpaceX Officially Raises $75B in Record-Breaking IPO

https://www.wsj.com/livecoverage/stock-market-today-dow-sp-500-nasdaq-06-11-2026/card/spacex-offi...
2•andsoitis•15m ago•0 comments

Failure numbers every programmer should know

https://thundergolfer.com/blog/
1•thundergolfer•16m ago•0 comments

Yes to California's Bill to Ban Surveillance Pricing

https://www.eff.org/deeplinks/2026/06/californias-bill-ban-surveillance-pricing
1•hn_acker•19m ago•0 comments

Elon Musk's SpaceX raises $75B in biggest IPO

https://www.ft.com/content/1890e552-aa7e-4d7f-98f1-db4f165e8827
1•JumpCrisscross•19m ago•0 comments

Envelope Collective

https://envelopecollective.com/
1•zdgeier•22m ago•0 comments

Against All Odds: BMW USA Sees a 'Bright Future' for Manuals

https://www.bmwblog.com/2026/06/11/bmw-still-sees-bright-future-manuals-us/
1•Anumbia•23m ago•0 comments

EU right of withdrawal compliance for merchants selling to EU customers

https://help.shopify.com/en/manual/compliance/legal/eu-right-of-withdrawal
1•nnx•23m ago•0 comments

Peter Zeihan lecture on broad risks to DRAM/ASIC supply from global events

https://www.youtube.com/watch?v=-XJ9dWuUuQI
1•OgsyedIE•24m ago•0 comments

Databricks Hands Delta Sharing to the Linux Foundation and Levels It Up

https://techstrong.ai/articles/databricks-hands-delta-sharing-to-the-linux-foundation-and-levels-...
1•CrankyBear•26m ago•0 comments

Man survives five days on deserted island eating two lemons and charcoal

https://www.independent.co.uk/news/world/americas/brazilian-gardener-deserted-island-rescue-b2146...
1•austinallegro•27m ago•0 comments

The Era of Token Scarcity

https://taylandurmus.substack.com/p/the-era-of-token-scarcity
1•TayD•28m ago•0 comments

Show HN: Markdown to PDF generation without LaTeX

https://github.com/leonardosalasd/doc-engine-cli
1•leonardosalasd•29m ago•0 comments

HN: Claudectl – A workspace manager for Claude Code

https://github.com/babarmuhammad/claudectl
1•babarmuhammad1•29m ago•0 comments

Technology affects your memory and changes your brain

https://www.popsci.com/health/how-documenting-everything-changes-your-brain-cognitive-offloading/
1•gmays•30m ago•0 comments

Fund the tools that keep the internet free. Every donation is matched

https://internetfreedom.torproject.org/
1•Cider9986•30m ago•0 comments

Arch Linux AUR Malware Campaign Hits Multiple User-Contributed Packages

https://linuxiac.com/arch-linux-aur-malware-campaign-hits-multiple-user-contributed-packages/
2•shaicoleman•30m ago•0 comments