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.

Turning the HEIC decoder into a SHA-256 computer

https://www.irisc2.com/blog/heic-hashquine
1•luispa•48s ago•0 comments

Canada's Deepest Cave Goes Deeper as Explorers Map New Passages

https://fernie.com/blog/canadas-deepest-cave-goes-deeper-as-explorers-map-new-passages/
1•cf100clunk•1m ago•0 comments

Ozempic-style drugs now in trials for heart failure, addiction and even aging

https://maccus.fr/en/ozempic-drugs-trials-beyond-diabetes/
1•randycupertino•1m ago•0 comments

Upgrading NetBSD from 11.0 to 11.1

https://www.dwarmstrong.org/netbsd-upgrade/
1•jaypatelani•3m ago•0 comments

Sony revives the original Walkman headphones, adds USB-C

https://arstechnica.com/gadgets/2026/11/sony-adds-usb-c-to-its-70s-era-mdr-3-walkman-headphones/
1•rawgabbit•4m ago•0 comments

Supercharging XLA-Based Inference: Announcing the Launch of XLA Serving Engine

https://opensource.googleblog.com/2026/11/supercharging-xla-inference-xla-serving-engine.html
1•fortran77•5m ago•0 comments

The Day a Test Deleted My Home Directory

https://lucianolupo.com/notes/The%20Day%20a%20Test%20Deleted%20My%20Home%20Directory
1•fortran77•6m ago•0 comments

GPTBot hit my SSO login page 594,101 times

https://www.shuffle-on.com/blog/ai-crawlers-read-my-site
1•lisneanucristia•6m ago•0 comments

Show HN: R/place for Git – Open-source Git server sustaining 567 pushes/s

https://reasonmachines.com/blog/aspen
1•svemyh•6m ago•0 comments

Limit what agents learn about private repos with enclaves

https://githubnext.com/posts/enclaves/
2•gmays•9m ago•0 comments

Show HN: DrawDock – Annotate Windows apps from an Android tablet

https://github.com/MikeCer/DrawDock
2•MikeCer•9m ago•0 comments

100% GPU Utilization, 39% of Rated FP16

https://medium.com/@AhmadBabaei/100-gpu-utilization-39-of-rated-fp16-ce97ba1b88f0
2•birdculture•10m ago•0 comments

I Spent $1000 Making LLMs Play Competitive Pokémon

https://blog.doubleword.ai/llms-play-pokemon
2•kkm•10m ago•0 comments

Quantity vs. Quality in Pottery is a lie

https://www.lesswrong.com/posts/LrAqM4bGmAoA79rP3/quantity-vs-quality-in-pottery-is-a-lie
2•luskira•15m ago•0 comments

Bitcoin++ privacy hackathon winner: BlackIce, distributed frost silent payments

https://btcpp.dev/seoul/hackathon/projects/33249dbf-181b-4cc6-9074-1a742f71cb60
2•not_nifty•16m ago•1 comments

Ask HN: What fun things to do with an iPhone 11?

2•wanderingpixel•16m ago•1 comments

Show HN: Current – Change control for AI agents (Elixir)

https://github.com/santosh79/current
2•santosh_ycomb•17m ago•0 comments

Don't Write Bugs

https://www.teamten.com/lawrence/programming/dont-write-bugs
2•ColinWright•18m ago•1 comments

Show HN: Agentic Identity Broker, OAuth Delegation for AI Agents

https://github.com/zalando-incubator/agentic-identity-broker
2•jbspeakr•18m ago•0 comments

Show HN: A debug overlay for iPhone Duo apps that shows reserved screen areas

https://github.com/mikeakers/DuoDevOverlay
2•quux•19m ago•0 comments

Build World Models for Interactive Simulation with Nvidia Cosmos

https://developer.nvidia.com/blog/build-world-models-for-interactive-simulation-with-nvidia-cosmos/
2•gmays•19m ago•0 comments

GitHub: New pull request overview page in public preview

https://github.blog/changelog/2026-11-05-new-pull-request-overview-page-in-public-preview/
3•inickt•19m ago•1 comments

Why are more than 98% of Claude Code issues unassigned

https://www.reddit.com/r/ClaudeAI/comments/1xozfcv/open_question_to_anthropic_if_youre_making_30000/
2•usernametaken29•20m ago•1 comments

Show HN: Pico-WAM – smallest world-action-model

https://www.keivalya.com/pico-wam/
2•keivalya•21m ago•0 comments

Descartes drew a line between humans and machines. AI is blurring it

https://bigthinkmedia.substack.com/p/ai-is-forcing-us-to-reckon-with-a
2•pseudolus•22m ago•0 comments

FAA Begins Retiring Decades Old Floppy Disks from Air Traffic Control

https://www.faa.gov/newsroom/trumps-transportation-secretary-sean-p-duffy-begins-retiring-decades...
7•pseudolus•23m ago•1 comments

Why You Should Care About The Political Project of Twisted

https://blog.glyph.im/2026/11/the-project-of-twisted.html
2•zdw•23m ago•0 comments

Where Each U.S. State Gets Its Tax Revenue From

https://www.visualcapitalist.com/where-each-states-tax-revenue-comes-from/
2•peter_d_sherman•24m ago•0 comments

Universal Income – Forget "Basic" and "High"

https://joshbocanegra.medium.com/the-conditions-for-universal-income-are-falling-into-place-e7359...
2•jbai•24m ago•0 comments

Math research is surging. Biology isn't

https://village.dev/blog/math-research-is-surging-biology-isnt/
2•kevin_hu•24m ago•0 comments