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.

A Cali. farmer is giving away tons of nectarines that he's not allowed to sell

https://apnews.com/article/california-farmer-nectarines-lawsuit-patent-4f7bc8ab185e8b9cbdd6d6ad4f...
1•djoldman•2m ago•0 comments

Show HN: Dockside – I turned unused space around the macOS Dock into a workspace

https://hachipoo.com/dockside-app
1•prajwalshetty•8m ago•0 comments

The Neurobiology of Cognitive Fatigue and Its Influence on Effort-Based Choice

https://pmc.ncbi.nlm.nih.gov/articles/PMC11275777/
1•rglover•9m ago•0 comments

Rust: First safety-certified embedded system

https://www.sonair.com/journal/worlds-first-safety-certified-3d-ultrasonic-sensor
1•torotime•10m ago•0 comments

Aerosmena hybrid thermal airships (2022) [pdf]

https://lynceans.org/wp-content/uploads/2021/04/Aerosmena_hybrid-thermal-airships-converted.pdf
1•simonebrunozzi•16m ago•0 comments

Show HN: BlackStork – render cybersecurity reports directly from structured data

https://blackstork.io
1•Traut•17m ago•3 comments

Holes

https://xkcd.com/3266/large/
4•caminanteblanco•19m ago•0 comments

Show HN: Solace – A quiet, local AI companion for Android with long-term memory

https://play.google.com/store/apps/details?id=com.solace.bot&hl=en_US
1•redhotcookerr•19m ago•0 comments

PamStealer: Rust-based macOS infostealer that validates credentials through PAM

https://www.jamf.com/blog/pamstealer-macos-infostealer-applescript-rust/
2•sea-gold•19m ago•0 comments

Proton's crypto is not Transparent and not OPAQUE

https://schaerli.org/weblog/5-proton/
1•akyuu•20m ago•0 comments

The parents movement that banned cellphones has a new target

https://www.politico.com/news/2026/06/27/schools-classroom-screentime-pushback-00974778
2•1vuio0pswjnm7•20m ago•0 comments

WeatherHub Storm Tracking App

https://weatherhubapp.com/
1•FarlandDev•20m ago•0 comments

Show HN: Pull Claude Code transcripts into your Codex session, and vice versa

https://contextify.sh/
1•bredren•22m ago•0 comments

A Field Guide to Fable: Finding Your Unknowns

https://twitter.com/trq212/status/2073100352921215386
1•mfiguiere•25m ago•0 comments

We built the missing link in neurostimulation from brain

https://neuroloop.pieeg.com/
1•Christiangmer•25m ago•0 comments

I Wasn't Allowed Prompting ChatGPT During My Chalk Talk: This Is Discrimination

https://inpreparation.substack.com/p/opinion-i-was-not-allowed-to-type
7•theanonymousone•27m ago•2 comments

The hard part was never the model

https://jenniferjiangkells.substack.com/p/the-hard-part-was-never-the-model
1•jjiangkells•27m ago•0 comments

Matrix Multiplication on Blackwell

https://www.modular.com/blog/matrix-multiplication-on-nvidias-blackwell-part-1-introduction
1•skidrow•28m ago•0 comments

Engineering Artificial Supreme Idiocy (EASI

https://zenodo.org/records/21171253
1•lexicantomotoes•29m ago•0 comments

FlashAttention-4: Algorithm and Kernel Pipelining

https://research.colfax-intl.com/flashattention-4-algorithm-and-kernel-pipelining-co-design-for-a...
2•skidrow•30m ago•0 comments

Show HN: Vublox Agent Tools, MCP server for live football scores and players

https://github.com/Vublox/vublox-agent-tools
1•whoopidi•30m ago•0 comments

Libraries are some of favorite places to take kids–except for screens

https://www.stlmag.com/family/libraries-screens/
1•theanonymousone•33m ago•0 comments

Craig Mod built his own Good Reads

https://craigmod.com/roden/115/
1•natbennett•35m ago•1 comments

Show HN: Debian 13 to ISO and Back

https://github.com/AtmanActive/Refracta-on-Debian-13-with-KDE
2•atmanactive•36m ago•1 comments

Token prices collapsing, regulation rising, AI's pricing power looks fragile

https://www.latimes.com/business/story/2026-07-03/with-token-prices-collapsing-regulation-rising-...
3•1vuio0pswjnm7•36m ago•0 comments

The One-Person Company Fantasy

https://www.minid.net/2026/7/3/the-one-person-company-fantasy
2•meerita•36m ago•1 comments

Vibe Hardware with Arduino, ESP32 and RP2040

https://velxio.dev/about/
4•noahnathan25•36m ago•0 comments

Flora: A Diagram Library Built with (and for) AI

https://www.normallydistributed.dev/introducing-flora-a-diagram-library-built-with-and-for-ai/
1•jillcates•37m ago•0 comments

Show HN: Migo Games, now playable on web

https://migo.games/arcade
1•calflegal•37m ago•1 comments

Tests suggest Russian satellites can jam GPS on a continental scale

https://arstechnica.com/space/2026/06/tests-suggest-russian-satellites-can-jam-gps-on-a-continent...
2•kekqqq•39m ago•1 comments