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.

XGEN-JING: An Egocentric Interactive Experience Model

https://huggingface.co/XGENlabs/XGEN-JING
1•MehrdadKhnzd•2m ago•0 comments

Learning from the Soviet Collapse – Lessons from CCP Documentaries on the Fall

https://www.chinatalk.media/p/learning-from-the-soviet-collapse
1•yubblegum•8m ago•0 comments

Show HN: Deferred deep linking and referral attribution you self-host

https://github.com/Newtdev/blynk-deferlink
1•NewtDev•8m ago•0 comments

How to Keep a Secret – From Doodles to DES

https://0xkrt26.github.io/math_behind_security/2026/09/16/doodles-to-des.html
1•denismenace•8m ago•0 comments

They Built a Secular Apocalypse Belief System. Now They Want Religious Authority

https://www.aipanic.news/p/first-they-built-a-secular-apocalypse
1•dotcoma•9m ago•0 comments

Analyze trends, Measure sentiment, Predict what comes next

https://github.com/korries/HeronLoom
1•korries•10m ago•0 comments

What we are seeing with GPT Astra in Robotics

https://twitter.com/GeorgiaChal/status/2101335513558929868
1•sashank_1509•11m ago•0 comments

First case of upgrading RAM on an iPhone 18 Pro Max [video]

https://www.youtube.com/watch?v=B4FMIxOr3MI
1•martic•14m ago•0 comments

JustBot – a Grok-Bot-style AI assistant at ~1/10th the token cost

https://justbot.co
1•bernardohcr•14m ago•0 comments

The Weak Foundations of AI Doomsday

https://www.aipanic.news/p/the-weak-foundations-of-ai-doomsday
2•dotcoma•16m ago•0 comments

Show HN: OpenWand – A mission to remove chat interface from working with AI

https://github.com/SunnyLich/OpenWand
1•OpenWand•23m ago•0 comments

AI Actress interviewed by Piers Morgan [video]

https://www.youtube.com/watch?v=x4yyBWkYSHs
1•pier25•24m ago•0 comments

I Built AI Agents That Ask Companies to Delete Their Data. Most Never Answered

https://medium.com/@stem-education/i-built-ai-agents-that-ask-companies-to-delete-their-data-most...
2•complyyio•26m ago•0 comments

Confessions of an Unrepentant Slop Snob

https://charity.wtf/p/confessions-of-an-unrepentant-slop
1•zdw•28m ago•0 comments

Technitium DNS Server v15.5 Released

https://github.com/TechnitiumSoftware/DnsServer/blob/master/CHANGELOG.md
1•feldrim•29m ago•0 comments

I captured 72 hours of idle Android packets behind pfSense

https://www.praveentechworld.com/research/degoogle-telemetry-2026
4•youngmanyk•31m ago•1 comments

Measure internet censorship. Contribute to the largest open dataset

https://ooni.org/install
7•Bluestein•33m ago•0 comments

OpenAI and Anthropic oversold AI security breaches

https://nypost.com/2026/09/19/us-news/openai-anthropic-oversold-security-breaches-to-pressure-fed...
17•hei-lima•35m ago•8 comments

Collateral Damage of IP-Based Blocking During LaLiga Football Streaming

https://ooni.org/post/2026-laliga-collateral
2•Bluestein•35m ago•0 comments

Quick notes from teaching technical profiles how to talk in public

https://www.lesswrong.com/posts/nKsyMfNsAuTrxmjmi/quick-notes-from-teaching-technical-profiles-ho...
1•wslh•36m ago•0 comments

KdK Part 5: The Aitkenator

https://nealstephenson.substack.com/p/kdk-part-5-the-aitkenator
1•peteforde•39m ago•0 comments

Statement on Superintelligence (2025)

https://superintelligence-statement.org
3•etoulas•39m ago•0 comments

Founding Engineer, AI and Full-Stack

https://bettrlife.ai/founding-engineer
1•jillforBTRL•41m ago•1 comments

Notebook interpolates smoothly between projections of the globe

https://observablehq.com/@d3/projection-transitions
1•joebig•43m ago•0 comments

Show HN: MP3 to MIDI Lab – Convert MP3/WAV to MIDI in the Browser

https://mp3tomidilab.com/
1•liweipt•44m ago•0 comments

Elegant Shape of Eiffel Tower Solved Mathematically by CU-Boulder Prof (2005)

https://www.colorado.edu/today/2005/01/04/elegant-shape-eiffel-tower-solved-mathematically-cu-bou...
2•floweronthehill•45m ago•0 comments

Bytemail – One-time-purchase native email client for macOS (no subscription)

https://bytemailapp.com
1•karakhanyans•45m ago•0 comments

Programming languages hit a decade low on Hacker News

https://www.orangecrumbs.com/stories/programming-languages
3•oyster143•46m ago•0 comments

Curated list of hosting (VPS, GPU, infra, AI)

https://github.com/dalisoft/awesome-hosting
1•dalisoft•49m ago•0 comments

How I see software dev in AI era

https://dhilst.github.io/2026/09/19/sweng-as-opt-prob/
3•geckones•49m ago•0 comments