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: Review agent changes locally before pushing

https://github.com/marcparadise/reviewer
1•GrinningFool•4m ago•0 comments

Show HN: In-Browser WASM Engine – Analytical Queries in 0.25ms

https://mlegal-pwa-app.web.app
1•mlegal_tech•7m ago•0 comments

The Story of Fckgw-RHQQ2-Yxrkt-8TG6W-2B7Q8

https://twitter.com/davepl1968/status/2099883465256865923
1•hnburnsy•9m ago•0 comments

Photos show damage at U.S. positions caused by Iranian missile, drone attacks

https://www.cbsnews.com/news/new-photos-damage-u-s-kuwait-saudi-arabia-iran-drone-missile-attacks/
1•cwwc•9m ago•0 comments

Single Prompt Knowledge Graphs

https://app.corvic.ai/view/memory/88cf5889-0d85-409e-8b51-f621ad519b88
1•GG533•11m ago•0 comments

Khipu (Quipu) Field Guide

https://www.khipufieldguide.com/
1•SanjayMehta•12m ago•0 comments

Grandma disables a fiber optic drone

https://twitter.com/United24media/status/2099842961731142003
1•consumer451•15m ago•1 comments

Trump administration releases fifth batch of UFO files

https://www.space.news/2026-08-10-trump-administration-releases-fifth-batch-ufo-files.html
2•KinetiNode•17m ago•0 comments

Show HN: Thurbox – A tmux-based TUI and CLI for local AI agent orchestration

https://github.com/Thurbeen/thurbox
3•magicleturcrttm•19m ago•0 comments

We cut CDN metadata lookup latency by 91%

https://vercel.com/blog/how-we-cut-cdn-metadata-lookup-latency-by-91-percent
1•iamsyr•21m ago•0 comments

Artificial Intelligence, Quote Unquote

https://www.penny-arcade.com/news/post/2026/09/15/artificial-intelligence-quote-unquote
1•jkestner•21m ago•0 comments

The Death of "Link in Bio"

https://peachandcherry.com/blog/text-me
2•zyloquenstar•28m ago•0 comments

Seats and Sunsets

https://yegge.ai/essays/seats-and-sunsets/
1•andsoitis•32m ago•0 comments

Medog Hydropower Station (60 GW hydropower project)

https://en.wikipedia.org/wiki/Medog_Hydropower_Station
2•cl42•32m ago•0 comments

I Hired a Lawyer to Fight UMG (Feat. LegalEagle) [video]

https://www.youtube.com/watch?v=M8HxQkk0PSY
1•sbuttgereit•36m ago•0 comments

Nvidia Expands Open Source CUDA-Q Platform for Fault-Tolerant Quantum Computing

https://nvidianews.nvidia.com/news/nvidia-expands-open-source-cuda-q-platform-for-fault-tolerant-...
1•noobplus•37m ago•0 comments

A mnemonic-free wallet where the private key never leaves the phone's TEE

1•niumeta_TZ•37m ago•0 comments

Marginalia Search

https://marginalia-search.com/
2•thunderbong•38m ago•0 comments

Internet shutdown crosses 100 days in Pakistan-administered Kashmir

https://www.aljazeera.com/news/2026/9/15/internet-shutdown-crosses-100-days-in-pakistan-administe...
2•alephnerd•40m ago•0 comments

Musk proposes adversarsial peer review for AI Safety

https://twitter.com/theallinpod/status/2099731166530277549
2•thedragongc•41m ago•0 comments

Thoughts and Observations on apples iPhones duo 18pro event

https://daringfireball.net/2026/09/thoughts_and_observations_on_apples_surprise_and_shine_event
2•djfergus•45m ago•0 comments

Clarity Act (crypto) fails in the Senate

https://www.nytimes.com/2026/09/15/technology/senate-blocks-crypto-bill.html
1•krrishd•47m ago•1 comments

Coreutils – Rejected Feature Requests

https://www.gnu.org/software/coreutils/rejected_requests.html
4•birdculture•47m ago•0 comments

Cerebras-powered, instant design canvas using Qwen3.8-27B [video]

https://www.youtube.com/watch?v=yC4RKUyUt1Y
1•thegeomaster•49m ago•0 comments

Show HN: Now You Can Use – Web Baseline Timeline

https://nowyoucanuse.com/
1•Hyperlisk•50m ago•0 comments

Recent Decisions Spark Questions on GenAI, Privilege, and Privacy Expectations

https://ktslaw.com/insights/alert/2026/4/recent-decisions-spark-questions-on-generative-ai-privil...
1•mooreds•51m ago•0 comments

Contrails.org – Contrail Avoidance for the Climate

https://contrails.org/
1•thenobsta•53m ago•0 comments

Landing the Space Shuttle – A Flying Machine and the Thrill of a Lifetime

https://inspire.eaa.org/2019/05/16/landing-the-space-shuttle-an-incredible-flying-machine-and-the...
1•JojoFatsani•53m ago•1 comments

Show HN: AgentReady – can AI assistants read your site?

https://shop.lumnika.com/lab/agentready/?src=hackernews-showhn
2•deusautoai725•54m ago•0 comments

Show HN: Leo – a Markdown engineering process for AI coding agents

https://github.com/alex-zaporozhan/leo
2•alex-zaporozhan•57m ago•0 comments