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.

Why local AI – and why it matters

https://nexusfoundation.ngo/why-local-ai
1•kris_osiadacz•2m ago•0 comments

Braess's Paradox

https://en.wikipedia.org/wiki/Braess%27s_paradox
1•the-mitr•2m ago•0 comments

Bobby Prince's Doom (1993) Soundtrack Inducted into Library of Congress

https://playday.one/2026/05/14/bobby-princes-doom-soundtrack-inducted-into-library-of-congress/
1•nomilk•3m ago•0 comments

Phoebus Cartel

https://en.wikipedia.org/wiki/Phoebus_cartel
1•thunderbong•4m ago•0 comments

Build your own vulnerability harness

https://blog.cloudflare.com/build-your-own-vulnerability-harness/
1•Gipsyfine•5m ago•0 comments

Finding the Link Uber Missed: How to Connect AI Code Spend to Business Value

https://medium.com/@navigara/you-cant-measure-roi-on-ai-coding-tools-if-you-never-measured-engine...
1•alienll•8m ago•0 comments

Show HN: NetSentinel – a local network security scanner and connectivity monitor

https://github.com/ossianericson/netsentinel
2•ossianericson•8m ago•0 comments

BookMarkr – Local first visually organized bookmark Chrome extension

https://chromewebstore.google.com/detail/bookmarkr-—-visual-bookma/lianafemkbankodapdaokiefoffi...
1•mnomansd•9m ago•0 comments

Unreal deprecrates Blueprints, their visual programming language in UE6.1

https://xcancel.com/unrealengine/status/2067661808903577646
1•Signez•9m ago•0 comments

Lakehouse//RT: Real-Time Performance on a Unified Lakehouse

https://www.databricks.com/blog/introducing-lakehousert-real-time-performance-unified-lakehouse
1•throwaw12•9m ago•0 comments

How to Drive an LLM

https://home.robusta.dev/blog/how-to-drive-an-llm
1•nyellin•10m ago•0 comments

What 'Getting Your Hands Dirty' Means at LLM-Era

https://carette.xyz/posts/the_mud_and_the_mind/
5•maarcel93•17m ago•0 comments

The new HTTP QUERY method explained

https://kreya.app/blog/new-http-query-method-explained/
3•CommonGuy•18m ago•0 comments

Gemini provides phone number of scammer posing as Delta Airlines

https://old.reddit.com/r/artificial/comments/1u9t7mp/gemini_helped_me_get_scammed/
1•LeoPanthera•18m ago•0 comments

Ask HN: What do you use for scientific presentations?

2•hamburgererror•24m ago•0 comments

Show HN: UAVs FYI – Drone database with supply chain data, API and CLI

https://www.uavs.fyi/
1•Osoraku•25m ago•0 comments

GLM-5.2: Chop off 84% of the volume from a 1.5TB model, still retain 82% power

https://twitter.com/AYi_AInotes/status/2067642004184383564
4•vantareed•25m ago•1 comments

Claude Artifacts

https://claude.com/blog/artifacts-in-claude-code
3•czeizel•27m ago•1 comments

Show HN: One-click fork of "Everything Claude Code" onto an isolated microVM

https://www.jurniti.com/templates/ecc
1•shving90•28m ago•0 comments

Trillions of dollars spent just to work on customer services?

5•YihaoZhang•29m ago•0 comments

Capitol Alpha Machine – interactive viz of congressional stock trades

https://capitolalpha.app/
1•sylvainbe•33m ago•0 comments

GCP IAM Authorization Bypass

https://olearysec.com/research/config-connector-authorization-bypass/
3•sanbor•33m ago•0 comments

Show HN: Avera – a deterministic check that proves no regression was introduced

https://github.com/tc7kxsszs5-cloud/avera
1•kiku79•34m ago•0 comments

Build yor form back end infrastrture under 30sec

1•unaisshemim•35m ago•1 comments

Elysia Marginata

https://en.wikipedia.org/wiki/Elysia_marginata
1•ZeljkoS•37m ago•1 comments

RemotePower – self-hosted fleet monitoring with built-in vulnerability scanning

https://github.com/tyxak/remotepower
1•tyxak•42m ago•0 comments

Show HN: I was drowning in browser tabs, so I built this

https://microsoftedge.microsoft.com/addons/detail/gopeek/ffaeanmhghmohbponokefmbhfkkomnmk
4•formit34•42m ago•3 comments

Icon.museum – A curated gallery of app icon design

https://icon.museum
2•akashwadhwani35•43m ago•0 comments

Impossible Challenge

https://itch.io/jam/impossible-challenge
1•alisio85•43m ago•0 comments

Terminal-Bench Challenges: long-horizon, token-intensive, single-task benchmarks

https://www.tbench.ai/news/terminal-bench-challenges
1•matt_d•43m ago•0 comments