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.

Kitirua Plains Lodge: Kenya's departure from traditional Safari architecture

https://design-milk.com/luxury-frontiers-designs-a-lodge-that-belongs-to-its-landscape/
1•whiteblossom•30s ago•0 comments

Self-Propelled Chainsaw Reduces Injuries

https://hackaday.com/2022/12/25/self-propelled-chainsaw-reduces-injuries/
1•ynac•34s ago•0 comments

Scientists may have found how Alzheimer's kills brain cells

https://www.sciencedaily.com/releases/2026/06/260626124701.htm
1•doctaj•2m ago•0 comments

HN_submission_ready.md

https://marketnow.site/
1•eddyflores•4m ago•2 comments

Thundersnap v0.01: an undo button for everything

https://github.com/tailscale/thundersnap/
2•birdculture•4m ago•0 comments

Review: IodéOS offers a frictionless de-Googled Android experience – OSnews

https://www.osnews.com/story/145312/review-iodeos-offers-a-frictionless-de-googled-android-experi...
2•abdelhousni•10m ago•0 comments

NASA Leader Flew His Vintage Jet at DC Air Show over FAA Objections

https://www.wsj.com/business/airlines/nasa-leader-flew-his-vintage-jet-at-dc-air-show-over-faa-ob...
1•impish9208•10m ago•1 comments

NASA's newest invention could solve a major space exploration problem (2022)

https://www.inverse.com/science/nasa-osam-1-satellite-repair-in-orbit
1•ike_usawa•11m ago•1 comments

Fable built reliable self hosted gh actions using 32 agent adversarial review

https://github.com/jleechanorg/ez-gh-actions/
1•jleechan2015•12m ago•1 comments

Netflix Viewers Are Abandoning Shows After One Season

https://www.bloomberg.com/news/newsletters/2026-07-05/netflix-viewers-are-abandoning-shows-after-...
1•kgwgk•22m ago•1 comments

Bede Liu, pioneer in digital signal processing and beloved mentor, dies at 91

https://www.princeton.edu/news/2026/06/24/bede-liu-pioneer-digital-signal-processing-and-beloved-...
1•aragonite•23m ago•0 comments

Show HN: AI Notebook for Data Science – Kind of Like Cursor but for Jupyter

https://www.clusy.io
1•eldar_hsnv•29m ago•0 comments

Inflect – Correctly generate plurals, ordinals; convert numbers to words

https://github.com/jaraco/inflect
2•jawns•33m ago•0 comments

Declaration of Independence

https://notebooklm.google.com/notebook/eeb66446-cee8-4b4c-91cd-a571a350908e/artifact/dc5e2ad4-4ae...
2•golgolgikdhdue•33m ago•1 comments

LLM Big Bang: I gave AI agents a social network. One is running for president

https://noozra.com/articles/the-llm-big-bang
2•gv_ai•33m ago•0 comments

Inter Font Family

https://rsms.me/inter/
5•jawns•37m ago•0 comments

Show HN: list55: PWA to transcribe into a plain text list

https://list55.enzom.dev/
1•emadda•39m ago•0 comments

Census '27: Reporting statistics privately without "banned" Differential Privacy [pdf]

https://magarshak.com/papers/privacy/Reporting.pdf
1•EGreg•39m ago•1 comments

My 11-year-old font bug

https://hackers.pub/@yurume/019f34c6-8950-78f6-81fc-c1cadd648d74
1•lifthrasiir•42m ago•0 comments

Diary of a CEO Is Making You Less Successful [video]

https://www.youtube.com/watch?v=CbDQs_TcyN4
2•kklisura•42m ago•0 comments

Len Sassaman Forensic Dead Ends at Black Hat – USA – 2002 [video]

https://www.youtube.com/watch?v=FOp29uhuM1o
1•binyu•46m ago•0 comments

The Sutra of the Open Door

https://pastebin.com/SbJ1W47Z
2•Muromec•51m ago•0 comments

Al Vigier: Canada's AI strategy shouldn't include secret Palantir bills

https://www.readtheline.ca/p/al-vigier-canadas-ai-strategy-shouldnt
39•ClearwayLaw•54m ago•10 comments

The Voice Agent Builder

https://x.ai/news/grok-voice-agent-builder
2•frankacter•56m ago•0 comments

Show HN: AI-related Jax module (I hate if)

https://github.com/PJHkorea/egregore-core-jax
2•PJHkorea•58m ago•3 comments

Strange Balls found on Queensland beaches could be toxic 'space debris': experts

https://www.inkl.com/news/strange-balls-found-on-queensland-beaches-could-be-toxic-space-debris-e...
5•ivewonyoung•1h ago•4 comments

Egg companies made $1.22B in profit off $6 carton

https://fortune.com/2026/07/02/egg-price-fixing-crisis-cover-cash-and-eggs/
13•gscott•1h ago•0 comments

We're All Managers Now: My Journey into AI-Assisted Development

https://mattmccormick.ca/we-re-all-managers-now-my-journey-into-ai-assisted-development/
4•mattm•1h ago•0 comments

Building Agents That Don't Break Themselves

https://fly.io/blog/building-agents-that-dont-break-themselves/
3•ryantsuji•1h ago•0 comments

Engineering Micro-Submarines to Replace Fish

https://hackaday.com/2026/07/01/engineering-micro-submarines-to-replace-fish/
6•croes•1h ago•0 comments