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.

Watchdeck: See what every Claude Code session was stopped from doing

https://github.com/Panda-Taps-LLC/watchdeck
1•pandataps•28s ago•1 comments

Wallet screening your AI agent can call over MCP

https://prax-labs.com/wallet-screening
1•samfayssal•41s ago•0 comments

Z.ai says GLM 5.5 built on 1T web pages

https://twitter.com/bebuu_ai/status/2118052769856888892
2•f1yingbanana•2m ago•0 comments

Feeling Guilty for Over-Sleeping

https://drpedia.pages.dev/feeling-guilty-for-over-sleeping/
4•vish0607•2m ago•0 comments

Web Grounding for the Decisions API

https://www.perplexity.ai/hub/blog/web-grounding-for-the-decisions-api
1•gmays•2m ago•0 comments

A breach casebook: 20 incidents from 2025–26 and the checks that catch them

https://bewithkhan.github.io/bansat/casebook/
1•bewithkhan•2m ago•0 comments

Ask HN: Does Duolingo block swiping up on iOS?

1•illiac786•3m ago•0 comments

Inside America's $66B Bet to Beat China's Shipbuilding Empire [video]

https://www.youtube.com/watch?v=kBP-bVci-IM
1•Teever•7m ago•0 comments

Feedback requested on possible scam employer

1•mikepatton•8m ago•0 comments

Show HN: Lantern Lattice – the call graph from your compiler, for coding agents

https://github.com/julymetodiev/lantern-lattice
1•juliusml•8m ago•0 comments

I turned 100 old science fiction books into a database of 6,222 startup ideas

https://www.reddit.com/r/SideProject/comments/1xly9r8/i_turned_100_old_science_fiction_books_into_a/
2•absurdwebsite•11m ago•0 comments

Tencent Launches Hy4, One of the Leading Open-Source AI Models

https://www.tencent.com/tencent-launches-hy4-joining-the-ranks-of-the-worlds-leading-open-source-...
3•gmays•12m ago•1 comments

Show HN: CalmCanary – Uptime Monitoring Tool

https://www.calmcanary.co/
1•jason0xFaCE•13m ago•0 comments

The Cost of Knowledge Calculator

https://www.costofknowledge.org/
1•jruohonen•14m ago•0 comments

Jack Dorsey's Block makes second round of job cuts this year

https://www.businessinsider.com/jack-dorsey-block-layoffs-second-round-job-cuts-cash-app-2026-11
2•kilroy123•15m ago•0 comments

Show HN: Aireel.tv Paste your landing page. Get a produced promo film

https://aireel.tv/
2•sendar0•17m ago•1 comments

Ask HN: Are Anthopic and OpenAI going to IPO post mid terms?

1•lnkdinsuxs•17m ago•1 comments

Independent Assessment of AI R&D Acceleration at Anthropic in October 2026

https://metr.org/blog/2026-11-05-anthropic-ai-rd-acceleration-assessment/
3•Hacktrick•18m ago•0 comments

Kai Lentit Goes to Olympics of 4KB Coding

https://www.youtube.com/watch?v=PeZNLvD4mds
1•Tajnymag•18m ago•0 comments

Prehistoric 'giant rat' found in Thailand from fossil teeth

https://phys.org/news/2026-11-prehistoric-giant-rat-thailand-fossil.html
2•tosh•19m ago•0 comments

The Cost of Being Online

https://olu.online/the-cost-of-being-online/
1•speckx•19m ago•0 comments

The Cost of Blogging

https://onlinegoddess.net/2026/11/the-cost-of-blogging/
3•speckx•19m ago•0 comments

Gamers Nexus: ISPs Can Use WiFi to See You [video]

https://www.youtube.com/watch?v=5HjnQYS1QOc
1•drnick1•22m ago•0 comments

Physicists knock at the Door of the Zeptoverse

https://www.cam.ac.uk/stories/zeptoverse
2•cybermango•24m ago•0 comments

Show HN: GitHub-like reply with "R" for Basecamp and Slack

https://github.com/nashbridges/dial-r-for-reply
1•nashbridges•24m ago•0 comments

Vespper the only sota post-trained model to edit word documents

https://www.vespper.com/?um_source=hnlaunch-5nov
1•topaztee•25m ago•0 comments

Show HN: Zerg Client – a coding agent harness that drives its own terminal panes

https://zergai.com/ztc
1•idanb•26m ago•0 comments

From the Vault to Your Library—How Seven of EA's Classic Games were Restored

https://www.ea.com/news/from-the-vault-to-your-library
2•haunter•26m ago•0 comments

Show HN: Teach a speech model (en) a name by saying it once, on your Mac

https://detailkeeper.com/
2•Angus1192•27m ago•0 comments

Kghost Radio

https://www.kghostradio.com/
1•grahamburger•30m ago•1 comments