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.

Artificial Intelligence Incident Database

https://incidentdatabase.ai/
1•gurjeet•22s ago•0 comments

Electric Cheaper to Operate Than Diesel for Almost Half of Trucks Sold in EU

https://cleantechnica.com/2026/09/28/electric-trucks-cheaper-to-operate-than-diesel-for-almost-ha...
1•gumby•3m ago•0 comments

China's AI Ecosystem: A Background Explainer

https://oxfordchinapolicylab.org/research/china-s-ai-ecosystem-a-background-explainer
1•herbertl•4m ago•0 comments

OmniAtlas – paste a job posting, get a matched learning path

https://omniatlas.ai/match
1•hamidsth•4m ago•0 comments

Starship Is in Orbit

https://www.theguardian.com/science/2026/sep/28/spacex-starship-rocket-orbits-earth-texas
1•saikatsg•5m ago•0 comments

Headed for the Exit: The Great Engineering Leader Career Break

https://newsletter.pragmaticengineer.com/p/the-great-engineering-leader-career-break
2•iamflimflam1•5m ago•0 comments

California Farmers Are Struggling to Sell Grapes as Demand for Wine Drops

https://www.kqed.org/news/12101534/california-farmers-are-struggling-to-sell-grapes-as-demand-for...
1•randycupertino•6m ago•0 comments

Scientists solve 1840s space weather mystery

https://arstechnica.com/science/2026/09/scientists-solve-1840s-space-weather-mystery/
2•gumby•7m ago•0 comments

Show HN: Add hourly schedules to your ChatGPT Ads

https://campaignhours.com/
1•alentodorov•7m ago•0 comments

rewriting the Angular compiler in Rust

https://blog.angular.dev/an-update-on-angulars-typescript-7-powered-compiler-9619a35e2b0a
2•0xedb•7m ago•0 comments

Online toxicity silences the majority and fuels power users

https://www.psypost.org/how-online-toxicity-silences-the-majority-and-fuels-power-users/
1•bjourne•8m ago•0 comments

Voice middleware for Gemini Live with decoupled VAD and local interruption

https://sagethegreat.vercel.app/
1•Sabeski•8m ago•0 comments

AI's hidden $3T bill could wreck the world economy

https://www.telegraph.co.uk/business/2026/09/28/ais-hidden-3tn-bill-could-wreck-the-world-economy/
2•elorant•9m ago•0 comments

My 1 TB Mac needed 8 TB to migrate, apparently

https://shivankaul.com/blog/migration-assistant-sparse-files
1•speckx•9m ago•0 comments

Reverse Engineering the iPod Classic's Undocumented Mikey Chip

https://terminalbytes.com/reverse-engineering-ipod-classic-mikey-chip/
2•ibobev•12m ago•0 comments

It's Time to Investigate the AI Labs

https://calnewport.com/its-time-to-investigate-the-ai-labs/
5•ibobev•13m ago•0 comments

What If Automating AI R&D Triggers an Intelligence Explosion?

https://www.thefai.org/posts/what-if-automating-ai-r-and-d-triggers-an-intelligence-explosion
1•mellosouls•13m ago•0 comments

Dropping Swift from our Bevy iOS crates

https://rustunit.com/blog/2026/09-04-bevy-ios-crates-objc2/
1•ibobev•13m ago•0 comments

Executable Archaeology: Simon's Version of Yngve's Sentence Generator (1961)

https://github.com/jeffshrager/ExecutableArchaeology/tree/main/SimonYngveSentenceGenerator
1•abrax3141•14m ago•0 comments

Why mental metaphors do not help us understand chatbot mistakes

https://link.springer.com/article/10.1007/s11229-026-05551-8
1•ThrowawayR2•14m ago•0 comments

Edge Is Pretending to Be Chrome

https://idiallo.com/blog/edge-imitates-chrome
2•foxfired•21m ago•1 comments

What Do You Mean by "This"? Rethinking Selection for AI Interfaces

https://medium.com/ai-widgets/what-do-you-mean-by-this-rethinking-selection-for-ai-interfaces-880...
1•azhenley•21m ago•0 comments

F/OSS Comics #10: The Life of Dennis Ritchie

https://fosscomics.com/posts/10.%20The%20Life%20of%20Dennis%20Ritchie/
1•joonehur•21m ago•0 comments

California expanded the right to delete today

https://www.getprivisy.com/blog/sb-923-ccpa-right-to-delete-signed
4•patrickwdaly•22m ago•0 comments

Helion Moves Goalpost on Fusion

https://www.axios.com/local/seattle/2026/09/28/helion-energy-orion-fusion-microsoft-commercial-po...
2•strongpigeon•22m ago•0 comments

First Breath – an open-source inner life for AI agents

https://first-breath-website.vercel.app/
1•aipixedev•22m ago•0 comments

Image similarity using ORB from OpenCV

https://jonatron.github.io/orb_similarity/demo/similarity.html
1•jonatron•23m ago•0 comments

Anthropic's Claude Max Plans Are Misleading at Best

https://nooneshappy.com/article/anthropics-claude-max-plans-are-misleading-at-best/
1•speckx•25m ago•0 comments

Ask HN: Do you have small victories to share for us to celebrate?

1•jamwise•27m ago•1 comments

Raleigh Vektar Restoration (2020)

https://retromash.com/2020/06/26/raleigh-vektar-restoration-part-1-the-arrival/
1•robin_reala•29m ago•0 comments