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

Comments

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

Zero-build privacy policies with Astro

https://www.openpolicy.sh/blog/no-build-astro
1•jamie_davenport•1m ago•0 comments

Show HN: List of Design Md Files

https://github.com/bergside/awesome-design-md-skills
1•elwingo1•2m ago•0 comments

Rage: A modern Ruby framework designed for non-blocking I/O

https://github.com/rage-rb/rage
1•thunderbong•5m ago•0 comments

Apple Home is expanding its energy management features (2025)

https://www.theverge.com/news/685733/apple-home-energykit-energy-management-ios26-wwdc
1•zeristor•10m ago•1 comments

Dubai considering canal to bypass Strait of Hormuz (2008)

https://www.freightwaves.com/news/dubai-considering-canal-to-bypass-strait-of-hormuz
1•JumpCrisscross•10m ago•0 comments

Seeduplex: ByteDance's full-duplex voice AI

https://seeduplex.io
1•caoq•10m ago•1 comments

CLI proxy that reduces LLM token consumption by 60-90% on common dev commands

https://github.com/rtk-ai/rtk
2•ahamez•11m ago•0 comments

I watched Claude Code read my AWS credentials on startup

https://github.com/diemoeve/forgeterm/releases/tag/v0.2.0
2•storm677•11m ago•0 comments

Ask HN: Are you encountering AI-related questions in the hiring market?

2•somthingwrong•13m ago•0 comments

My turns any API into an AI agent in 60 seconds

https://www.indiehackers.com/post/i-built-a-platform-that-turns-any-api-into-an-ai-agent-in-60-se...
2•AnimeMyPic•17m ago•0 comments

I Lost This Once

https://johnie.se/writing/i-already-lost-this-once
1•div3rs3•17m ago•0 comments

Show HN: I Built an LLM Harness for Language Learning

https://language.coursely.ai/begin
1•MO-379•18m ago•0 comments

Model Architecture Description Encyclopedia

https://madl.si5.pl/
1•izik•18m ago•0 comments

Track List – Track Your Favorite GitHub List Daily

https://www.trackawesomelist.com/
1•triilman•25m ago•0 comments

CVE-2026-23869: CVSS 7.5 in React Server Components lead to Denial of Service

https://vercel.com/changelog/summary-of-cve-2026-23869
1•altbdoor•28m ago•0 comments

AES Cipher and Dechiper

https://github.com/loperfido/aes256
1•loperfido•30m ago•0 comments

Lobsters Interview with Internet_Janitor

https://alexalejandre.com/programming/interview-with-john-earnest/
1•birdculture•32m ago•0 comments

Particles seen emerging from empty space for first time

https://www.newscientist.com/article/2522324-particles-seen-emerging-from-empty-space-for-first-t...
4•isaacfrond•32m ago•0 comments

Show HN: A security scanner for AI Agent Skills

https://github.com/Fangcun-AI/SkillWard/tree/main
3•mayziem•32m ago•0 comments

Show HN: Search cheap night train tickets in Europe

https://trainbot.eu/
1•druskacik•33m ago•0 comments

The Uncensored Library

https://www.uncensoredlibrary.com/en
1•28304283409234•33m ago•0 comments

Ask HN: How do you make paywalls in ATProtocol?

1•Gooblebrai•35m ago•0 comments

PostgresBench: A Reproducible Benchmark for Postgres Services

https://clickhouse.com/blog/postgresbench
2•tosh•35m ago•0 comments

Show HN: Run GUIs as Scripts

https://github.com/skinnyjames/hokusai-pocket
2•zero-st4rs•46m ago•0 comments

Agentic AI in 2026: Who's building real systems?

https://simplai.ai/blogs/what-is-enterprise-ai/
2•shanmugarajsk•49m ago•0 comments

The Music of the Spheres

https://www.smbc-comics.com/comic/spheres-part-1
2•robin_reala•50m ago•0 comments

Capture-Quiet Decomposition: A Verification Theorem for Chess Endgame Tablebases

https://arxiv.org/abs/2604.07907
1•RusDyn•56m ago•0 comments

iPhone Fold is 'on track' to launch this September, per Mark Gurman

https://9to5mac.com/2026/04/07/iphone-fold-is-on-track-to-launch-this-september-per-mark-gurman/
1•prawn•56m ago•0 comments

Why Apple Is Betting Against Native iOS Development

https://medium.com/@mrhotfix/why-apple-is-secretly-betting-against-native-ios-development-c67cb34...
1•antfarm•58m ago•0 comments

The Model Is Not the Product: Harnesses Will Define the Next Phase of AI

https://www.mountaineagle.net/articles/display/the-model-is-not-the-product-harnesses-not-intelli...
2•uswn•1h ago•0 comments