frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•6mo ago

Comments

llm-exe•6mo 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•6mo 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.

Spotify's Journey with Our Background Coding Agent (Part 1)

https://engineering.atspotify.com/2025/11/spotifys-background-coding-agent-part-1
1•reqo•3m ago•0 comments

List of modern macOS Quick Look extensions

https://github.com/Oil3/List-of-modern-Quick-Look-extensions
1•3oil3•5m ago•0 comments

Data centre in the shed reduces heat bills

https://www.bbc.co.uk/news/articles/c0rpy7envr5o
1•dabinat•10m ago•0 comments

Smart Money Crypto Wallet Signals

https://www.thalescapital.de
1•alexanderstahl2•14m ago•1 comments

Show HN: md0 - Simple Markdown Subset

https://md0.fyi
2•remywang•25m ago•1 comments

DARPA Lift Challenge [video]

https://www.youtube.com/watch?v=TMHjTMabWiI
1•viewtransform•27m ago•0 comments

The Era of Agentic Organization: Learning to Organize with Language Models

https://arxiv.org/abs/2510.26658
1•nrsapt•41m ago•0 comments

Facebook Text Log Between Mark Zuckerberg and Kevin Systrom(Instagram Cofounder)

https://www.dropbox.com/scl/fo/0e4qbvj7w8cwxdlpo010c/AHCMfNHmj03nPnJ-VKDYRvA?dl=0&e=1&noscript=1&...
2•Fiveplus•43m ago•0 comments

A simple tool to calculate the total length of any YouTube playlist

https://www.ytplaylistlength.info/
1•xiaomohaha•54m ago•0 comments

$1900 Bug Bounty to Fix the Lenovo Legion Pro 7 16IAX10H's Speakers on Linux

https://github.com/nadimkobeissi/16iax10h-linux-sound-saga
3•pabs3•1h ago•0 comments

AI-Driven Partner in Cybersecurity, Ethical Hacking, and VAPT

https://zehrasec.com/
1•salkahfi•1h ago•0 comments

I know you don't want them to want AI, but

https://www.anildash.com//2025/11/14/wanting-not-to-want-ai/
2•Fiveplus•1h ago•0 comments

What's in a Passenger Name Record (PNR)?

https://hasbrouck.org/articles/PNR.html
1•rzk•1h ago•0 comments

EU Digital Markets Act litigation against Apple: a quick recap

https://fsfe.org/news/2025/news-20251015-01.en.html
2•pabs3•1h ago•0 comments

Never Say "Let's Stay in Touch"

https://psychotechnology.substack.com/p/never-say-lets-stay-in-touch-1530
2•eatitraw•1h ago•0 comments

Low Latency Optimization: Understanding Huge Pages (Part 1)

https://www.hudsonrivertrading.com/hrtbeat/low-latency-optimization-part-1/
2•pykello•1h ago•0 comments

$10k RTX Pro reportedly snaps under its own weight during transit

https://www.tomshardware.com/pc-components/gpus/usd10-000-rtx-pro-6000-blackwell-workstation-gpu-...
3•praptak•1h ago•0 comments

'Trash Pandas' Are Physically Evolving into Pets; SF'S Raccoons Could Be NEXT

https://hoodline.com/2025/11/trash-pandas-are-physically-evolving-into-pets-sf-s-raccoons-could-b...
2•aranchelk•1h ago•1 comments

Earth Has Tilted 31.5 Inches Since 1993 – and It's Because of Us

https://techoreon.com/earth-has-tilted-31-5-inches-since-1993-study-finds/
3•ashishgupta2209•1h ago•1 comments

Show HN: Supogen – A customer support agent built for technical teams

https://app.supogen.com/
2•hacker1234444•1h ago•0 comments

Be Simple

https://corrode.dev/blog/simple/
2•vinhnx•1h ago•0 comments

Nvim-orgmode/orgmode: Orgmode clone written in Lua for Neovim

https://github.com/nvim-orgmode/orgmode
2•edward•1h ago•0 comments

Scaling and Normalizing Arrays – A Practical Guide for Data Preprocessing

https://ferdo.us/p/scaling-normalizing-array/
2•ferdous•1h ago•1 comments

How to run exceptional 1:1 for Engineers

https://newsletter.techworld-with-milan.com/p/how-to-run-exceptional-11-for-engineers
2•taubek•1h ago•0 comments

Ubiquiti Flex Mini 2.5G Review Ubiquiti Does a Cheap 5-Port 2.5GbE Switch

https://www.servethehome.com/ubiquiti-flex-mini-2-5g-review-ubiquiti-does-a-cheap-5-port-2-5gbe-s...
10•ksec•1h ago•0 comments

Bypassing the Branch Predictor

https://nicula.xyz/2025/03/10/bypassing-the-branch-predictor.html
2•signa11•1h ago•0 comments

AI-Assisted Reverse Engineering with Ghidra

https://github.com/biniamf/ai-reverse-engineering
2•mars_wonder•1h ago•1 comments

Show HN: Helping Aussies compare their body corporate fees

https://bodycorporatefees.com/
1•justinos•1h ago•0 comments

Denmark's drive to conscript teenage girls: "We're pretty scared"

https://www.thetimes.com/world/europe/article/denmark-conscription-russia-teenage-girls-ktrl57xn2
5•TMWNN•1h ago•0 comments

How is it that Grok 4 is the ONLY model that can run this kind of task

https://grok.com/share/c2hhcmQtMg_8b2b4384-d983-4125-ac52-420a4e49887c
1•01-_-•2h ago•0 comments