frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•11mo ago

Comments

llm-exe•11mo 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•11mo 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.

Ask HN: What Happened to the CS153 Videos

1•mapleleaf1921•2m ago•0 comments

PyPI Fixes High-Severity Access Control Issues Found in Security Audit

https://socket.dev/blog/pypi-fixes-high-severity-issues-found-in-security-audit
1•feross•3m ago•0 comments

Measuring Strategic Work

https://fullhoffman.com/2026/03/30/on-measuring-strategic-work/
1•adunk•3m ago•0 comments

UK firm pioneers data centres using lampposts

https://www.bbc.com/news/articles/c98r4e594p7o
1•1659447091•6m ago•0 comments

Farewell to a Giant of Botany

https://nautil.us/farewell-to-a-giant-of-botany-1280409
1•Tomte•8m ago•0 comments

Ask HN: What was your "why didn't I start doing this sooner" moment?

1•chistev•8m ago•1 comments

Show HN: Detecting running processes using AF_ALG

https://github.com/NHAS/detect-running-alg-socket
1•Nullence•8m ago•0 comments

gRPC service to MCP server with a single proto annotation, autogen for slackers

https://github.com/gdsoumya/protomcp
1•gdsoumya•10m ago•0 comments

I Do Not Recommend Bitwarden

https://xn--gckvb8fzb.com/i-do-not-recommend-bitwarden/
2•HotGarbage•17m ago•0 comments

Just-Bash: A Full Shell Environment That Never Touches Your Disk

https://www.codeline.co/thoughts/repo-review/2026/just-bash-virtual-shell-for-ai-agents
1•ankitg12•21m ago•0 comments

Majority of US Military sites in Middle East damaged by Iran [video]

https://www.cnn.com/2026/05/01/world/video/us-military-bases-iran-strikes-images-invs-digvid
2•hggh•24m ago•0 comments

Your App Should Ship an MCP Server

https://justin.poehnelt.com/posts/ship-mcp-server-native-app/
1•justinwp•28m ago•3 comments

Show HN: I made an AI task scheduling app

https://apps.apple.com/us/app/taskmaster-ai-assistant/id6761262496
1•omiliyomami•28m ago•0 comments

Apple Launches New All-in-One Apple Business Platform for Device Management

https://www.macrumors.com/2026/04/14/apple-business-platform-launches/
1•walterbell•31m ago•0 comments

Raspberry Pi 5 gets LLM smarts with AI HAT+ 2

https://www.theregister.com/2026/01/15/pi_5_ai_hat_2/
1•barqawiz•54m ago•0 comments

Show HN: Stop playing my matchstick puzzles, start building your own in seconds

https://mathstick.github.io
2•trangram•1h ago•1 comments

Why are neural networks and cryptographic ciphers so similar?

https://reiner.org/neural-net-ciphers
1•jxmorris12•1h ago•0 comments

Amazon.com (1999)

https://web.archive.org/web/19990828014913/http://www.amazon.com/
1•for_i_in_range•1h ago•0 comments

Show HN: Embed your Codex pets in React apps

https://github.com/backnotprop/codex-pets-react
1•ramoz•1h ago•0 comments

Isbell Duality (2022)

https://www.alphaxiv.org/abs/2212.11079
1•measurablefunc•1h ago•0 comments

You Have No Idea How Much You Still Use BlackBerry

https://www.wsj.com/tech/blackberry-qnx-software-cars-bf2a2280
3•thm•1h ago•1 comments

GrapheneOS: The Linux kernel is a fundamentally anti-security project

https://twitter.com/GrapheneOS/status/2035450069118296272
5•maxloh•1h ago•2 comments

Evenpairs – Curated Introductions for Professionals

https://evenpairs.com/
2•bharathkoyyedi•1h ago•1 comments

Why does it take so long to release black fan versions?

https://www.noctua.at/en/expertise/blog/how-can-it-take-so-long-to-release-black-fan-versions
8•buildbot•1h ago•0 comments

Texico: Learn the principles of programming without even touching a computer

https://www3.nhk.or.jp/nhkworld/en/shows/texico/
2•o4c•1h ago•0 comments

Dominant Resource Fairness: Fair Allocation of Multiple Resource Types [pdf]

https://amplab.cs.berkeley.edu/wp-content/uploads/2011/06/Dominant-Resource-Fairness-Fair-Allocat...
1•tibbar•1h ago•0 comments

Beware the Hats: A Warning from the Streets of Majorca

https://fshot.org/techzone/bewareofhats.php
1•victorkulla•1h ago•0 comments

AI-CLI – Generate anything from your terminal

https://ai-cli.dev/
2•nikolay•1h ago•0 comments

Show HN: Raptor – fast, energy efficient small file uploads to S3

https://github.com/proxylity/raptor
3•mlhpdx•1h ago•0 comments

LibreOffice 26.2.3 Released – What Is New and What Was Fixed?

https://tux.re/forum/viewtopic.php?t=210
2•tux033•1h ago•0 comments