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.

Commandments of Undertaking Postgraduate Research

https://bitsilla.com/blog/2020/07/the-10-commandments-of-doing-a-postgraduate-degree/
1•malteseunderdog•1m ago•1 comments

The Robot I Didn't Expect to Build

https://spectrum.ieee.org/agility-robotics-digit-5-redesign
1•sohkamyung•4m ago•0 comments

Kalen

https://kalen.si/
1•welsenesbros•4m ago•0 comments

So yeah it was written using AI

https://berthub.eu/articles/posts/so-yeah-it-is-written-using-ai/
1•kimi•7m ago•0 comments

Random Number

https://xkcd.com/221/
2•internet_points•7m ago•0 comments

Five ways El Niño is affecting the weather around the world

https://www.bbc.com/weather/articles/c6dx07dznpyyo
1•saikatsg•8m ago•0 comments

Private key compromise of eMudhra Intermediate Certificates

https://bugzilla.mozilla.org/show_bug.cgi?id=2083449
2•saikatsg•8m ago•0 comments

The internet vigilantes who weaponise kindness

https://www.bbc.com/future/article/20260922-kindness-trolls-the-internet-vigilantes-who-weaponise...
3•saikatsg•13m ago•1 comments

America's next big healthcare reform might be underway

https://www.vox.com/policy/506744/healthcare-democrats-public-option-obamacare-aca-insurance-colo...
1•dabinat•14m ago•0 comments

eMudhra Intermediate Certificates Compromised

https://blog.mozilla.org/security/2026/10/20/protecting-firefox-users-following-the-compromise-of...
3•ismayilkarimli•16m ago•0 comments

Long Animation Frames for game devs

https://debuff.jp/research/long-animation-frames-for-game-devs
1•gregjw•17m ago•0 comments

Eight Bits of Trust; eMudhra's CA keys cracked in milliseconds

https://scotthelme.co.uk/eight-bits-of-trust-emudhras-ca-keys-cracked-in-milliseconds/
3•hkc•19m ago•0 comments

The 1.5°C goal of the Paris Agreement is no longer viable

https://unric.org/en/unep-emissions-gap-report-2026-1-5-degree-overshoot/
3•velo_aprx•19m ago•0 comments

Agent Atoll: Visualise your Claude Code/Codex history on a 3D living archipelago

https://agent-atoll.pages.dev
1•jklp•23m ago•0 comments

Visual Lean: An experimental graphical user interface for writing Lean code

https://leangame.autumnofautumn.com/
1•Luc•26m ago•0 comments

Ask HN: What should I do with 50k verified emails

1•zerodollar•30m ago•1 comments

Big Tech Will Not Broadcast Your Dissent

https://www.motherjones.com/politics/2026/10/meta-x-no-kings-elections-protests-midterms-free-spe...
2•robtherobber•31m ago•0 comments

SaaS Development Outsourcing: 20 Questions to Ask Before You Sign

https://www.technology.org/2026/09/30/saas-development-outsourcing-20-questions-to-ask-before-you...
1•Aninay•33m ago•0 comments

Nordstjernen Web Browser

https://nordstjernen.org/
1•edward•34m ago•0 comments

JEP 543: Structured Concurrency (Java 28)

https://openjdk.org/jeps/543
2•lichtenberger•35m ago•0 comments

Anthropic disclosed an $80.7B net loss for the first half of 2026

https://www.wsj.com/tech/ai/anthropic-revenue-growth-ipo-accaf0f1
5•joennlae•36m ago•0 comments

Is Hacker News still a good predictor of tech trends?

https://installmap.com/research/hacker-news-lead-over-google
1•markusweber97•36m ago•0 comments

AI video effects from one or two photos, without writing prompts

https://aieffectstudio.com/
1•visiohex•36m ago•0 comments

Signs your software project needs rescuing – not another sprint

https://businesscloud.co.uk/opinion/signs-your-software-project-needs-rescuing-not-another-sprint/
1•Aninay•38m ago•0 comments

Did Satoshi Get Bitcoin Wrong? Claude's NSA Discovery Sparks Debate

https://tech.yahoo.com/ai/claude/articles/did-satoshi-bitcoin-wrong-claudes-123000042.html
2•cybermango•39m ago•0 comments

ByteDance, Alibaba, Tencent place over $35B worth of Nvidia chip orders

https://www.reuters.com/business/retail-consumer/bytedance-alibaba-tencent-place-over-35-billion-...
4•giuliomagnifico•40m ago•0 comments

Claude Code Spotted a Cryptominer on Mac While Building a Temperature App

https://www.gadgetreview.com/claude-code-spotted-a-cryptominer-on-mac-while-helping-to-build-a-te...
3•cybermango•40m ago•0 comments

Learning by building a multi-agent design lab. Yet, single agent works better

https://github.com/bencodev/dsgnrd
2•benoit_cotte•43m ago•0 comments

Finland Buying a Million Landmines

https://yle.fi/a/74-20252139
2•vrganj•44m ago•0 comments

Programming by hand is fun but it's better to not have to do it any more

https://twitter.com/GruPiotr/status/2112825278397341710
2•piotrgrudzien•47m ago•0 comments