frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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.

Lens Aberrations Explained (2023)

https://phillipreeve.net/blog/lens-aberrations-explained-part-1/
1•sirpilade•22s ago•0 comments

Spy: language semantics for a statically-typed compiled variant of Python

https://antocuni.eu/2026/03/25/inside-spy-part-2-language-semantics/
1•fanf2•56s ago•0 comments

"Long-Term Support" doesn't mean what you think

https://pointieststick.com/2026/05/23/long-term-support-doesnt-mean-what-you-think/
1•naves•1m ago•0 comments

Layman with no degree directs AI agents to derive Newton's G to 1.86 ppm

https://github.com/oldrich-research/gravitational-constant-relation
1•Oldrich333•1m ago•0 comments

Bullwhip Effect

https://en.wikipedia.org/wiki/Bullwhip_effect
1•olalonde•1m ago•0 comments

Real Singles Near You Tonight

http://layana.meet2live.online
9•EmmaJohnsonftr•2m ago•2 comments

The Booing Will Continue Until Commencement Speeches Improve

https://gizmodo.com/the-booing-will-continue-until-commencement-speeches-improve-2000762929
1•makerdiety•4m ago•0 comments

Show HN: Lightweight, OpenSource, zero-dependency App tour & user onboarding SDK

https://www.npmjs.com/package/@qocial/tour
1•qocialApp•4m ago•0 comments

Show HN: Treasury – Ask your money anything

https://treasury.sh/
1•junead01•4m ago•0 comments

A Language for Describing Agentic LLM Contexts

https://arxiv.org/abs/2605.01920
1•mpweiher•11m ago•0 comments

Conifer, launching June first (free and open source): local inference runtime

https://conifer.build/feedback/
2•loctran0323•14m ago•0 comments

Show HN: MailMark – Cold email tool where you own your domain and mailboxes

1•debasishbarai•19m ago•0 comments

A PR proposes to stabilize the Rust allocator API

https://github.com/rust-lang/rust/pull/156882
1•afdbcreid•19m ago•0 comments

Hyper – an API framework for Bun, distributed as source

https://hyperjs.ai/
1•mmcclure•19m ago•0 comments

QuickGrab – Magic Video Downloader

https://quickgrab.app/
1•exhunter•23m ago•0 comments

TrapDoor Cross-Ecosystem Crypto Stealer Campaign

https://haltingproblems.com/analysis/trapdoor-cross-ecosystem-crypto-stealer/
1•s4mw1se•23m ago•0 comments

Show HN: Voxxy – a minimal, fast voice-to-text app for macOS

https://www.voxxy.io
9•mrguenter•25m ago•0 comments

Anita Calculators: The Technology Explained

http://www.anita-calculators.info/html/the_technology_explained.html
2•rolph•26m ago•0 comments

Flying planes in a geese formation could save carbon emissions

https://www.virgin.com/about-virgin/latest/how-flying-in-a-geese-formation-could-save-carbon-emis...
1•simonebrunozzi•29m ago•1 comments

Show HN: I built a TikTok style video debate app

https://tussup.com
1•frantzarty•30m ago•0 comments

AI agents just got their own web browser via a Firefox fork

https://blog.adafruit.com/2026/05/19/ai-agents-just-got-their-own-web-browser-via-a-firefox-fork/
2•MilnerRoute•39m ago•1 comments

Best TTS models, a blind benchmark

https://techstackups.com/articles/best-tts-2026-blind-benchmark/
1•sixhobbits•46m ago•1 comments

West Coast Cities Turn to Vacancy Taxes to Grapple with Housing Crisis

https://www.theurbanist.org/west-coast-cities-turn-to-vacancy-taxes-to-grapple-with-housing-crisis/
4•harambae•50m ago•0 comments

Rank My Salary

https://rankmysalary.com
3•zakkishahh•50m ago•0 comments

A collection of small, low stakes and low effort tools

https://delphi.tools/
1•anyonecancode•51m ago•0 comments

Ask HN: I only use 30% of my Claude max x5 all model quota

2•firemelt•52m ago•1 comments

Cheap attack drones break through Israel's Iron Dome

https://www.dw.com/en/cheap-attack-drones-break-through-israels-iron-dome/a-77235132
2•Teever•54m ago•0 comments

Machine Code For Beginners (1983) [for the Z80/6502]

https://drive.google.com/file/d/0Bxv0SsvibDMTcHNXalEtYkVtU00/view?resourcekey=0-YtCcUG7ytBL-ls8gc...
3•peter_d_sherman•55m ago•0 comments

AI poses "urgent threat" to student learning and the HSC

https://www.smh.com.au/national/nsw/ai-poses-urgent-threat-to-student-learning-and-the-hsc-202605...
2•classichasclass•56m ago•0 comments

Spoqify – Un-personalize your Spotify playlists

https://spoqify.com/
4•eiiot•1h ago•1 comments