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.

Go System One

https://rcarmo.github.io/projects/go-system-one/
2•rcarmo•5m ago•0 comments

Jensen Huang says the junior developer problem ends in two years

https://thenewstack.io/huang-ai-agents-engineers/
1•monkeydust•6m ago•0 comments

Physical Self-Play

https://www.skild.ai/blogs/physical-self-play
1•mostlyk•8m ago•0 comments

Ask HN: Can you suggest an interesting skill?

2•skwasimin•13m ago•4 comments

LensVLM-9B by Apple

https://huggingface.co/papers/2605.07019
5•nthypes•17m ago•0 comments

Agent Etna – Automated staging environment and regression compiler for AI agents

https://www.agentetna.com/
1•giuerr•17m ago•0 comments

WebGPU-Bench: A WebGPU Microbenchmark

https://ben3d.ca/blog/introducing-webgpu-bench
2•ibobev•18m ago•0 comments

Realtime Raytracing in Bevy 0.20 (Solari)

https://jms55.github.io/posts/2026-09-18-solari-bevy-0-20/
1•ibobev•18m ago•0 comments

AI can never produce sublime art

https://hilariusbookbinder.substack.com/p/ai-can-never-produce-sublime-art
2•bananaflag•18m ago•0 comments

ALP: Adaptive Lossless Floating-Point Encoding in Apache Parquet

https://parquet.apache.org/blog/2026/09/22/alp-adaptive-lossless-floating-point-encoding-in-apach...
1•ibobev•18m ago•0 comments

Show HN: Lifeboat, 2-6x more concurrent agent sessions per GPU, no quantization

https://github.com/IterateAI/lifeboat-releases
1•chanuiterate•19m ago•0 comments

Why Omarchy Exists

https://mikael.pika.page/posts/why-omarchy-exists
6•mikae1•20m ago•0 comments

The Python documentation is now available in Persian

https://blog.python.org/2026/09/the-python-documentation-is-now-available-in-persian/
2•lumpa•21m ago•0 comments

An LLM Beat NetHack

https://kenforthewin.github.io/blog/posts/llm-nethack-ascension/
2•jwm1•21m ago•0 comments

The Most Important Market in AI Is the Middle

https://tomtunguz.com/the-most-important-market-in-ai-is-the-middle/
1•simonpure•24m ago•0 comments

Cursor Introducing Projects

https://cursor.com/blog/projects
2•Leonerd•24m ago•0 comments

Immigration changes are driving foreign researchers to leave the U.S.

https://www.statnews.com/2026/05/04/trump-immigration-policy-stat-survey-measures-science-impact/
3•Bluestein•25m ago•0 comments

Are we going to use the same Desktop UX forever? [video]

https://media.ccc.de/v/kde2026-7-are_we_really_going_to_use_the_same_desktop_ux_forever
1•ognarb•26m ago•0 comments

How the pro-nicotine 'wellness' movement rebranded an addictive drug

https://theconversation.com/how-the-pro-nicotine-wellness-movement-rebranded-an-addictive-drug-29...
1•devilcius•26m ago•0 comments

Empire of Grift

https://www.theatlantic.com/magazine/2026/10/maga-foreign-policy/688352/
4•rbanffy•26m ago•0 comments

CP/M-80 2.2 Compilers. (Update from June 19, 2026: Dave Glover – by David Lee

https://medium.com/@davidly_33504/cp-m-80-2-2-compilers-91958a8f1d58
2•rbanffy•27m ago•0 comments

Signature 27 is likely Motorola's first smartphone with GrapheneOS support

https://www.heise.de/en/news/Signature-27-is-likely-Motorola-s-first-smartphone-with-GrapheneOS-s...
1•thunderbong•27m ago•0 comments

Ten thousand magnets later – CERN Courier

https://cerncourier.com/ten-thousand-magnets-later/
1•rbanffy•27m ago•0 comments

Developers Song (2011) [video]

https://www.youtube.com/watch?v=RwMvW9cAIZg
1•thesdev•28m ago•0 comments

What are passkeys? A simple guide for friends and family

https://whatarepasskeys.info/
2•timmyc123•30m ago•1 comments

Show HN: QBasic 1.1 in the Browser

https://www.vahidyousefzadeh.com/qbasic/app
4•vahidce•32m ago•1 comments

How can this Amazon scammer keep going, not shipping any goods?

https://www.amazon.de/sp?language=en&ie=UTF8&seller=A29EBN4DXM8UCL&asin=B0CGBFF8K9&ref_=dp_mercha...
22•kiloklokillo•33m ago•15 comments

The Cloudflare error page X icon is not centered

https://infosec.exchange/@rebane2001/117319966425143761
2•ambigious7777•33m ago•0 comments

Open Source World of Warcraft Client in C++ and Vulkan Renderer

https://github.com/Kelsidavis/WoWee
1•m0do1•34m ago•0 comments

Show HN: Free attestation for AI agent decisions – verifying one costs $0.10

https://github.com/0xsims/rubric-attest
1•RubricProtocol•34m ago•0 comments