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.

Bonfire for communities: groups and tools to organise together

https://bonfirenetworks.org/posts/bonfire-for-communities/
2•rguiscard•1m ago•0 comments

Functional CQRS with .NET

https://onurgumus.github.io/FCQRS/tutorial/index.html
2•reverseblade2•2m ago•0 comments

DConf 2026 in London

https://dconf.org/2026/index.html
3•teleforce•4m ago•0 comments

Quick and Easy Parser Combinators

https://www.cyan.sh/blog/posts/tutorial-quick-easy-parser-combinators.html
2•birdculture•4m ago•0 comments

PiEEG XR looking tester for new device – transfer emotions and mimics to VR

https://twitter.com/pieeg_official/status/2081512367838380346
2•Christiangmer•5m ago•0 comments

Should We Make Daylight Saving Time Permanent?

https://www.nytimes.com/2026/07/27/science/daylight-saving-time-health-safety.html
4•0in•7m ago•0 comments

Show HN: Call Me, your AI agents ring you with no extra carrier costs

https://github.com/radres/call-me
2•radres•8m ago•0 comments

C/C++ projects packaged for Zig

https://github.com/allyourcodebase
2•jcbhmr•8m ago•0 comments

Kimi is Claude

https://imgur.com/a/vek7fVQ
5•fny•12m ago•2 comments

America has become an entrepreneur's paradise

https://www.economist.com/business/2026/07/27/america-has-become-an-entrepreneurs-paradise
2•bookofjoe•14m ago•1 comments

Lost in Context: Addressing Context Anxiety in Large Language Models

https://arxiv.org/abs/2607.21616
1•StatsAreFun•16m ago•0 comments

China begins mass production of homegrown DUV chipmaking tools

https://www.tomshardware.com/tech-industry/semiconductors/china-begins-mass-production-of-domesti...
2•yogthos•16m ago•0 comments

Cisco launches super affordable security language model called Antares

https://www.neowin.net/news/cisco-launches-super-affordable-security-language-model-called-antares/
1•willmarch•17m ago•0 comments

Show HN: Ami – A local, open-source agent that does your busywork across apps

https://github.com/NanoNets/ami
1•vitaelabitur•22m ago•0 comments

Memories of a Checkstand Lifestyle (2021)

https://tagn.wordpress.com/2021/05/09/memories-of-a-checkstand-lifestyle/
1•LastTrain•30m ago•0 comments

TanStack Markdown and TanStack Highlight

https://tanstack.com/blog/introducing-tanstack-markdown-and-highlight
2•MehrdadKhnzd•31m ago•0 comments

Kimi K3 Now Available via Telnyx Inference API

https://telnyx.com/release-notes/kimi-k3-telnyx-inference
2•fionaattelnyx•31m ago•3 comments

A Discord Alternative – Echoed

https://echoed.gg/
5•acley•32m ago•1 comments

John's colleague told him he didn't belong. It was just what he needed to hear

https://text.npr.org/nx-s1-5906734
4•mooreds•32m ago•0 comments

Arizona State launches influencer degree where students must gain real followers

https://www.dexerto.com/entertainment/arizona-state-launches-influencer-degree-where-students-mus...
2•TMWNN•33m ago•0 comments

Show HN: Heddle- ATC for Your Subagents

https://github.com/zyads/heddle
1•aether-zyads•36m ago•0 comments

60 Years Ago, a Submerged Submarine Circled the Globe for the First Time (2020)

https://www.popularmechanics.com/military/weapons/a32009109/operation-sandblast-sumbarine-circumn...
1•baud147258•36m ago•1 comments

AI labs don't know how to make you trust them

https://www.semiodept.com/p/ai-labs-dont-know-how-to-make-you
1•pressentiment•37m ago•0 comments

David Sacks: "Now the gaslighting begins"

https://twitter.com/DavidSacks/status/2081470576653406328
4•anon373839•38m ago•0 comments

Major T-Mobile Outage

https://mashable.com/tech/t-mobile-outage-sos-mode-explained
2•bgschulman31•38m ago•0 comments

Show HN: ViewKit – Interactive dataset viewer in the browser, no upload

https://viewkit.app/
1•ayu05•39m ago•1 comments

Show HN: FileForge Finder: Local file search with AI-optimized export

1•FileForge•39m ago•0 comments

Benchmarking Opus 5 on SlopCodeBench

https://github.com/humanlayer/advanced-context-engineering-for-coding-agents/blob/main/benchmarki...
2•dhorthy•40m ago•0 comments

Hard Road – A beautiful procedural post-apocalyptic game

https://hardroad.xyz/
3•getbutterfly•41m ago•0 comments

'Is This Supposed to Be Fun?' Trump Hurls Insults at Correspondents' Dinner

https://www.nytimes.com/2026/07/25/us/politics/trump-white-house-correspondents-dinner-speech.html
2•whack•41m ago•0 comments