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.

ASML, Zeiss say next-generation chipmaking technology may be ready in 10 years

https://www.reuters.com/business/asml-zeiss-say-next-generation-chipmaking-technology-may-be-read...
1•mfiguiere•37s ago•0 comments

LLMs Are Turing-Complete

https://yager.io/neural/turing/turing.html
1•vismit2000•41s ago•0 comments

How long will humans be needed for translation?

https://www.bbc.com/news/articles/c1wxdjx27ypo
1•theanonymousone•1m ago•0 comments

Anthropic conjures threat that doesn't exist yet to stoke fears of AI apocalypse

https://www.theregister.com/ai-and-ml/2026/10/13/anthropic-conjures-another-threat-that-doesnt-ex...
1•beardyw•4m ago•0 comments

Disney strikes $20M deal for Character.ai's assets

https://www.latimes.com/business/story/2026-10-13/disney-strikes-20-million-deal-for-character-ai...
1•jaredwiener•4m ago•0 comments

Show HN: Chrome extension that flags propaganda techniques locally

https://propalens.com/
1•guidons•5m ago•0 comments

Floco: Using Nix to put NPM and Yarn in a coffin

https://github.com/alex-ameen/floco
1•harporoeder•7m ago•0 comments

Show HN: Caesarcipher.org

https://caesarcipher.org/
2•gymitat•10m ago•0 comments

Israeli producer had access to data harvested by Poland using Pegasus spyware

https://notesfrompoland.com/2026/10/12/israeli-producer-had-access-to-data-harvested-by-poland-us...
1•botanical•11m ago•0 comments

LeanLLM: An LLM SDK for applications written in Lean 4

https://github.com/theoriclabs/leanllm
1•hargup•11m ago•0 comments

Blasting the Air in Front of Hypersonic Vehicles with Lasers Could Unlock (2020)

https://www.twz.com/33859/blasting-the-air-in-front-of-hypersonic-vehicles-with-lasers-could-unlo...
1•petermcneeley•11m ago•0 comments

OpenAI employee arrested after recording device found in office

https://www.theguardian.com/technology/2026/oct/13/openai-employee-arrested-hidden-recording-device
1•beardyw•12m ago•0 comments

The deletion of 130M names. Why Indian voters are on the streets

https://www.theguardian.com/world/2026/oct/14/india-protests-election-commission-gyanesh-kumar
1•geox•13m ago•0 comments

Houthis expose limits of Saudi Arabia's arsenal

https://www.ft.com/content/afa0a322-ad2a-4d49-aa0e-81f15a01c3a7
1•JumpCrisscross•13m ago•0 comments

Getting Canceled – Andrew Kelley [video]

https://www.youtube.com/watch?v=5zIOfBLQ3U4
2•damien•13m ago•0 comments

GitDrive – private GitHub repos as an encrypted, iCloud-style Finder drive

https://github.com/deeeeone/gitdrive
1•deeeone•15m ago•0 comments

U.S. World War II veterans are fading from living memory

https://www.randalolson.com/2026/06/01/wwii-veterans-fading/
2•someperson•25m ago•0 comments

Neurochat Running on Community GPUs

https://chat.neurogrid.cc/#endpoint=https://occurrence-advantages-venues-appearance.trycloudflare...
2•cheyodev•29m ago•0 comments

Visiting Taiwan with Jensen Huang – Lex Fridman

https://www.youtube.com/watch?v=FGCP2F_7rQk
2•vismit2000•29m ago•0 comments

Show HN: Geometry Check, a Fusion 360 add-in that finds slightly-wrong geometry

https://github.com/andyd/geometry-check
2•andydee•31m ago•0 comments

Show HN: A personal website built around phone movement and spatial UI

https://marcolavielle.com/
1•marcoalfonso•33m ago•0 comments

Experts urge parents to prepare kids for possible livestreamed execution

https://apnews.com/article/execution-live-stream-livestream-children-trauma-elections-ab5723a0fc0...
5•benwerd•33m ago•0 comments

Visual Studio Copilot and SSMS Remote Code Execution (CVE-2026-103572)

https://embracethered.com/blog/posts/2026/visual-studio-copilot-remote-code-execution/
2•wondersky•35m ago•0 comments

Show HN: SuperLocalMemory" AI brain that never bluffs: Laya, Jev, Google Gemma

https://github.com/qualixar/superlocalmemory
3•vpbhardwaj•36m ago•0 comments

Poisoned Google Search Results

https://nozzle.io/research/poisoned-google-serps/
2•nreece•41m ago•0 comments

F/OSS Comics #12: BSD Unix, Part 2 – The Birth of the Vi Editor

https://fosscomics.com/posts/12.%20BSD%20Unix%20Part%202%20-%20The%20Birth%20of%20the%20vi%20Editor/
1•joonehur•42m ago•0 comments

Musk Foundation

https://www.influencewatch.org/non-profit/musk-foundation/
1•andsoitis•42m ago•0 comments

I Tested AI Cloning and It's Worse Than You Think [video]

https://www.youtube.com/watch?v=KC31K-CUC5Y
2•estranhosidade•43m ago•1 comments

AI godfather Geoffrey Hinton: 'We're creating alien beings'

https://www.theguardian.com/us-news/2026/oct/13/geoffrey-hinton-trump-ai-tech
3•thm•45m ago•0 comments

The 8-mile hole in a Hawaii national park that no one can explain

https://www.sfgate.com/national-parks/article/hawaii-volcanoes-park-great-crack-22358849.php
2•elsewhen•49m ago•0 comments