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.

AQAB: Anti-fascist blocklist QAnon, conspiracy, fake news, far-right, hate sites

https://codeberg.org/NotaInutilis/AQAB
1•Baljhin•5m ago•0 comments

Trump administration attacks Australia optout algorithm law in rare intervention

https://www.abc.net.au/news/2026-09-22/trump-administration-slams-digital-duty-of-care-bill/10718...
1•jyhrow•6m ago•0 comments

Fun: First-Class Functions, Currying, and a Surprise

https://blog.tinyinterpreters.dev/posts/fun-first-class-functions/
1•TheWiggles•17m ago•0 comments

Meta admits Muse's likeness to OpenClaw isn't a coincidence

https://techcrunch.com/2026/09/22/meta-admits-muses-likeness-to-openclaw-isnt-a-coincidence/
1•sbulaev•18m ago•0 comments

Cities across US oppose Trump FCC plan to preempt local broadband rules

https://arstechnica.com/tech-policy/2026/09/cities-across-us-oppose-trump-fcc-plan-to-preempt-loc...
4•pseudolus•19m ago•0 comments

Web-based IBM 1620 emulator and IPL-V from 1963

https://github.com/pkimpel/retro-1620
1•abrax3141•19m ago•1 comments

Ask HN: What do people do with Android phones once security updates end?

1•trombuance•20m ago•0 comments

Show HN: Birthed, a daily board of what mattered that locks at midnight

https://github.com/jasonepage/Birthed
1•jpage2•24m ago•1 comments

Reflections on object oriented design patterns (2026)

1•kooi•33m ago•0 comments

The new CC, an AI agent built for families

https://blog.google/innovation-and-ai/models-and-research/google-labs/cc-expanding-to-groups/
2•grigy•39m ago•0 comments

What anaesthetics are revealing about consciousness

https://www.bbc.com/future/article/20260921-what-general-anaesthetic-reveals-about-our-brains
2•nhatcher•42m ago•1 comments

NIST Crypto Reading Club

https://csrc.nist.gov/Projects/crypto-reading-club
2•segfaultbuserr•46m ago•0 comments

A 1996 dial-up chat room simulator (lolchat.rip)

https://lolchat.rip/
1•henrychannel•51m ago•0 comments

The ruble markup on AI tokens

https://infertrail.com/blog/ruble-markup-ai-tokens/
1•whitef0x•55m ago•0 comments

Temporal Straightening for Latent Planning

https://arxiv.org/abs/2603.12231
2•gmays•56m ago•0 comments

Sovereign Substrate Appliance: Layer-1 Edge Node on ARM64

https://richardkugel.substack.com/p/sovereign-substrate-appliance-re
1•drawono•57m ago•0 comments

Anyone using a Wispr Flow alternative that is non-cloud?

4•itsjeremiahs•59m ago•2 comments

MacPad: Touch Mac in iPad

https://github.com/dcmmc/macpad
1•dadoum•1h ago•1 comments

Ant Group releases finance-focused Ling-3.0-flash-Fin

https://artificialanalysis.ai/articles/ant-group-releases-finance-focused-ling-3-0-flash-fin
1•gmays•1h ago•0 comments

New method to minimize immunosuppression after organ transplantation

https://www.nature.com/articles/s43856-026-01906-x
2•pvaldes•1h ago•1 comments

The 'AI Safety' Movement Is Making AI Less Safe

https://reason.com/2026/09/22/the-ai-safety-movement-is-making-ai-less-safe/
10•Bostonian•1h ago•0 comments

Show HN: Livenerf – a benchmark for whether Opus 5.5 gets nerfed

https://github.com/ninjahawk/livenerf
2•ninjahawk1•1h ago•0 comments

Adding side drawer with workspace concepts to rio (rust terminal) like cmux has

https://github.com/raphamorim/rio/pull/1954
1•cs1996•1h ago•0 comments

The Jagged Frontier of Jev 1.13

https://docs.typesafe.ai/model-jaggedness/jev-1.13
3•dhorthy•1h ago•0 comments

Mercury Is Shrinking, and Faster Than We Thought

https://www.nytimes.com/2026/09/11/science/space/mercury-shrinking-wrinkles.html
3•reaperducer•1h ago•2 comments

Swarm Scaling

https://www.tobyord.com/writing/swarm-scaling
1•gmays•1h ago•0 comments

A WIP Lego Sorter: Maybe a million pounds is possible [video]

https://www.youtube.com/watch?v=9G2R9ZcgAhA
4•Teever•1h ago•0 comments

Artificial Intelligence in Research

https://tmodrzyk.github.io/blog/2026/artificial-intelligence-in-research/
1•jeremyscanvic•1h ago•0 comments

CNN Mood 'Like a Funeral' as Paramount Acquires Warner Bros

https://variety.com/2026/tv/news/cnn-funeral-path-hazy-paramount-wins-warner-1236872113/
6•westurner•1h ago•8 comments

Show HN: Palette, a Figma plugin that turns one color into a whole UI system

https://www.figma.com/community/plugin/1682163756621093164
1•jeffmahacek•1h ago•0 comments