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.

SingPost launches trial of digital stamps

https://www.channelnewsasia.com/singapore/singpost-digital-stamp-postage-trial-launch-6441321
1•mjballs•6m ago•0 comments

Bidding on competitor names when buyers ask agents

https://www.nibzard.com/brand-bids
1•nkko•7m ago•0 comments

A unique piece of Internet history: A RFC1149 packet on auction at Christie's

https://bsdly.blogspot.com/2026/10/a-unique-piece-of-internet-history.html
1•peter_hansteen•7m ago•0 comments

Show HN: Tide, simple self-hosted video meetings. URL is a demo anon deployment

https://demo.tide.convex.works/
1•robomonk•9m ago•1 comments

64k demo for the Pebble Time 2

https://teadrinker.net/blog/what-time-is-it.html
1•smig0•10m ago•0 comments

Embedding Gemma2 Use Cases

https://github.com/karimtn/embeddingGemma2-jeff
1•karimtn•11m ago•0 comments

Lily-Qwen3.8-Flash-Next

https://github.com/fabiogreter/lily-qwen3.8-flash-next
2•kerenskiy•12m ago•0 comments

AHM Statement on OpenAI's October 6 Release of Mathematical Documents

https://www.ahmath.org/statements
2•kkoncevicius•13m ago•0 comments

Automattic Wants .wordpress. It Doesn't Own WordPress

https://medium.com/@kelliepeterson/automattic-wants-wordpress-it-doesnt-own-wordpress-d9e6be3f3a45
1•docdeek•13m ago•0 comments

Scientists get a new clue to the origin of solar wind 'switchbacks'

https://www.theregister.com/science/2026/10/08/scientists-get-a-new-clue-to-the-origin-of-solar-w...
1•jjgreen•14m ago•0 comments

Show HN: Squidly – Track CEX, DEX and wallet balances in one place

https://www.squidly.finance/
1•r4id4•16m ago•0 comments

Does ClickHouse need its own storage format?

https://pivotlake.io/blog/does-clickhouse-need-its-own-storage-format/
1•dkgs•16m ago•0 comments

Sources: Apple Planning Two Sets of Product Launches in October

https://www.macrumors.com/2026/10/05/apple-two-sets-of-product-launches-october/
1•sp8•17m ago•0 comments

Mumsnet denies using AI for content after prompt appears on message board

https://www.theguardian.com/media/2026/oct/07/mumsnet-denies-using-ai-for-content-message-board-p...
2•sp8•18m ago•0 comments

Mistral's Le Chonk Arrives with a Trillion Parameters–and Something to Prove

https://digitalcxo.com/article/mistrals-le-chonk-arrives-with-a-trillion-parameters-and-something...
1•CrankyBear•19m ago•0 comments

The open-source 3D modeler for architecture and engineering

https://ingetrazo.com/en/
2•xyzal•20m ago•0 comments

Browser-in-browser attacks use fake Meta Muse Ad lure to steal credentials

https://www.theregister.com/research/2026/10/07/browser-in-browser-attacks-use-fake-meta-muse-ad-...
2•beardyw•20m ago•0 comments

The AI Price War Is Heating Up–and OpenAI Is Gaining Ground on Anthropic

https://www.wsj.com/tech/ai/the-ai-price-war-is-heating-upand-openai-is-gaining-ground-on-anthrop...
2•JumpCrisscross•20m ago•0 comments

Show HN: Forward Deployed Engineering Jobs

https://topfdejobs.com/
1•tonysurfly•22m ago•0 comments

Teenage Engineering Is Going to Stop Making Synths

https://www.highsnobiety.com/p/teenage-engineering-interview/
1•guidoschmidt•23m ago•0 comments

A lot of Danish data as Parquet files

https://datagrundlag.dk/
1•mhoegh•25m ago•1 comments

Can we talk about the world economy?

1•irishcoffee•25m ago•1 comments

Show HN: Pocket Commander – a two-pane file manager for Mac ↔ Android over ADB

https://codeberg.org/sailingthroughcode/PocketCommander
1•sailingcode•26m ago•1 comments

Allegedly a student using AI behind South Korean banks cyberattack

https://www.crowdstrike.com/en-us/blog/unknown-threat-actor-uses-artex-to-target-south-korean-fin...
1•Iolaum•27m ago•1 comments

Ask HN: Are we trading model capacity for compute?

1•olirex99•28m ago•0 comments

Show HN: LLMSchema – Dump your database schema as compact Markdown for AI agents

https://github.com/tordrt/LLMSchema
1•tordrt•29m ago•0 comments

Near-Total Liquid Heat Capture Keeps AI Racks Cool

https://spectrum.ieee.org/fanless-liquid-cooled-ai-servers-coolit
1•rbanffy•30m ago•0 comments

Azure Sphere is Retiring in 2031

https://techcommunity.microsoft.com/blog/iotblog/azure-sphere-is-retiring-in-2031---what-you-need...
2•pjmlp•31m ago•0 comments

Allclear Tool

https://github.com/m-peko/allclear
1•PeMaCN•32m ago•0 comments

Absolute Disaster Jeremy Clarkson Reveals Brutal Reality Facing British Farmers [video]

https://www.youtube.com/watch?v=gEBIo9ajVB8
1•flojo•32m ago•1 comments