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.

Software for One

https://christophermeiklejohn.com/ai/personal/programming/2026/09/06/software-for-one.html
1•azhenley•2m ago•0 comments

Opened the source of my game (multiplatform autobattler)

https://github.com/lfarroco/mana-game
1•lfarroco•5m ago•1 comments

Americans Without Degrees Are Having One of the Best Job Markets in Years

https://www.wsj.com/lifestyle/careers/americans-without-college-degrees-are-having-one-of-the-bes...
2•JumpCrisscross•6m ago•0 comments

Mirror Life Is Theoretical - The Danger Is Anything But

https://www.rand.org/pubs/commentary/2026/08/mirror-life-is-theoretical-the-danger-is-anything-bu...
1•jonbaer•9m ago•0 comments

Ponytail: Lazy Senior Engineer Skill

https://ponytail.dev/
1•zatkin•13m ago•0 comments

Abliteration.ai is making a business out of removing AI guardrails

https://techcrunch.com/2026/09/03/abliteration-ai-is-making-a-business-out-of-removing-ai-guardra...
2•NoRagrets•22m ago•1 comments

Always free and privacy-first image editor – PicFiddle

https://picfiddle.com
1•iplaypc•22m ago•1 comments

New method predicts where earthquakes will strike

https://phys.org/news/2026-09-method-massive-earthquakes.html
1•toomuchtodo•26m ago•1 comments

Don't build your organization around a model provider

https://juanreyero.com/article/ai/model-provider-independence
1•juanre•27m ago•0 comments

Everyone Has a Distaste for the Artificial

https://www.emailstotheworld.com/p/everyone-has-a-distaste-for-the-artificial
2•rsktaker•28m ago•0 comments

Speech2Speech – browser-based STT and TTS for interacting with local LLMs

https://github.com/rhulha/Speech2Speech
1•Curiositry•29m ago•0 comments

Bespoke: A Programming Language for People Who Say Please – Larvitz Blog

https://blog.hofstede.it/bespoke-a-programming-language-for-people-who-say-please/
1•rbanffy•36m ago•0 comments

Music Theory

https://brianberns.github.io/
1•thunderbong•37m ago•0 comments

Army to spend $465M on 'Group 3 killer' anti-drone laser

https://taskandpurpose.com/news/army-locust-laser-drone-killer/
1•bushwart•44m ago•0 comments

ROCm 10.0: A Decade of Open Compute, Built for the Age of Agentic AI

https://rocm.blogs.amd.com/ecosystems-and-partners/rocm-x-blog/README.html
2•metrofun•45m ago•0 comments

AI Is Already Making Us Less Human

https://www.theatlantic.com/ideas/2026/09/open-ai-consciousness-morality/688535/
1•pseudolus•52m ago•2 comments

GPT-6 Astra beats portal [video]

https://www.youtube.com/watch?v=g5u2y0BwRJ0
1•aizk•55m ago•0 comments

Airbnb cut authentication code by 60% with server-driven flows

https://medium.com/airbnb-engineering/flexible-authentication-reimagining-authentication-for-mill...
2•CoderLim110•1h ago•0 comments

Where Temporary Decisions Become Permanent Behavior

https://medium.com/@gurvinder372/article-8-where-temporary-decisions-become-permanent-behavior-0f...
2•gps372•1h ago•0 comments

216M Spy TVs – The LG Smart TV Problem [video]

https://www.youtube.com/watch?v=6IFVTcM28KA
7•treve•1h ago•1 comments

MathKernel: An evidence-aware multi-engine mathematics kernel and MCP server

https://github.com/Staatsgeheim/MathKernel
2•staatsgeheim•1h ago•0 comments

Meditations on Moloch (2014)

https://www.slatestarcodexabridged.com/Meditations-On-Moloch
1•vermilingua•1h ago•0 comments

The Death of Educational Content on YouTube [video]

https://www.youtube.com/watch?v=-Gnrp_caPvo
1•josephcsible•1h ago•1 comments

Prediction of maternal and infant outcomes with a Mother-Child AI agent

https://doi.org/10.1038/s41591-026-04694-y
1•sbulaev•1h ago•0 comments

LED Sports Ticker – A high-performance 60fps stadium-style scoreboard

https://play.google.com/store/apps/details?id=com.tickerled.sports&hl=en_US
1•scrolling•1h ago•0 comments

Hard-Chat – A serverless, RAM-only P2P terminal chat

https://github.com/mrhardlint/Hard-Chat
4•hardlint•1h ago•0 comments

Five dead after Amazon-branded cargo plane overruns runway at Miami airport

https://www.nbcnews.com/news/us-news/amazon-plane-crash-miami-rcna596369
1•r_singh•1h ago•0 comments

App Review Shenanigans

https://kaylees.site//app-review-shenanigans.html
3•latexr•1h ago•1 comments

Four Weeks of a Vegan Diet Alter Signs of Inflammation and Aging

https://www.uniklinik-freiburg.de/en/press/press-releases/detailed-view/6938-vier-wochen-vegane-e...
26•marvinborner•1h ago•24 comments

CrisperWhisper – Speech to Text Model That Transcribes What You Say Verbatim

https://github.com/nyrahealth/CrisperWhisper
2•Curiositry•1h ago•0 comments