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.

Show HN: RL environment for complex ML Development

https://blazerops.ai
1•jiminseo•4m ago•0 comments

Show HN: Askdown – A plain-text format for forms

https://askdown.dev/
2•treve•7m ago•0 comments

Cometlink: An old-school chat room you sign on to in the browser

https://cometlink.rip/
1•AfterHrsBuild•10m ago•0 comments

Leave your (Apple) watch at the door

https://jamespember.substack.com/p/leave-your-apple-watch-at-the-door
1•jep888•10m ago•0 comments

China's Weakening Economy Is Creating a Lost Generation

https://www.wsj.com/world/china-economy-gen-z-f9058941
3•kaycebasques•17m ago•0 comments

I used an AI QA agent to test Hacker News

https://hitest.ai/blog/demo-hacker-news
1•easilyjs•19m ago•0 comments

Show HN: Planning software for startup teams

https://weeklywe.com
1•aminaghakazemi•21m ago•0 comments

Ask HN: Now that AI makes the execution easy, do ideas matter more?

1•amichail•21m ago•1 comments

Is AI the End of Math as We Know It?

https://www.quantamagazine.org/is-ai-the-end-of-math-as-we-know-it-20261005/
1•maxall4•26m ago•1 comments

Leading Chinese mathematicians unite behind use of AI in research

https://www.scmp.com/news/china/science/article/3370492/leading-chinese-mathematicians-unite-behi...
2•E-Reverance•29m ago•0 comments

A.I. Music Fraudster Who Drew Millions in Royalties Is Sentenced to 18 Months

https://www.nytimes.com/2026/10/07/arts/music/ai-music-fraud-royalties-sentence.html
1•lxm•35m ago•0 comments

Normal Bad Work

https://terrytao.wordpress.com/2026/10/12/this-is-normal-bad-work/
2•smilelamp•36m ago•1 comments

In 5 years, 95% of tokens used by AI agents will be for tasks humans never did

https://twitter.com/levie/status/1986620885592113218
5•andsoitis•38m ago•0 comments

Available now: 0.5 MW of colo capacity for B300s

https://ardus.ai/
1•nasim_nosiroff•38m ago•0 comments

Ontology SDK

https://www.palantir.com/docs/foundry/ontology-sdk/overview
2•enjoyyourlife•43m ago•0 comments

Learn LEAN 4 Theorem Proving in an easy game

https://adam.math.hhu.de/#/g/leanprover-community/NNG4
2•samagra14•46m ago•0 comments

When to Use Vulnerability Assessments, Pentesting, Red Teams, and Bug Bounties

https://danielmiessler.com/blog/when-vulnerability-assessments-pentesting-red-team-bug-bounties
2•tknisley•48m ago•0 comments

The Most Overlooked Taste in the World [video]

https://www.youtube.com/watch?v=zC1v19wfoTA
1•pinkmuffinere•50m ago•0 comments

Multiplayer Pong over SSH

https://antics.gg/ssh
3•thatslast•53m ago•0 comments

No More Camera Glasses – Even Realities

https://www.evenrealities.com/blogs/stories/no-more-camera-glasses-by-will-wang-founder-ceo-even-...
2•tash_2s•56m ago•0 comments

NAZA: Netanyahu orders identification and prosecution of film's interviewees

https://www.theguardian.com/film/2026/oct/12/naza-netanyahu-orders-identification-prosecution-int...
38•hebelehubele•59m ago•2 comments

OpenAI algorithm for the FFT is less a breakthrough and more a malicious exploit

https://www.argmin.net/p/faster-fourier-transforms
22•mochomocha•1h ago•5 comments

Climate Finder

https://weather.theojaffee.net/
3•bonefishgrill•1h ago•0 comments

Why does checking for software updates often take so long?

5•nick_•1h ago•1 comments

Lüften, or 'home burping,' yields sweet smell of success for your home

https://www.cpr.org/2026/06/24/home-burping-brings-outdoor-air-inside/
2•andsoitis•1h ago•0 comments

Leaving Tech

https://ryanbigg.com/2026/10/leaving-tech
115•jonahx•1h ago•92 comments

Kioxia, SanDisk show off the tiny chip which could go in first 1 PB SSD

https://www.techradar.com/pro/kioxia-sandisk-show-off-the-tiny-chip-which-could-go-in-worlds-firs...
6•peter_d_sherman•1h ago•0 comments

Woman who rescued injured crow keeps getting 'thank-you gifts' from birds [video]

https://www.youtube.com/watch?v=sjNpfz4UzqU
6•johnnyApplePRNG•1h ago•0 comments

Show HN: BellRun. Gamified Stock Trading

https://bellrun.com/office
3•twism•1h ago•0 comments

IsEven API

https://isevenapi.xyz/
5•basilikum•1h ago•3 comments