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.

Meta and Google mobile apps gorge on user data: Study

https://www.theregister.com/personal-tech/2026/08/18/meta-and-google-mobile-apps-gorge-on-user-da...
1•nyku•2m ago•0 comments

UK ATC Partners with Google to Avoid Contrails

https://blog.google/innovation-and-ai/models-and-research/google-research/blue-skies/
1•a_paddy•2m ago•0 comments

A Thermodynamic Failure of the Soul

https://sightlessscribbles.com/posts/a-thermodynamic-failure-of-the-soul/
1•robin_reala•6m ago•0 comments

Genomic evidence of human bottleneck in the Early–Middle Pleistocene transition

https://www.science.org/doi/10.1126/science.abq7487
1•thunderbong•7m ago•0 comments

The Mojo language (by Modular, now Qualcomm) is now open-source

https://www.modular.com/blog/modcon-announcements
3•flaburgan•9m ago•1 comments

Made an open source budgeting application (Coinvane)

https://github.com/JKJWL/Coinvane
2•JKJWL•9m ago•1 comments

Bad benchmarks and evals: Senior SWE-Bench, napkin math, and winter tires

https://danluu.com/exercise-7/
1•yosefk•11m ago•0 comments

Where Human Sleep Went Wrong

https://nautil.us/where-human-sleep-went-wrong-1283797
2•XzetaU8•15m ago•0 comments

AI Marketing Stash: a directory for discovering AI marketing tools

https://www.aimarketingstash.com
1•Tlesenechal•16m ago•0 comments

Show HN: Tracepack – Build local-first evidence packs from your files

https://dev.tracepack.org/
1•ace2016•17m ago•0 comments

ProtectEU Strategy to Counter Hybrid Threats Targets Encrypted Communications

https://balkaninsight.com/2025/04/01/protecteu-strategy-to-counter-hybrid-threats-targets-encrypt...
1•miohtama•18m ago•0 comments

US sanctions International Criminal Court president and trial lawyer

https://www.aljazeera.com/news/2026/8/18/us-sanctions-international-criminal-court-president-and-...
1•rzk•20m ago•0 comments

"Sabotage": Experts, lawmakers blast RFK Jr. for destroying healthcare research

https://arstechnica.com/health/2026/08/sabotage-experts-lawmakers-blast-rfk-jr-for-destroying-hea...
4•01-_-•20m ago•0 comments

Harvard, MIT among 30 US universities ordered to audit China research ties

https://www.scmp.com/news/us/diplomacy/article/3364485/harvard-mit-among-30-us-universities-order...
2•01-_-•21m ago•0 comments

Show HN: Superprez.io – Sharing and Collaboration for AI-Generated Decks

https://www.superprez.io
1•elsaelsa•24m ago•0 comments

2004 Harvard–Yale Prank

https://en.wikipedia.org/wiki/2004_Harvard%E2%80%93Yale_prank
1•toilet•24m ago•0 comments

Show HN: Open-source extension to transfer AI chats without losing context

https://github.com/VC067/MoveChat
1•VC067•25m ago•0 comments

GitLab CVE-2026-19478: GraphQL authorization bypass

https://techupdate24.com/gitlab-cve-2026-19478-graphql-flaw/
1•sysadmin_diarie•27m ago•0 comments

AI-generated candidate proof of a causal guarantee for RACE attention [pdf]

https://drive.google.com/file/d/11Jh_ITQWQbM40REfNayPbS98lyk0EUTG/view?usp=drive_link
1•Rufty•28m ago•0 comments

Taking photos or screenshots makes you more likely to forget information

https://www.binghamton.edu/news/story/6397/digital-amnesia-taking-screenshots-makes-you-more-like...
1•nreece•28m ago•0 comments

Moby Dick has 26 em dashes per 1000 words. Pride and Prejudice has none

https://claudewatermark.xyz/guides/moby-dick-87-em-dashes
2•ofir_smol•28m ago•1 comments

Zombie Cards Back Online: Reviving Expired Credit Cards for Contactless Payments

https://khwarizmilab.github.io/emvexpiredcards/
1•Markoff•29m ago•0 comments

Hoog – The Hugging Face Hack [video]

https://www.youtube.com/watch?v=OO225IfoR3s
1•Topfi•33m ago•0 comments

The Cast-Iron Company That Has Been Controlled by the Same Family for 130 Years

https://www.wsj.com/business/the-cast-iron-company-that-has-been-controlled-by-the-same-family-fo...
1•thm•35m ago•0 comments

Show HN: A 3D insect field guide where every specimen is generated from code

https://insect-world.pages.dev/
1•XR843•35m ago•0 comments

Trump crypto firm backs venture offering AI from restricted Chinese companies

https://www.reuters.com/world/china/trump-crypto-firm-backs-venture-offering-ai-restricted-chines...
1•petethomas•35m ago•0 comments

New images reveal before/after when a SpaceX rocket slammed into the moon

https://www.cnn.com/2026/08/18/science/nasa-images-spacex-rocket-moon-collision
4•giuliomagnifico•36m ago•0 comments

Japan's farmers go nocturnal as deadly heat intensifies

https://www.reuters.com/investigates/special-report/climate-change-japan-farmers/
3•petethomas•36m ago•0 comments

Headed for the Exit: The Great Engineering Leader Career Break

https://newsletter.pragmaticengineer.com/p/the-great-engineering-leader-career-break
1•pjmlp•37m ago•0 comments

Vetted AI code is hard to justify

https://amoffat.github.io/blog/vetting-burnout.html
1•birdculture•39m ago•2 comments