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.

Cognitive architecture AI weighted memory, and a falsifiable continuity metric

https://zenodo.org/records/20350249
1•timeless-hayoka•6m ago•0 comments

Authoritative DNS over encrypted transport at OARC 45

https://blog.apnic.net/2026/05/20/authoritative-dns-over-encrypted-transport-at-oarc-45/
1•8organicbits•16m ago•0 comments

I Need Help

https://substack.com/profile/273607136-melissa-mcguckin/note/c-263672437
2•melissamcguckin•16m ago•1 comments

Is AI Profitable Yet?

https://isaiprofitable.com/
3•poyu•17m ago•0 comments

You Only Use 10% of Printf() – Here Are Things They Didn't Teach You [video]

https://www.youtube.com/watch?v=kdnN0kk7MS0
1•bwidlar•20m ago•0 comments

C-style arbitrary precision calculator

https://github.com/lcn2/calc
1•modinfo•22m ago•0 comments

Sci-Hub has created a new AI chatbot. Is it any good?

https://cen.acs.org/policy/publishing/Sci-Hub-created-new-AI/104/web/2026/04
2•scubscub•24m ago•0 comments

You can issue a 15-year SSL certificate today. Why almost nobody does

2•panelica•28m ago•3 comments

What it takes to run an AI coworker on iMessage

https://opencomputer.dev/blog/what-it-takes-to-run-an-ai-coworker-on-imessage/
1•iacguy•29m ago•0 comments

The Bitcoin Governance Event Horizon

https://earthchronicles.substack.com/p/the-bitcoin-governance-event-horizon
2•taguniversalsw•30m ago•0 comments

Megalodon: Mass GitHub Repo Backdooring via CI Workflows

https://safedep.io/megalodon-mass-github-repo-backdooring-ci-workflows/
1•pabs3•44m ago•0 comments

Vince Is Dead (2023)

https://tildas2.tildas.org/art/sad/dead.htm
1•kniffy•46m ago•1 comments

Instant YouTube channel analysis using public metrics

1•Aafy•49m ago•0 comments

Draft – Teams of BYOA Collaborating and Building

https://foundryworks.dev/
1•trilobyte•51m ago•1 comments

Didgeridoo playing as alternative treatment for obstructive sleep apnea(2006)

https://pmc.ncbi.nlm.nih.gov/articles/PMC1360393/
2•kelseyfrog•51m ago•0 comments

Google is currently struggling to define words like disregard, stop and ignore

https://www.engadget.com/2179762/google-is-currently-struggling-to-define-words-like-disregard-st...
3•mattas•59m ago•6 comments

Show HN: 1 big microfilm of WAR.GOV/UFO files - 332,144 pages

https://hypergrid.systems/war.gov-ufo-viewer/microfilm5
2•keepamovin•1h ago•0 comments

Malicious Postinstall Hook Found in 700 GitHub Repos, Including Node Projects

https://socket.dev/blog/malicious-postinstall-hook-found-across-700-github-repos
7•882542F3884314B•1h ago•1 comments

FigMirror – Plot your data in a reference paper's style

https://github.com/VILA-Lab/FigMirror
1•xiaohan_zhao•1h ago•0 comments

Shelf – Describe a tool in plain English, get a local app forever

https://getmyshelf.app/
2•nagabandaru•1h ago•2 comments

94% companies will keep spending on AI even when it fails

https://readuncut.com/94-will-keep-spending-on-ai-even-when-it-fails/
3•jslat•1h ago•0 comments

Trump directs legal migrants to return to home country to apply for green cards

https://thehill.com/homenews/administration/5891580-legal-migrants-green-cards/
8•KnuthIsGod•1h ago•2 comments

Laravel-Lang Supply Chain Attack

https://github.com/Laravel-Lang/http-statuses/issues/277
1•varunsharma07•1h ago•1 comments

Nano: Coding agent in under 200 lines

https://github.com/pnegahdar/nano
1•kristianp•1h ago•0 comments

The abstractions in SICP need a revisit

https://www.khola.blog/p/sicp-an-architectural-trace-of-pointer
11•bcapchickadee•1h ago•1 comments

Denuvo has been cracked day 1

https://old.reddit.com/r/CrackWatch/comments/1tkvwbb/legobatmanlegacyofthedarkknightvoices38/
2•lazylion2•1h ago•0 comments

The Prehistory of A.I. Slop

https://www.newyorker.com/magazine/2026/05/25/the-prehistory-of-ai-slop
2•fortran77•1h ago•0 comments

Frustrated franchisee sues Pizza Hut over crappy kitchen AI

https://www.theregister.com/ai-ml/2026/05/19/frustrated-franchisee-sues-pizza-hut-over-crappy-kit...
4•gnabgib•1h ago•1 comments

WordPress 7.0

https://wordpress.org/download/releases/7-0/
2•Curiositry•1h ago•0 comments

Show HN: Claude Code for Customer Support

3•darweenist•1h ago•0 comments