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.

Show HN: GDSL – Extending the compiler down to memory and up to the web

https://goldensystems.ca/GDSL
1•FirTheMouse•15s ago•0 comments

How to Beat the Machines Before They Beat You

https://thedarksideoftheboom.substack.com/p/one-for-the-trader-how-to-beat-the
1•RickJWagner•1m ago•0 comments

Show HN: Getting to the top of Show HN is getting harder

https://artifactbin.dev/@vivek/6bXsx3-vol-2-show-hn-hall-of-fames
1•ppsreejith•3m ago•0 comments

Ask HN: Is AI a Powerdrill?

1•dfps•4m ago•0 comments

What did she see? The intelligence scramble to trace an accused spy's footsteps

https://www.cbc.ca/news/politics/canada-china-spy-nato-intelligence-9.7331493
1•Teever•4m ago•0 comments

Show HN: MobileCode – OpenCode with Built-In iOS and Android Previews

https://github.com/hsandhu/mobilecode
2•rsandhu•5m ago•0 comments

Show HN: Repolis – A visual way to explore GitHub repositories

https://hyeonsangjeon.github.io/Repolis/?view=plaza&lang=en
1•shizzydigital•6m ago•1 comments

Swiftask just raised €1.55M to scale its AI agent deployment

https://agence-api.ouest-france.fr/numerique/swiftask-securise-1-55-m-euros-pour-deployer-ses-age...
1•stanislasrandri•8m ago•0 comments

MITx is ending access to its courses for learners in Iran on September 8

1•mahdihabibi•9m ago•0 comments

Annote – visual feedback and element context for coding agents

https://annote-ui.netlify.app/
2•pelumialesh•11m ago•0 comments

The Project 2038 Frequently Asked Questions (FAQ)

https://maul.deepsky.com/%7Emerovech/2038.html
3•Bluestein•12m ago•0 comments

Show HN: Art – draw one stroke, let symmetry complete it

https://mrdee.in/mandala/
4•cyb0rg0•14m ago•1 comments

Tao's concerns on future AI solution to Navier-Stokes finite-time blowup problem

2•ogogmad•18m ago•0 comments

Berlin cyberattack: hackers leak highly sensitive data across dark web

https://www.euronews.com/next/2026/09/05/berlin-cyberattack-hackers-leak-highly-sensitive-data-ac...
5•leumon•18m ago•0 comments

Youtubers being paid to spread AI FUD

https://www.youtube.com/watch?v=lPdmYMHrWKg
7•mapontosevenths•19m ago•0 comments

The Year 2038 Problem

https://en.wikipedia.org/wiki/Year_2038_problem
2•thinkingemote•21m ago•1 comments

Maintainer Agents

https://blog.bilus.dev/posts/agent-maintainers/
2•bilus•23m ago•0 comments

Let's Remember Some Publications That Said We Would Get to Mars by 2026

https://defector.com/lets-remember-some-publications-that-said-we-would-get-to-mars-by-2026
3•mmooss•24m ago•0 comments

Why are we still doing versioned database migrations?

https://blog.elis.cc/articles/why-are-we-still-doing-versioned-database-migrations/
2•el1s7•25m ago•0 comments

Show HN: Created a WhatsApp <-> discord bridge (no business API)

https://github.com/Karvy-Singh/OSdc-wa
2•karvySingh•26m ago•0 comments

Rebuilding a 1995 GPS Time Server so I don't get Telstra'd

https://www.jeffgeerling.com/blog/2026/truetime-xl-gps-time-server-restomod/
5•Brajeshwar•27m ago•0 comments

Better ClearType Tuner

https://github.com/bp2008/BetterClearTypeTuner
2•XzetaU8•34m ago•0 comments

The Straits Are Not OK

https://foreignpolicy.com/2026/08/07/history-hormuz-straits-iran-war-trump/
3•CharlesW•36m ago•1 comments

UN votes to adopt new world map to reflect Africa's true size

https://www.bbc.com/news/articles/ce30vp55dnlo
2•jonah•38m ago•0 comments

Register domains wherever you build: Cloudflare Registrar API now in beta

https://blog.cloudflare.com/registrar-api-beta/
1•chiemika•39m ago•0 comments

Disruptive passenger duct-taped to seat as plane makes emergency landing

https://www.cnn.com/2026/09/04/us/disruptive-passenger-duct-tape
3•speckx•39m ago•0 comments

Atom: American Open Models (2025)

https://atomproject.ai
2•kristianpaul•39m ago•0 comments

Defcon 34 – Hacking AI – Bruce Schneier (video)

https://www.youtube.com/watch?v=eEBv0STiYhI
2•dgellow•40m ago•0 comments

Reform UK's Nigel Farage 'disgusts' Dexys Midnight Runners for using their song

https://www.msn.com/en-gb/entertainment/general/reform-uk-s-nigel-farage-disgusts-birmingham-s-de...
3•jjgreen•41m ago•0 comments

OpenAI admits to German wiki 'incident'

https://www.theverge.com/ai-artificial-intelligence/990773/openai-german-wiki-incident
8•sbulaev•42m ago•0 comments