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.

Agentic Large Language Models

https://arxiv.org/abs/2610.13455
1•Anon84•2m ago•0 comments

A Chrome extension that catches duplicate tabs

https://chromewebstore.google.com/detail/duplicate-tab-guard/ekcnfjaambmnbgjcgbdfdajmhifbcelm
2•arttaboi•3m ago•0 comments

The Rising Counterculture of Silicon Valley Smokers

https://www.businessinsider.com/smoking-cigarettes-silicon-valley-counterculture-2026-9
2•bohaska•3m ago•0 comments

How to be more ambitious: A tutorial for humans with models

https://felixrieseberg.com/how-to-be-more-ambitious-a-tutorial-for-humans-with-models/
2•meetpateltech•3m ago•0 comments

Failing to give Meta Muse a soul

https://github.com/bkawa-io/muse-souls
2•bkawa-bot•4m ago•1 comments

Did Ente Locker copy my code without attribution?

https://fairscan.org/blog/did-ente-locker-copy-my-code-without-attribution/
2•ibobev•4m ago•0 comments

The Agent Autonomy Trifecta, or How to Build Agents That Need Less Babysitting

https://prberg.com/posts/2026/agent-autonomy-trifecta/
2•PaulRBerg•4m ago•1 comments

Frugal Computing Revisited

https://limited.systems/articles/frugal-computing-revisited/
2•speckx•4m ago•0 comments

Show HN: Lowlight – Dim your MacBook keyboard backlight below the macOS minimum

https://github.com/Isaac-Harper/lowlight
2•isaacharper•5m ago•0 comments

Programmers maxing out a $12 VPS

https://www.youtube.com/watch?v=QGWKCaglSBI
2•dofi4ka•5m ago•0 comments

Flappy Letters – Wordle Meets Flappy Bird

https://flappyletters.com/
2•alex-slax•5m ago•0 comments

Brax Wink available for pre-order

https://braxtech.net/products/wink
2•monooso•5m ago•0 comments

Chinese cheap LLMs could trigger trillion-dollar AI infrastructure reset

https://www.theregister.com/paas-and-iaas/2026/10/13/cheap-chinese-and-open-source-llms-could-tri...
3•runtimewire•6m ago•0 comments

Why I'm going back to academia

https://www.science.org/content/article/why-i-m-going-back-academia
2•theanonymousone•7m ago•0 comments

Visual Category Theory Studio

https://github.com/DumpAnalysis/CategoryTheoryStudio
2•ibobev•7m ago•0 comments

Python vs. Go: A Practical Comparison for Developers

https://blog.jetbrains.com/go/2026/10/13/python-vs-go/
1•ibobev•8m ago•0 comments

Smash 64 Recomp Developer kicked for using AI (me)

https://www.timeextension.com/news/2026/10/super-smash-bros-for-n64-is-getting-a-non-ai-slop-reco...
1•superboopiedev•9m ago•1 comments

Agentic AI for network incident response

https://commandline.microsoft.com/ai-agent-copilot-autopilot-layered-model-production-network-inc...
1•lisajaloza•9m ago•0 comments

RAWmakase: Lightroom-Compatible Raw Editor

https://rawmakase.com/
1•neucoas•9m ago•0 comments

Sega Dreamcast at GopherCon Europe 2026? [video]

https://www.youtube.com/watch?v=zU2K1HjOblE
1•drpaneas•9m ago•0 comments

Utah's coal country pushes back against data centers

https://www.hcn.org/articles/utahs-coal-country-pushes-back-against-data-centers/
1•cdrnsf•9m ago•0 comments

Living Outside the Distribution

https://mili.dev/writing/outside-the-distribution/
1•jmilinovich•9m ago•0 comments

A New Era for Sandstorm

https://sandstorm.org/news/2026-10-13-a-new-era-for-sandstorm
1•ocdtrekkie•12m ago•0 comments

Yet another catalogue of fast matrix multiplication algorithms

https://fmm.univ-lille.fr
1•bmc7505•13m ago•0 comments

Stolen Renoir paintings found hidden, and damaged, behind cinder block wall

https://www.cbsnews.com/news/stolen-renoir-paintings-found-behind-wall-france/
2•ohjeez•13m ago•0 comments

Announcing Stride 4.4

https://www.stride3d.net/blog/announcing-stride-4-4/
1•pjmlp•13m ago•0 comments

They war-gamed dimming the Sun. It went worse than you think

https://www.wired.com/story/they-war-gamed-dimming-the-sun-it-went-even-worse-than-you-think/
1•PaulHoule•14m ago•0 comments

Cyberattack halts construction of tunnel between Denmark and Germany

https://ua.news/en/world/kiberataka-zupinila-budivnitstvo-tuneliu-mizh-daniieiu-ta-nimechchinoiu-...
2•paaloeye•15m ago•0 comments

Show HN: Get your license to do math in 5 minutes

https://MathLicense.pro/
1•nns2009•16m ago•2 comments

Show HN: Color Studio – OKLCH palette tool

1•lessio•16m ago•0 comments