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.

AI2Web: Open protocol to make any website work with every AI agent

https://ai2web.dev/
1•rolandfarkas•1m ago•0 comments

One Wikipedia page costs your AI agent 68,000 tokens

4•arhamislam5766•4m ago•0 comments

Baptism Saves You -This is the best explanation of why

https://silvestro2026.substack.com/p/baptism-saves-you
1•silvestromedia•5m ago•0 comments

Maura Gillison, who linked HPV to head and neck cancer, dies at 61

https://cancerletter.com/obituary/20260702_2/
1•tortilla•8m ago•0 comments

Math Visualizations of the AI Layoff Trap

https://mattlane.us/stories/dailemma
1•mmmaaatttttt•8m ago•0 comments

Ask HN: How has the internet devolved in recent years?

1•fridayblunt•12m ago•0 comments

Zero Sum Attribution Powered by AI

https://www.upside.tech/platform/pipedash/
1•mada299•13m ago•0 comments

Count Binface, Nigel Farage's space-warrior foe

https://www.economist.com/the-world-in-brief/2026/07/11/b240d63f-2768-43dd-89b6-2bdceb6df745
2•tagawa•13m ago•0 comments

Show HN: A pixel pet for your GitHub README that eats your commits

https://github.com/Nomlings/badge
1•franwbu•14m ago•0 comments

Show HN: Atuin AI Proxy bridges Hub AI to an OpenAI-compatible endpoint

https://github.com/Vlad1mir-D/atuin-ai-proxy
1•Am1G0•15m ago•0 comments

State Actors and AI Slop Are Amplifying the Homegrown Data Center Revolt

https://alethea.com/insights/how-state-actors-and-ai-slop-are-amplifying-data-center-revolt
2•m-hodges•15m ago•0 comments

Rise of the 'Slop Zombies'

https://www.machinesociety.ai/p/rise-of-the-slop-zombies
2•mikelgan•16m ago•1 comments

How to become a -10x Engineering Manager

https://medium.com/@jackiexu1228/how-to-be-a-10x-engineering-manager-a9fa8e3dd558
1•kokodoko•17m ago•0 comments

Which 'AI scientist' suits your lab? A guide for the perplexed

https://www.nature.com/articles/d41586-026-02091-6
1•gnabgib•18m ago•0 comments

I Like Using Scrollbars

https://www.arp242.net/scrollbar.html
1•ingve•20m ago•0 comments

From Venture Rankings to Venture Decisions

https://www.thestateofventure.com/p/from-venture-rankings-to-venture
1•kteare•21m ago•0 comments

Unlocking the PSP's Dual Core Setup

https://wololo.net/2026/06/16/unlocking-the-psps-dual-core-setup/
1•msephton•25m ago•0 comments

Show HN: Hana JIT – LLVM-backed Python JIT with genetic-algorithm superoptimizer

https://github.com/ezducate/HanaJit
1•iqbal1980•26m ago•0 comments

Security settings every GitHub maintainer should enable this week

https://github.blog/security/6-security-settings-every-github-maintainer-should-enable-this-week/
1•mooreds•37m ago•0 comments

Build your favorite technologies from scratch

https://github.com/codecrafters-io/build-your-own-x
1•kamphey•38m ago•0 comments

What Does a WordPress Development Company Do?

https://www.techwrath.com/what-does-wordpress-development-company-do/
1•techwrath11•40m ago•0 comments

Wine 11.13 – Run Windows Applications on Linux, BSD, Solaris and macOS

https://www.winehq.org/announce/11.13
1•neustradamus•42m ago•0 comments

Agents of Our Own Illiteracy

https://royalicing.com/2026/agents-of-our-own-illiteracy
1•burntcaramel•43m ago•0 comments

Classicist Emily Wilson: 'Odysseus is a different kind of conman'

https://www.ft.com/content/3edbfdf4-cb20-4393-9d5d-ffc1dd241ca4
1•petethomas•46m ago•1 comments

Project Cybersyn

https://en.wikipedia.org/wiki/Project_Cybersyn
1•lschueller•47m ago•0 comments

Hermes – AI that turns customer behavior into actions instead of dashboards

https://tryhermes.dev
1•germainhirwa•48m ago•0 comments

Old Car Racing Photos (2021)

https://toni.org/2021/01/26/old-car-racing-photos/
1•mooreds•49m ago•0 comments

Grok Build hides a Doom-like 'easter egg' game behind the /gboom command

https://runtimewire.com/article/exclusive-grok-build-hides-a-doom-like-easter-egg-game-behind-the...
1•ryanmerket•49m ago•0 comments

A Big Headache for Police: Getting Driverless Cars to Obey Traffic Laws

https://www.wsj.com/business/autos/a-big-headache-for-police-getting-driverless-cars-to-obey-traf...
2•apparent•52m ago•1 comments

GPT-5.6 Luna outperforms GPT-5.5 on health reasoning, while being 25x cheaper

https://twitter.com/OpenAI/status/2075686461693898868
1•rstagi•58m ago•0 comments