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.

Curl 8.21.0

https://daniel.haxx.se/blog/2026/06/24/curl-8-21-0/
1•robin_reala•1m ago•0 comments

NixOS on Xilinx Zynq and ZynqMP

https://github.com/chuangzhu/nixos-xlnx
1•joooscha•9m ago•0 comments

I built an LLM router that doesn't use an LLM

https://github.com/itsthelore/wayfinder-router
1•tcballard•12m ago•2 comments

The Problem Is Prompt Debt

https://www.dbreunig.com/2026/06/22/the-problem-is-prompt-debt.html
1•ingve•14m ago•0 comments

What data on myself I collect and why? (2020)

https://beepb00p.xyz/my-data.html
1•downbad_•14m ago•0 comments

Agents Are the New Product's Interface

https://www.hopsworks.ai/post/agents-are-your-new-product-interface
1•LexSiga•15m ago•0 comments

Ranked: Countries Spending the Most on Research and Development

https://www.visualcapitalist.com/ranked-countries-spending-most-on-r-and-d/
3•theanonymousone•19m ago•0 comments

Smart Hotel Management Software for Hotels, Resorts and Vacation Rentals

https://app.notion.com/p/Smart-Hotel-Management-Software-for-Hotels-Resorts-Vacation-Rentals-de44...
1•jackarnold•22m ago•0 comments

"Start with a Monolith" Was Good Advice. AI Is Changing That

https://medium.com/@pivotfakie/start-with-a-monolith-was-good-advice-ai-is-changing-that-a2181b8e...
1•feeblefakie•23m ago•0 comments

How to Apply Google's Open Knowledge Format (OKF) on Enterprise Level

https://community.obsidian.md/plugins/vault-operator
1•pssah4•25m ago•1 comments

Full Metal Jacket. Copper Edition – Vollebak

https://vollebak.com/en-us/products/full-metal-jacket-copper-edition
1•evo_9•26m ago•0 comments

OpenAI Codex bombards SSDs with needless write operations, costing millions

https://www.theregister.com/ai-and-ml/2026/06/23/openai-codex-bombards-ssds-with-needless-write-o...
1•jonbaer•28m ago•1 comments

The Digital Sovereignty Trap

https://statedept.substack.com/p/the-digital-sovereignty-trap
1•ryzvonusef•29m ago•0 comments

PixelSmash – FFmpeg's MagicYUV decoder vuln leads to RCE via media file

https://jfrog.com/blog/pixelsmash-critical-ffmpeg-vulnerability-turns-media-files-into-weapons/
2•n0on3•30m ago•0 comments

AI Steps Off the Screen

https://epics.tech/posts/2026-06-23-ai-steps-off-the-screen/
2•epicsagas•32m ago•0 comments

Benchmark object storage in objects/s, not GB/s

https://fractalbits.com/blog/objects-per-second/
7•zzsheng•42m ago•0 comments

Dietary guidelines do not yield sufficient flavanol for cardiovascular benefit

https://pubs.rsc.org/en/content/articlehtml/2026/fo/d6fo00867d
2•littlexsparkee•43m ago•0 comments

AxLLM

https://axllm.dev/
2•handfuloflight•45m ago•0 comments

RIP Fable

https://fable.rip
3•opndragoon•48m ago•0 comments

Lucid to lay off roughly 18% of U.S. workforce, COO Marc Winterhoff leaves

https://www.cnbc.com/2026/06/22/lucid-layoffs-evs.html
2•mgh2•53m ago•0 comments

Clean sweep for Mamdani-backed candidates in New York's Democratic primary

https://www.bbc.com/news/articles/clye652m41po
3•mikhael•1h ago•1 comments

2026 vs. 1996 Chevrolet Blazer IIHS crash test

https://www.youtube.com/watch?v=4U8Ero-3GxI
3•plun9•1h ago•2 comments

VoltanaLLM: Energy-Efficient LLM Serving

https://supercomputing-system-ai-lab.github.io/projects/voltana/
2•matt_d•1h ago•0 comments

2003-era DDR2 memory prices jump up to 60%

https://www.tomshardware.com/pc-components/dram/ddr2-memory-prices-jump-up-to-60-percent
2•pkaeding•1h ago•1 comments

Sakana Fugu Technical Report

https://www.chapterpal.com/s/7ff4f6ba/sakana-fugu-technical-report
1•theanonymousone•1h ago•1 comments

Show HN: Deploy to Vercel, Netlify, Railway, Render, Cloudflare in 1 Command

https://xiaohou2503687-design.github.io/shipfast-oss/
1•shipfastai•1h ago•0 comments

Intel shareholder sues to void deal giving U.S. gov $11B in stock for free

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6985440
6•de6u99er•1h ago•1 comments

Sakana Fugu Ultra promises to deliver "the best frontier-level performance"

https://www.theverge.com/ai-artificial-intelligence/953904/sakana-fugu-ai
1•theanonymousone•1h ago•1 comments

TSMC: 36.1 A 32Gb/s 10.5Tb/s/mm 0.6pJ/b UCIe-Compliant Low-Latency Interface 3nm

https://ieeexplore.ieee.org/document/10904767
3•Alien1Being•1h ago•0 comments

Trump Gets Negative Reviews Internationally as Fewer Say US Is Reliable Partner

https://www.pewresearch.org/global/2026/06/23/trump-gets-negative-reviews-internationally-as-fewe...
5•Bondi_Blue•1h ago•0 comments