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.

Dht-spy – BitTorrent DHT telemetry

https://dhtspy.net/
1•ogurechny•5m ago•0 comments

Show HN: Desktui – a remote desktop client for your terminal

https://github.com/mishushakov/desktui
1•ushakov•8m ago•0 comments

DeepSeek pause fundraise after comments on compute gap to US leaked (transcript) [pdf]

https://github.com/demo-zexuan/liang-wenfeng-investor-meeting-2026-7-22/blob/master/%E6%A2%81%E6%...
4•oliculipolicula•8m ago•0 comments

Htmx 4: The Game

https://swag.htmx.org/products/htmx-4-the-game
2•geophph•22m ago•0 comments

Show HN: Routeveil – Shared-element and page transitions engine for React Router

https://www.routeveil.dev/lab/shared-elements
2•milkeviich•28m ago•0 comments

The Assumption of Maria (near future sci-fi)

https://www.lightspeedmagazine.com/fiction/the-assumption-of-maria/
5•swernli•29m ago•0 comments

The Dundee Time Capsule

https://www.greatwardundee.com/the-home-front/the-dundee-time-capsule/
1•xg15•29m ago•0 comments

"Loneliness influencers" are all the rage, but everyone is wrong about them

https://preta6.substack.com/p/loneliness-influencers-are-all-the
1•ropili•32m ago•0 comments

For coding agents, real-time collaboration beats the "wisdom of the crowd"

https://ykdojo.github.io/antigravity-cloud-run/experiments/collaboration-vs-wisdom-of-the-crowd/
2•ykev•33m ago•0 comments

Quantum internet leaves the lab

https://news.northwestern.edu/stories/2026/07/quantum-internet-leaves-the-lab
4•hhs•33m ago•0 comments

Algorithm-designed photonic circuits beyond human intuition

https://seas.harvard.edu/news/algorithm-designed-photonic-circuits-beyond-human-intuition-0
2•hhs•40m ago•0 comments

Where Your Mind Goes When You Stop

https://lanternhours.substack.com/p/where-your-mind-goes-when-you-stop
1•cuongvtran•42m ago•0 comments

Why Losing an Argument Feels Like Losing Yourself

https://lanternhours.substack.com/p/why-losing-an-argument-feels-like
2•cuongvtran•42m ago•0 comments

Clinical Failure Rates over the Decades: Yikes

https://www.science.org/content/blog-post/clinical-failure-rates-over-decades-yikes
9•EA-3167•43m ago•5 comments

As Supreme Court decisions grow sharper, study examines justices’ concessions

https://www.umass.edu/news/article/supreme-court-decisions-grow-sharper-study-examines-justices-c...
6•hhs•43m ago•0 comments

Trump's Push to Build Data Centers for the US Military

https://www.motherjones.com/politics/2026/07/data-centers-us-military-bases-public-lands/
2•cdrnsf•44m ago•0 comments

Ubuntu Pro auth service down?

https://ubuntu.com/login?next=/pro/attach?
1•spl757•45m ago•1 comments

Pangrandomonium: Rhizome Function Anagram Random Generator

https://zenodo.org/records/21551292
1•OCTADE•45m ago•1 comments

Wreckage of 1952 Pan Am plane crash found near Puerto Rico

https://www.theguardian.com/world/2026/jul/22/wreckage-found-1952-pan-am-plane-crash-air-safety-p...
2•firasd•46m ago•0 comments

Show HN: Cross-Platform Flutter and React-Native Plugin – FFmpeg-Kit-Extended

1•akashskypatel•48m ago•0 comments

What is happening to jobs? Separating AI hype from reality

https://siepr.stanford.edu/publications/policy-brief/what-really-happening-jobs-separating-ai-hyp...
5•pod_krad•49m ago•0 comments

Cloudflare's new AI traffic options for customers

https://blog.cloudflare.com/content-independence-day-ai-options/
2•alphabetatango•50m ago•0 comments

Show HN: Hubo – two agents that implement and review code until they agree

https://github.com/h0ngcha0/hubo
2•hongchao•51m ago•0 comments

Littleman Programming

https://icfpcontest2026.com/textbook#little%20men
2•irs•56m ago•0 comments

Nvprobe – Open-source, zero-setup CLI for CUDA benchmarks

https://github.com/SergioZ3R0/nvprobe
1•SergioZ3R0•57m ago•0 comments

Waymo's driverless cars involved in 68% fewer crashes than human drivers

https://www.cbc.ca/news/world/waymo-driverless-car-safety-study-9.7282895
4•uladzislau•58m ago•0 comments

Happy2 vs. Buzz

https://happy.engineering/happy2/docs/comparisons/buzz/
2•hmokiguess•59m ago•0 comments

Kenmore Air crash: How civilians 'saved the day'

https://www.seattletimes.com/seattle-news/how-recreational-boaters-saved-the-day-after-kenmore-ai...
4•ynac•1h ago•0 comments

Best and Worst Habits for Your Liver

https://www.nytimes.com/2026/07/23/well/liver-health-tips.html
1•brandonb•1h ago•1 comments

Memory-level parallelism: AMD is the king

https://lemire.me/blog/2026/07/25/memory-level-parallelism-amd-is-the-king/
2•mfiguiere•1h ago•0 comments