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.

Good Pricing Grows with the Value You Deliver

https://www.hauser.io/good-pricing-grows-with-the-value-you-deliver/
1•bkfh•22s ago•0 comments

NovaVest/VN-Noxa-v1-7B-Beta-Low

https://huggingface.co/NovaVest/VN-Noxa-v1-7b-Beta-Low
1•ilreb•2m ago•0 comments

Brazos: Liquid cooling system for air-cooled data centers

https://cloud.google.com/blog/topics/systems/brazos-liquid-cooling-system-for-air-cooled-data-cen...
2•ilreb•3m ago•0 comments

Show HN: Shivvr – Ephemeral semantic embedding and cognitive agent service

https://shivvr.nuts.services/
1•kordlessagain•3m ago•0 comments

SpaceX Set to Overtake Amazon in Value as It Soars for Third Day

https://www.bloomberg.com/news/articles/2026-06-16/spacex-spcx-stock-set-for-more-than-50-jump-in...
1•pera•3m ago•0 comments

Tell HN: Anthropic walks back on Agent SDK credit changes

1•lostmsu•3m ago•0 comments

Commodore announces Linux-based flip phone with 'no social media, no browser'

https://www.tomshardware.com/phones/commodore-announces-linux-based-flip-phone-with-no-social-med...
2•neilfrndes•4m ago•0 comments

CRA Compliance Kit – Open-Source Toolkit for the EU Cyber Resilience Act

https://cra-watch.starcaller-teq.workers.dev/dashboard
2•sparka•4m ago•0 comments

Canadian Government Plans to Shut Down Debate and Pass Bill C-22 This Week

https://www.michaelgeist.ca/2026/06/government-moves-to-shut-down-lawful-access-hearing-in-order-...
2•EmbarrassedHelp•5m ago•1 comments

DOJ claims xAI's unpermitted gas turbines are a matter of national security

https://techcrunch.com/2026/06/16/doj-claims-xais-unpermitted-gas-turbines-are-a-matter-of-nation...
3•landonxjames•5m ago•0 comments

SearchGate – An AI Content Blocker

https://chromewebstore.google.com/detail/searchgate/cholhbhkhcnekbbobehnepiifckhbmkd
1•sorethescore•5m ago•0 comments

FT Alphaville's AI Prediction World Cup

https://www.ft.com/content/ce992051-05f4-40cd-a515-1ccd615f9e40
1•aanet•6m ago•1 comments

Email should have been a meeting

https://justinjackson.ca/communication
1•duvander•7m ago•1 comments

Zitchain: Bitcoin has structural flaws. I designed an alternative

https://zitchain.com
1•tiagofsilva•7m ago•0 comments

SpaceX tops Amazon and Microsoft in market value

https://www.nbcnews.com/business/markets/spacex-tops-amazon-microsoft-value-rcna350254
2•geox•8m ago•0 comments

The Era of AI Malaise

https://www.technologyreview.com/2026/04/21/1135921/ai-malaise-artificial-intelligence-public-sen...
1•karakoram•8m ago•1 comments

Titan's Hidden Blanket

https://www.universetoday.com/articles/titans-hidden-blanket
1•bookofjoe•9m ago•1 comments

Show HN: Claireon – MCP Server for Unreal Editor

https://github.com/believer-oss/claireon
2•karl_gluck•10m ago•0 comments

Why AI Will Accelerate Health Care Inflation

https://www.healthaffairs.org/content/forefront/why-ai-accelerate-health-care-inflation
3•brandonb•11m ago•0 comments

Connecting to a Lot of People on LinkedIn via Browser DevTools

https://justinribeiro.com/chronicle/2026/06/11/connecting-to-a-lot-of-people-on-linkedin-via-brow...
1•speckx•11m ago•0 comments

'David Bowie was a crazy workaholic': Labyrinth at 40 – an oral history

https://www.theguardian.com/film/2026/jun/16/david-bowie-workaholic-labyrinth-at-40-oral-history
1•tosh•11m ago•0 comments

Anthropogenic Geomaterials – What Is This Rock?

https://aeon.co/essays/the-strange-rocks-that-wouldnt-exist-without-us
2•karakoram•12m ago•0 comments

Show HN: INT21 – Self-Improving PTX Kernel Factory

https://int21.ai/insights/introducing-int21-and-ptx-kernel-factory/
1•antinucleon•12m ago•0 comments

Copper drug restores memory and clears toxic Alzheimer's proteins

https://pubs.acs.org/doi/10.1021/acschemneuro.6c00252
1•Noaidi•13m ago•1 comments

Chainguard's new Athena coalition uses AI to fix open-source flaws

https://www.zdnet.com/article/chainguard-athena-coalition-fixes-open-source-flaws-before-ai-attac...
2•amouat•13m ago•0 comments

Publishers to bill AI firms for unwanted scraping or take them to court

https://pressgazette.co.uk/news/publishers-to-bill-ai-firms-for-unwanted-scraping-and-take-them-t...
2•thm•14m ago•0 comments

Google Earth Flight Simulator Is Now Available

https://twitter.com/googleearth/status/2065449043925381293
2•kordlessagain•14m ago•0 comments

Show HN: NIS2 Readiness Check

https://dmarcguard.io/tools/nis2-readiness/
1•meysamazad•15m ago•0 comments

Trump officials won't allow G7 countries to access Anthropic's advanced models

https://nypost.com/2026/06/16/business/trump-admin-open-to-talks-with-anthropic-over-foreigner-ban/
3•thm•16m ago•0 comments

Building a Soviet Nail Factory: how KPIs killed efficiency

https://vincent.bernat.ch/en/blog/2026-kpi-goodhart
1•vbernat•16m ago•0 comments