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.

What the Fox Say?

https://entropicthoughts.com/what-the-fox-say
1•ndr•2m ago•0 comments

Russia arrests two men who ran a website for train enthusiasts

https://meduza.io/en/feature/2026/10/19/russia-arrests-two-men-who-ran-a-website-for-train-enthus...
1•uxhacker•4m ago•0 comments

Compile-time dependent types in the Syl programming language

https://thenumb.at/Syl-Intro/
1•fanf2•6m ago•0 comments

Fly.io Sprites: Storage not ready blocked execution and checkpoint access

https://gist.github.com/acmerfight/c57f6d0cb9ad776e934f88307e7ec64c#english
1•acmerfight•7m ago•0 comments

Open Community Leadership: What Is That?

https://georgiker.com/blog/open-community-leadership-what-is-that/
2•lumpa•8m ago•0 comments

Golden Spider Silk Cape

https://en.wikipedia.org/wiki/Golden_Spider_Silk_Cape
1•simonebrunozzi•10m ago•0 comments

Corvus – A lightweight native Signal client in Qt

https://github.com/ada-h00k/Corvus
1•ada-h00k•10m ago•0 comments

How Firebird QA works and why it needs to be stronger

https://firebirdsql.org/file/articles/firebird-qa-en.html
1•mariuz•12m ago•0 comments

The Tale of a Thousand Side Projects

https://goulashify.substack.com/p/the-tale-of-a-thousand-side-projects
2•dani-•14m ago•0 comments

Is a database per agent (or task) a useful pattern?

https://github.com/objectbox/adhoc-db-benchmarks
1•greenrobot_de•16m ago•0 comments

Logs Ingestion Benchmark: Loki, Elasticsearch, VictoriaLogs and ClickHouse

https://victoriametrics.com/blog/structured-log-ingestion-benchmark/index.html
1•valyala•21m ago•0 comments

Failed $44B Firmus float probed by corporate watchdog

https://www.smh.com.au/business/companies/failed-44b-firmus-float-probed-by-corporate-watchdog-20...
1•misswaterfairy•23m ago•1 comments

Bitcoin direction model I built lost to "price stays the same"

https://btcforecaster.com/
1•mpeluso•26m ago•0 comments

AI Did Not Break Education, It Revealed the Bug

https://georgiker.com/blog/ai-did-not-break-education/
3•lumpa•27m ago•1 comments

Robotics AI Suite

https://developer.robotics.intel.com/
1•T-A•30m ago•0 comments

Nim Version 2.4.0

https://nim-lang.org//blog/2026/10/28/nim-240.html
2•WithinReason•35m ago•0 comments

Billionaires shatter spending record to fight California wealth tax

https://www.politico.eu/article/billionaires-shatter-spending-record-to-fight-california-wealth-tax/
2•teom•37m ago•0 comments

First EU AI Act harmonised standard

https://digital-strategy.ec.europa.eu/en/library/first-harmonised-standard-supporting-ai-act-publ...
2•fscaramuzza•37m ago•0 comments

My GitHub account has been suspended

2•nahid-fahh•40m ago•2 comments

Out of My Other Mind – What are the defining characteristics of a conscious AI?

https://theofficialacm.substack.com/p/what-would-it-take-to-convince-us
2•rbanffy•42m ago•0 comments

Tell HN: Claude Code adds your email to the prompt, the LLM sends it to websites

2•TekMol•42m ago•0 comments

An AI agent performed brain surgery on a mouse

https://twitter.com/OcanaSantero/status/2115442964574908902
1•dsrtslnd23•44m ago•0 comments

Show HN: Halis – A secure, self-hosting, native-first programming language

https://github.com/mhieuhonda/halis-lang/
1•hieulouisdev•50m ago•0 comments

Show HN: Adaptive Math Learning Platform

https://mathua.com/
1•ahmedhossamdev•50m ago•0 comments

Universal Paperclips

https://www.decisionproblem.com/paperclips/
2•azhenley•52m ago•0 comments

Spain train crash: What we know after two trains crashed with dozens feared dead

https://www.bbc.com/news/articles/cm8xz7pkd0jjo
3•ZeljkoS•53m ago•0 comments

Stack Overflow Graphs Prove Nothing

https://techstackups.com/articles/stackoverflow-graphs-prove-nothing/
1•ritzaco•53m ago•0 comments

The Origin of Tweet (2013)

https://furbo.org/2013/06/28/the-origin-of-tweet/
2•simonebrunozzi•54m ago•0 comments

The work we can't delegate

https://www.mozestudio.com/journal/the-work-we-cant-delegate
1•sergiopan•55m ago•0 comments

Microsoft just shared Azure's actual revenue in dollars: $33.2B

https://techcrunch.com/2026/10/28/microsoft-just-shared-azures-actual-revenue-in-dollars-33-2-bil...
2•ksec•57m ago•0 comments