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.

Congress Has Another Site-Blocking Bill, and This One Targets VPNs

https://www.eff.org/deeplinks/2026/10/congress-has-another-site-blocking-bill-and-one-targets-vpns
1•hn_acker•12s ago•0 comments

DeepSeek open sourced their Huawei Ascend programming stack

https://aistockwire.com/blog/deepseek-huawei-ascend-tilelang-open-source-nvidia-nvda-cuda-septemb...
1•ashish01•57s ago•0 comments

GVisor is being donated to CNCF

https://gvisor.dev/blog/2026/10/02/gvisor-cncf/
1•eperot•1m ago•0 comments

An AI radio DJ has shot to stardom in L.A. Human hosts aren't happy about it

https://www.latimes.com/business/story/2026-10-02/ai-radio-star-dj-chatbots-airwaves-humans-pushi...
2•jaredwiener•7m ago•0 comments

Lost Dinosaur Cities on Mars

https://mceglowski.substack.com/p/lost-dinosaur-cities-on-mars
2•pavel_lishin•8m ago•1 comments

Interview with Chicken Scheme Maintainer Sjamaan/Peter Bex

https://alexalejandre.com/interviews/peter-bex/
1•veqq•10m ago•0 comments

I'd Know: Turkish short-video knowledge app built on Cloudflare Workers

https://idknow.mturkoglu3400.workers.dev/
1•idknow_maker•11m ago•0 comments

Tightening Full Disk Access on macOS, in Response to AI Apps Running Amok

https://daringfireball.net/2026/10/apple_full_disk_access
1•CharlesW•11m ago•0 comments

Users don't hate change. They hate you

https://cwodtke.medium.com/users-dont-hate-change-they-hate-you-461772fbcac7
1•OroPla•11m ago•0 comments

The Mother of All Demos

https://en.wikipedia.org/wiki/The_Mother_of_All_Demos
1•chistev•13m ago•0 comments

EFF – Welcome to Opt Out October. Let's Take Control of Our Data and Our Devices

https://www.eff.org/pages/welcome-opt-out-october-lets-take-control-our-data-and-our-devices
4•rorylawless•15m ago•0 comments

When the Models Get Better, Your TAM Should Go Up

https://twitter.com/ponnappa/status/2086092033647927533
1•amoorthy•15m ago•0 comments

Can You SEO Your Way into an AI Agent's Recommendation?

https://www.joe-shirey.com/2026/10/02/seo-for-ai-agents.html
1•richards•18m ago•0 comments

Merlean AI

https://merlean.ai/
1•zmaren•19m ago•0 comments

Huddo: Instant Shared AI Room

https://huddo.ai
1•hellohanchen•20m ago•1 comments

Real-Time caustics in the browser

https://sachaa.github.io/caustic-light
1•sachaa•20m ago•0 comments

OpenAI alerts 100 orgs that its 'misaligned models' attempted to break in

https://www.theregister.com/security/2026/10/02/openai-alerts-100-orgs-that-its-misaligned-models...
1•sbulaev•20m ago•0 comments

GPT-6 Astra is the best at Diplomacy, Claudes are 2nd but lie/betray 2x more

https://twitter.com/sensho/status/2104356815417025008
2•sensho•20m ago•1 comments

Reducing the cognitive load of AI changes

https://amoffat.github.io/blog/cognitive-load.html
1•birdculture•21m ago•0 comments

The Good, the Bad, and the Ugly: The Unix Legacy by Rob Pike [pdf]

http://herpolhode.com/rob/ugly.pdf
1•naltun•21m ago•0 comments

Meta stumbled onto a winning AI strategy

https://www.computerworld.com/article/4228463/how-meta-stumbled-onto-a-winning-ai-strategy.html
1•mikelgan•22m ago•0 comments

Big Balls is running the ops for USA's new government network infrastructure

https://medium.com/@carmitage/big-balls-now-exposed-to-serious-criminal-charges-in-at-least-six-s...
3•sans_souse•26m ago•0 comments

Work Loudly

https://ben.balter.com/2026/07/14/work-loudly/
2•fagnerbrack•27m ago•1 comments

Rapidos

https://github.com/raphmwanza/RapidOS-open-source
1•raphmwanza•28m ago•0 comments

Database of Scientist Leaving America (USA)

https://www.scientistsleavingusa.com/
1•panicbutton•31m ago•0 comments

I Went Viral and Became an Undercover Pro

https://imateapot.dev/i-went-viral-and-became-an-undercover-pro/
1•Goofy_Coyote•32m ago•0 comments

Microsoft Doubles Down on Rust

https://www.infoworld.com/article/4227839/microsoft-doubles-down-on-rust.html
2•ibobev•34m ago•0 comments

Keeping Futhark Off the GPU

https://futhark-lang.org/blog/2026-10-02-cpu_function.html
1•ibobev•34m ago•0 comments

Klassik Revives the KDE 3 Desktop on Modern Plasma 6

https://linuxiac.com/klassik-revives-the-kde-3-desktop-on-modern-plasma-6/
1•ibobev•34m ago•0 comments

Show HN: Pi Durable and Nostr

https://gitea.coracle.social/coracle/pi-nostr
1•jonstaab•35m ago•0 comments