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.

Lgit: Source Control for the AI Era

https://nicobrenner.github.io/lossy-git/
1•nico•3m ago•0 comments

Linux kernel devs drop obligatory confession of AI tool usage

https://www.theregister.com/ai-and-ml/2026/10/14/linux-kernel-devs-drop-obligatory-confession-of-...
1•ernsheong•5m ago•0 comments

Thinking Machines Ships Dimuon Optimizer

https://tinker-docs.thinkingmachines.ai/tinker/optimizers/
1•boldi•9m ago•0 comments

Management, LLMs, and the Modern Engineer

https://getsmall.xyz/post/cmv8v2ms60g87f70ls4g3zqsg
1•trezm•12m ago•0 comments

Ask HN: Only one link appearing on HN?

3•datas•13m ago•7 comments

Show HN: Single-server DDoS defense, no CDN – try to take it down

http://95.216.153.78
2•NuwanN•16m ago•1 comments

Magic: The Gathering Card Compiler

https://chiplis.com/ironsmith/
1•nicolas-siplis•17m ago•0 comments

Call for stories: human–AI collaboration in recent mathematics

https://terrytao.wordpress.com/2026/10/14/call-for-stories-human-ai-collaboration-in-recent-mathe...
1•smilelamp•19m ago•0 comments

How Oncolytic Virus Therapy Is Changing Cancer Treatment

https://www.cancerresearch.org/immunotherapy-by-treatment-types/oncolytic-virus-therapy
1•gradus_ad•23m ago•0 comments

Let's Make Video Games Like It's 1994

https://www.ciroduran.com/2026/10/game-maker-1994-i/
2•speckx•23m ago•0 comments

AI Safety Is Not a Corporate Plot

https://www.astralcodexten.com/p/ai-safety-is-not-a-corporate-plot
3•Analemma_•24m ago•1 comments

Fluxcut shows your product in professional demo video format

1•loveTech•26m ago•0 comments

Show HN: Shazbot – A sandboxed SSH tunnel manager for the Mac menu bar

https://zardecki.dev/blog/why-i-built-shazbot.html
1•AngryDad67•30m ago•1 comments

Build Classic Mac Apps with MacMAKE

https://macmake.dev/
2•mplsllc•32m ago•0 comments

Expedia Rigs Travel Markets and Raises Your Hotel Price

https://www.thebignewsletter.com/p/how-expedia-rigs-travel-markets-and
3•pseudolus•35m ago•0 comments

Ricursive Intelligence bets on AI-designed chips to solve the compute crisis

https://techcrunch.com/2026/10/14/ricursive-intelligence-is-betting-on-ai-designed-chips-to-help-...
2•mikelgan•38m ago•1 comments

Overdose Offsets: Why Every Bag of Fentanyl I Sell Is Net Life-Positive

https://morewrong.lol/?post=overdose-offsets-why-every-bag-of-fentanyl-i-sell-is-net-life-positive
5•bookofjoe•39m ago•1 comments

Why not we build one tap payment system

1•ghostidea•41m ago•0 comments

Why are chip companies allergic to open source?

https://www.zeroasic.com/blog/hardware-github-stars
1•adapteva•42m ago•0 comments

The Engineering That Allows Articulated Buses to Bend

https://www.theautopian.com/you-wont-believe-the-incredible-engineering-that-allows-articulated-b...
2•CharlesW•44m ago•0 comments

No, We Need a Neural Network

https://thedailywtf.com/articles/No,_We_Need_a_Neural_Network
1•goriv•44m ago•0 comments

Oregon Trail II Decomp

https://github.com/ot-ii/OregonTrailII/
1•DaSkippy•44m ago•0 comments

Capsem – a Rust hypervisor sandboxing AI agents in air-gapped Linux VMs

https://capsem.org/
2•madars•47m ago•0 comments

The reverts will continue until morale improves

http://peter.eisentraut.org/blog/2026/10/09/the-reverts-will-continue-until-morale-improves
1•birdculture•49m ago•0 comments

Making all divisions slower to fix a bug in 0.000000000000000000542% of cases

https://futhark-lang.org/blog/2026-10-14-defining-division.html
2•marvinborner•50m ago•0 comments

OpenAI Sued over Children's Data Used to Train ChatGPT

https://www.cnet.com/tech/services-and-software/chatgpt-accused-using-childrens-data/
3•pier25•51m ago•0 comments

The first new sunscreen type in 25 years has arrived on US store shelves

https://apnews.com/article/bemotrizinol-bemt-new-sunscreen-ingredient-fda-7892cc598c0b553b8c9c671...
3•harporoeder•51m ago•0 comments

AIVAcare

https://www.aivacare.ai
2•billbecorest•1h ago•1 comments

Maxxing treats life as a problem when it's a mystery

https://psyche.co/ideas/maxxing-treats-life-as-a-problem-when-its-a-mystery
4•momentmaker•1h ago•1 comments

What have you been wondering about the economy?

https://ask.kylascanlon.com/
1•measurablefunc•1h ago•0 comments