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.

Uplink – Software for Agents

https://uplink.spot/
1•ThomPete•52s ago•0 comments

Into the Depths of C: Elaborating the De Facto Standards

https://dl.acm.org/doi/10.1145/2980983.2908081
1•rramadass•58s ago•0 comments

Super Smash Brothers Melee has been 100% decompilated with the help of LLMs

https://github.com/doldecomp/melee
1•oveja•1m ago•0 comments

OpenSSH History

https://www.openssh.org/history.html
1•ankitg12•1m ago•0 comments

Cold Blob

https://en.wikipedia.org/wiki/Cold_blob
1•p2detar•3m ago•0 comments

Forges Shouldn't Have Opinions About Your Code

https://1matin.com/forges-shouldnt-have-opinions-about-your-code/
1•1matin•3m ago•0 comments

Switching Password Managers in 2026

https://rmondello.com/2026/09/07/switching-password-managers-2026/
1•ricobecks•4m ago•0 comments

Show HN: Oweka, a TUI for cleaning up node_modules, target, and other artifacts

https://github.com/ByteAtATime/oweka
2•ByteAtATime•5m ago•0 comments

Measurement Before Control: A Broadly Applicable Principle for Better AI Policy

https://medium.com/@delschlangen_22694/measurement-before-control-a-broad-and-applicable-principl...
1•delschlangen•5m ago•0 comments

Renovating a vibe-coded app: the code was readable, the reasoning was gone

https://www.habchy.dev/writing/renovating-a-vibe-coded-app
1•yveshabchy•5m ago•0 comments

Ryze AI Hack – build apps with only on-device ≤500M models

https://open-ryze.web.app/
1•sxlvlblade•6m ago•0 comments

Computer Science Achievement and Writing Skills Predict Vibe Coding Proficiency

https://arxiv.org/abs/2603.14133
1•Pryde•6m ago•0 comments

A Shared Syntax for Custom Languages

https://lasernoises.com/blog/universal-syntax/
1•lasernoises•6m ago•0 comments

Show HN: Built myself a super YouTube post-prod studio

https://twitter.com/xucian_/status/2096626717531992342
1•xucian•6m ago•0 comments

After Fixin' the Bugs

https://inessential.com/2026/08/26/after-fixin-the-bugs.html
1•surprisetalk•8m ago•0 comments

Show HN: Pollium – A new way to study with AI

https://learn.pollium.io
1•rodoherrera•8m ago•0 comments

Price Reduction for DeepSeek-Flash!: R/DeepSeek

https://www.reddit.com/r/DeepSeek/comments/1waqxm1/price_reduction_for_deepseekflash/
2•xbmcuser•8m ago•0 comments

Doodle Shooter

https://doodleshooter.vercel.app/
1•otherayden•11m ago•0 comments

US police fear Meta smart glasses could be used to secretly record them

https://www.theguardian.com/technology/2026/sep/08/us-law-enforcement-meta-smart-glasses
6•bookofjoe•11m ago•0 comments

The Ripgrep of AI Context

https://github.com/redhat-et/ripwire
1•schmorptron•11m ago•0 comments

In Russia, there was a tradition of mass brawls known as wall-on-wall fights

https://twitter.com/LandsknechtPike/status/1926427364352725356
1•MrBuddyCasino•12m ago•0 comments

Be Using Rootless Containers

https://blog.miguelgrinberg.com/post/you-should-be-using-rootless-containers
1•ibobev•14m ago•0 comments

Questions about AGI

https://voiceinthemachine.com/2026/09/07/four-questions-about-agi/
2•ltononro•14m ago•0 comments

Quantum Open Source in the Age of Coding Agents: UnitaryHACK26

https://unitary.foundation/posts/2026_unitaryhack_recap/
1•cosenal•16m ago•0 comments

Write Your Novel in a Calendar

https://rebeccamakkai.substack.com/p/write-your-novel-in-a-calendar
2•Tomte•16m ago•0 comments

Support Local Variables

https://bernsteinbear.com/blog/support-local-variables/
1•ibobev•16m ago•0 comments

My new favourite habit tracker is vibecoded and I don't know what to do about it

https://rosswintle.uk/2026/08/my-new-favourite-habit-tracker-is-vibe-coded-i-dont-know-what-to-do...
2•mkeeter•17m ago•0 comments

Make Haste Slowly

https://spiffworks.substack.com/p/make-haste-slowly
2•danfunk•17m ago•1 comments

Our Thoughts on What's Likely the Most Important Policy Decision of Our Lifetime

https://www.bridgewater.com/research-and-insights/our-thoughts-on-what-is-likely-the-most-importa...
1•magthor•17m ago•0 comments

StackFollow – Only the updates that matter, for the tools you use

https://stackfollow.xyz/
1•adamthemuffin•17m ago•0 comments