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.

Reddit begins testing a new audio and video experience, similar to TikTok videos

https://techcrunch.com/2026/08/17/reddit-begins-testing-a-new-audio-and-video-experience-similar-...
1•HelloUsername•58s ago•0 comments

Measuring Obedience to Authority Across LLMs with the Milgram Paradigm

https://arxiv.org/abs/2608.16177
1•sbulaev•5m ago•0 comments

OpenAI disbanded the team that assessed catastrophic model risks

https://thenextweb.com/news/openai-preparedness-team-disbanded-ipo-streamlining
1•nyku•5m ago•0 comments

Four Levels of In-Place Initialization

https://blog.yoshuawuyts.com/four-levels-of-in-place-initialization/
1•birdculture•8m ago•0 comments

Europe's heatwave boosted solar by up to 17% on hot days

https://www.euronews.com/2026/08/14/the-real-challenge-starts-after-sundown-europes-heatwave-boos...
1•benkan•8m ago•0 comments

Jellyfish force shutdown of three reactors at French nuclear plant

https://www.lemonde.fr/en/france/article/2026/08/11/jellyfish-force-shutdown-of-three-reactors-at...
1•benkan•8m ago•0 comments

qwen3.8-27B likes bash

https://twitter.com/hxiao/status/2089483485547544959
1•tosh•8m ago•0 comments

Meta faces a $1.4T reckoning in latest trial over social media addiction

https://www.engadget.com/2237547/meta-faces-a-1-4-trillion-reckoning-in-latest-trial-over-social-...
1•benkan•8m ago•0 comments

The End-State Fallacy: Where Is AI Security Headed?

https://endstatefallacy.com/
1•mp3il•10m ago•0 comments

Show HN: Amz-CLI – A command line for Amazon

https://github.com/tamnd/amz-cli
1•tamnd•11m ago•0 comments

Creator of TypeScript: 10x Faster TypeScript, Why AI Won't Replace SWEs [video]

https://www.youtube.com/watch?v=cywK3XYYJ2o
1•tosh•17m ago•0 comments

Linux 7.3 improves performance when running out of vRAM

https://pixelcluster.dev/VRAM-Overcommit/
1•flaburgan•20m ago•0 comments

YouTube: A view counts from the first frame

https://www.heise.de/en/news/YouTube-A-view-counts-from-the-first-frame-11416784.html
1•Topfi•23m ago•0 comments

AI is like farming. (and the purpose behind what I'm building)

2•Ozzie-D•24m ago•0 comments

Show HN: Lilo – a lightweight Markdown notes app built with Rust and egui

https://github.com/HellterEnjoy/Lilo
1•HellterEnjoy•24m ago•0 comments

LLMs Aren't Writing

https://sixcolors.com/post/2026/08/llms-arent-writing/
1•cesarrg•28m ago•0 comments

Linux follows Windows and makes a CPU feature requirement mandatory

https://www.neowin.net/news/linux-finally-follows-windows-and-makes-a-cpu-feature-requirement-man...
1•XzetaU8•30m ago•1 comments

When Search Eats the Web: A Model of Corpus Erosion Under Generative Extraction

https://arxiv.org/abs/2608.15896
1•p4bl0•31m ago•0 comments

Climbing the Wrong Hill (2009)

https://cdixon.org/2009/09/19/climbing-the-wrong-hill/
2•tosh•33m ago•0 comments

Harvesting coldness and solar energy for cooling,electricity, and heating

https://www.cell.com/cell-reports-physical-science/fulltext/S2666-3864(26)00398-X
1•wolfi1•33m ago•0 comments

git git git git git

https://caiustheory.com/git-git-git-git-git/
29•alexmolas•37m ago•7 comments

Debating the role of large language models in the kernel community

https://lwn.net/Articles/1083275/
1•pykello•38m ago•0 comments

Rethinking Database Programming

https://acadia.engineering/blog/rethinking-database-programming
4•honungsburk•44m ago•1 comments

Is Cloudflare reporting abuse system flawed?

2•tuxone•46m ago•0 comments

PurgeHound – Use the power of local LLM to declutter a Maildir folder

https://git.cerberusgames.ca/Starstreak/PurgeHound/
1•QBasicBitch•46m ago•0 comments

Show HN: ClassicalBot – Classical Concerts Database

https://classicalbot.com/
1•druskacik•50m ago•0 comments

Finger: Social network that never died

https://en.andros.dev/blog/54572bc7/finger-the-1971-social-network-that-never-died/
2•andros•51m ago•0 comments

Show HN: Lteee gives you a little thing to spark joy every day

https://lteee.app/
2•niklasmerz•56m ago•0 comments

A harness for long-term memory that suppresses context window saturation

https://zenodo.org/records/21990589
1•NegativeAbsence•58m ago•0 comments

Chess in a box. [X,Y,Z]

https://www.chesss.xyz
2•niksda•59m ago•1 comments