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.

Code review is broken. The pull request is the wrong place to start

https://nextwaveoftech.com/posts/code-review-is-broken-pr-wrong-place
1•jameslaneyno9•26s ago•0 comments

Projects in Buzz

https://engineering.block.xyz/blog/projects-in-buzz
1•ThomPete•38s ago•0 comments

Google Workspace will enable AI note-taking by default for some customers

https://workspaceupdates.googleblog.com/2026/07/new-google-meet-take-notes-for-me-settings-for-ad...
2•m-hodges•1m ago•0 comments

What happens when a GPU reads memory

https://blog.doubleword.ai/what-happens-when-a-gpu-reads-memory
1•corysama•1m ago•0 comments

Designing Loops for Production-Grade Work

https://www.liquid.ai/blog/agent-loops
1•pember•2m ago•0 comments

Biboumi – XMPP Gateway to IRC

https://biboumi.codeberg.page/doc/
1•birdculture•2m ago•0 comments

The road to epsilon-zero: Productive programs and well-founded orders

https://blog.plover.com/math/ordinals/05-shortlex.html
1•pavel_lishin•2m ago•0 comments

Everyone is asking someone else for money

https://www.gonzocapital.net/everyone-is-asking-someone-else-for-money/
2•robocat•2m ago•0 comments

Blender v1.0 – Web Port of the 1995 Build

https://blender1995.com/
1•cautiouscat•4m ago•0 comments

Ask HN: How to implement a friction-less auth

1•wastedpotencial•4m ago•0 comments

TikTok Exploring Sending Money via Direct Messages

https://www.bloomberg.com/news/articles/2026-08-18/tiktok-is-exploring-feature-to-send-money-over...
1•htrp•4m ago•0 comments

Calendar.txt

https://terokarvinen.com/2021/calendar-txt/
1•smartmic•4m ago•0 comments

Show HN: Deft Writing, an AI lab for non-slop LLMs

https://deftwriting.com
1•rosmine•4m ago•0 comments

A community for women interested in and/or contributing to Open Source

https://womenofopensource.org/
1•mooreds•5m ago•0 comments

What happened to China's property collapse? [video]

https://www.youtube.com/watch?v=1N2C72OdOxo
1•mooreds•6m ago•0 comments

ModCon 2026: open-source, open cloud, open silicon

https://www.modular.com/blog/modcon-announcements
1•big_toast•6m ago•1 comments

A TypeScript runtime for deploying Discord bots

https://flora.uwu.network/
1•creatable•7m ago•1 comments

Show HN: Clad9 – AI wardrobe app that dresses you from your own closet

https://clad9.com/
1•Fh_•8m ago•0 comments

Show HN: Text to Sample

https://elevenmusic.io/sounds/text-to-sample
1•sigvef•8m ago•0 comments

Build T-Shaped Agents, Not Assembly Lines

https://sqlhammer.com/index.php/2026/05/28/build-t-shaped-agents-not-assembly-lines/
1•mooreds•8m ago•0 comments

SQL SIDE QUEST – An Immersive story-telling SQL Game. Chapter 3 is out

https://www.sqlsidequest.com/
1•sqlsidequest•9m ago•1 comments

Manage agent loadouts with drskill – "brew doctor for agents"

https://www.dbreunig.com/2026/07/24/manage-your-agent-s-loadout-with-dr-skill.html
1•jesserobbins•11m ago•2 comments

"Expect the end of the world. Laugh."

https://theconvivialsociety.substack.com/p/expect-the-end-of-the-world-laugh
3•longdefeat•11m ago•0 comments

Is the World Getting Uglier?

https://time.com/article/2026/08/18/is-the-world-getting-uglier/
1•bcaulfield•12m ago•0 comments

Science investigation suggests serious problems in Alzheimer's work

https://www.science.org/content/blog-post/more-alzheimer-s-research-trouble
1•maxall4•12m ago•0 comments

Securing the Infrastructure of Intelligence

https://blogs.nvidia.com/blog/securing-the-infrastructure-of-intelligence/
1•bcaulfield•12m ago•0 comments

OpenAI introduces 'ChatGPT for Teens' as AI safety concerns mount

https://www.latimes.com/business/story/2026-08-18/openai-introduces-chatgpt-for-teens-as-ai-safet...
1•01-_-•12m ago•0 comments

react-term: A fast terminal emulator front-end for React

https://rahulpandita.github.io/react-term/
1•azhenley•13m ago•0 comments

OpenAI Partnering with CodeAI to prepare the first AI generation

https://openai.com/index/partnering-with-codeai/
1•nateb2022•13m ago•0 comments

Google is buying all of Spirit Airlines' data to feed its AI models

https://www.cnn.com/2026/08/18/business/google-spirit-airlines-data
1•01-_-•13m ago•1 comments