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.

ARB – A Differentiable Rigid Body Simulation Library Using C++23

https://github.com/wbyates777/Articulated-Rigid-Body
1•wbyates777•23s ago•1 comments

Experts struggle to understand new list of political jobs at science agencies

https://www.science.org/content/article/weird-and-capricious-experts-struggle-understand-new-list...
1•pseudolus•30s ago•0 comments

Turbcast – turbulence forecast for any commercial flight

https://www.turbcast.com
1•LeonDavies•1m ago•0 comments

Nottingham Uni says student records raided after ShinyHunters claims cyberattack

https://www.theregister.com/cyber-crime/2026/06/11/shinyhunters-raids-nottingham-uni-for-student-...
1•wlkr•1m ago•0 comments

OpenAI Considers Drastic Price Cuts, Anticipating War for Users with Anthropic

https://www.wsj.com/tech/ai/openai-considers-drastic-price-cuts-anticipating-war-for-users-with-a...
1•uxhacker•2m ago•2 comments

Anthropic Walks Back Policy That Could Sabotage AI Researchers Using Claude

https://simonwillison.net/2026/Jun/11/anthropic-walks-back-policy/
1•lumpa•3m ago•0 comments

Depgaze – Dependency Execution Intelligence

https://www.depgaze.xyz/
1•gcarlo•3m ago•0 comments

America's spy powers are in deep trouble

https://www.axios.com/2026/06/11/fisa-reauthorization-bill-pulte-trump-johnson
1•rguiscard•5m ago•0 comments

The first-ever reverse-aging drug was just injected into a human

https://www.businessinsider.com/first-ever-reverse-aging-treatment-injected-into-a-human-2026-6
1•daniel_iversen•5m ago•0 comments

Reverse Engineering the Anticheat on a Private MMO Server

https://blog.cristianrz.eu.org/posts/active-anticheat/
1•cautious-fly•7m ago•0 comments

Is your agent extension working?

https://developer.microsoft.com/blog/is-your-agent-extension-actually-working
1•waldekm•8m ago•0 comments

AMD claims 256-core Zen 6 'Venice' CPU beats Nvidia Vera by 3.3x

https://www.tomshardware.com/pc-components/cpus/amd-fires-back-at-nvidia-claiming-256-core-zen-6-...
1•giuliomagnifico•8m ago•0 comments

Transform plain text into polished LinkedIn-ready writing

https://www.linkedinspeaktranslator.org/
2•juniceshen•12m ago•0 comments

How Europe Lost the Plot on Online Speech

https://www.foreignaffairs.com/europe/end-open-internet
2•gasull•17m ago•0 comments

Safari Technology Preview's self-destructive macOS support policy

https://lapcatsoftware.com/articles/2026/6/2.html
2•latexr•17m ago•0 comments

Do We Still Need to Learn Programming? Probably Yes

https://www.generativenetworks.com/blog/do-we-still-need-to-learn-programming/
1•amiune•19m ago•0 comments

Yoti CEO Lies in Response to Scholarly Article Regarding Their Age Verification [video]

https://www.youtube.com/watch?v=4AsWNMvGqy0
1•Cider9986•21m ago•0 comments

Reinventing Entropy – Compression Is Intelligence Part 1

https://www.youtube.com/watch?v=l6DKRf-fAAM
1•doener•23m ago•0 comments

Openpray: Periodically asks an LLM to pray for the server it runs on

https://github.com/jesseduffield/openpray
1•chilli_axe•24m ago•0 comments

Show HN: I Built the Best Google Alternative for Gen-Z, Googling Like TikToking

https://www.bluhe.ai
1•dhavd•25m ago•1 comments

The Entropic Brain Today

https://pubmed.ncbi.nlm.nih.gov/42266156/
1•XzetaU8•25m ago•0 comments

Macrodata Refiner – infrastructure for the robotics data loop

https://macrodata.co
3•Tmpod•28m ago•1 comments

Show HN: ATS Glyph – open-source ATS-style resume simulator for job seekers

https://github.com/ste1v0/atsglyph
1•ste1v0•28m ago•0 comments

Are US-Made Mid-Tier Knives Worth the Premium?

https://www.paragon-knives.com/
1•bgzlsxaz•28m ago•0 comments

MiMo Code: Scaling Coding Agents to Long-Horizon Tasks

https://mimo.xiaomi.com/blog/mimo-code-long-horizon
2•tvvocold•29m ago•0 comments

Static Types and Shovels

https://carefully.understood.systems/blog-2026-06-10-static-type-shovel.html
2•keyle•29m ago•0 comments

Same Threading Syntax but Less Allocation

https://racket-raccoon.github.io/ebb-threading/
1•mfru•31m ago•0 comments

Show HN: Tail Panic – a multiplayer game designed for AI agents

https://tailpanic.com
2•ZivenChang•33m ago•0 comments

Show HN: SpadeBox – Sandboxed tools and JavaScript runtime for AI agents

https://github.com/CharlyCst/spadebox
1•charlycst•34m ago•0 comments

Augmented reality system could make medical ultrasounds easier to interpret

https://news.mit.edu/2026/augmented-reality-system-could-make-medical-ultrasounds-easier-to-inter...
1•JeanKage•40m ago•0 comments