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.

Ford, Honda, Stellantis, VW sue New Jersey to block vehicle repair law

https://www.reuters.com/world/ford-honda-stellantis-vw-sue-new-jersey-block-vehicle-repair-law-20...
1•Betelbuddy•1m ago•0 comments

Global private investment in AI by geographic area, 2013-2025

https://www.researchgate.net/figure/Global-private-investment-in-AI-by-geographic-area-2013-2025-...
1•TechTechTech•1m ago•0 comments

Interactive 3D CAD View of the Flipper One on Onshape

https://cad.onshape.com/documents/32ee3b79861e4ff5fe28ee3b/w/8eca0dcb9e92b0271d434028/e/adb36e3c6...
2•sans_souse•4m ago•0 comments

Show HN: Separating Answer Capability from EOS Permission in Qwen3-4B

https://huggingface.co/sharthokrayanpal/PCCG-2-Qwen3-4B
1•rayanpal_•4m ago•0 comments

The most misunderstood graph in AI just got a major update

https://www.technologyreview.com/2026/11/20/1149399/the-most-misunderstood-graph-in-ai-just-got-a...
1•speckx•9m ago•0 comments

Concepts to Know for Coding with AI Agents

https://www.davidayo.com/blog/5-concepts-to-know-for-coding-with-ai-agents/
1•davidayo•10m ago•0 comments

BrickLink Is Temporarily Unavailable

https://maintenance.bricklink.com/recovery.html
1•Freak_NL•11m ago•0 comments

China Is Mass-Producing One-Person AI Companies

https://www.bloomberg.com/news/features/2026-11-12/how-china-is-creating-a-new-generation-of-ai-e...
1•ravieira•11m ago•0 comments

GPT-6.2 Sol and Astra review: should you switch?

https://www.coderabbit.ai/blog/gpt-6-2-sol-and-astra-review
2•smb06•12m ago•0 comments

Award-winning documentary American Doctor sets UK and Ireland cinema release

https://www.theupcoming.co.uk/2026/07/21/award-winning-documentary-american-doctor-sets-uk-and-ir...
1•Betelbuddy•12m ago•0 comments

Games like Krillion a.k.a. the second DLE Renaissance

https://dles.gg/blog/games-like-krillion
1•trizoza•16m ago•0 comments

The use of AI based tools to find bugs in Open Source software

https://www.haproxy.com/blog/on-the-use-of-ai-based-tools-to-find-bugs-in-open-source-software
1•owenthejumper•18m ago•0 comments

An all-digital future means constant security breaches

https://www.dedoimedo.com/life/digital-future.html
4•dxs•20m ago•0 comments

Lenacapavir

https://en.wikipedia.org/wiki/Lenacapavir
4•PaulHoule•20m ago•1 comments

What happens when a Google data centre comes to town? Southern India finding out

https://www.cbc.ca/news/world/ai-data-centre-google-india-9.7374345
2•Betelbuddy•20m ago•0 comments

Anthropic is not living up to its ideals

https://so8res.substack.com/p/anthropic-is-not-living-up-to-its
2•sundarurfriend•22m ago•0 comments

The Strategy of Redundancy: The Devaluation of Plagiarism in the Age of Entropy

https://medium.com/@smoking2man/the-strategy-of-redundancy-the-devaluation-of-plagiarism-in-the-a...
1•Aldus551•23m ago•0 comments

A on device STT Wisper Flow alternative that uses Mistral Voxtral model and AFM

https://github.com/ThriveEngineer/Whistral
1•luis_journey•23m ago•0 comments

Terraform Experiencing Issues

https://status.hashicorp.com
1•AxEy•24m ago•0 comments

You Can't Focus in an Open Office Pro Perfected [video]

https://www.youtube.com/watch?v=HQPgvxNU94M
2•tortilla•24m ago•0 comments

I've only sold five copies of GTA 6, says shop owner

https://www.bbc.com/news/articles/cmqj5dr01e85o
1•robrain•24m ago•0 comments

SpaceX lenders don't want Elon Musk launching their collateral into space

https://arstechnica.com/space/2026/11/spacex-lenders-dont-want-elon-musk-launching-their-collater...
5•lakis•26m ago•0 comments

Winedroid – run Android apps without Android (WASM demo)

https://winedroid.soham.sh/demo/
5•sohzm•27m ago•1 comments

US will soon announce root cause behind FAA nationwide ground stop

https://arstechnica.com/gadgets/2026/11/how-faa-can-modernize-us-national-airspace-system-without...
7•lakis•29m ago•0 comments

Nvidia's accounting is a focus of US SEC investigation

https://www.reuters.com/world/us-secs-nvidia-probe-is-examining-potential-accounting-issues-sourc...
8•Betelbuddy•29m ago•1 comments

Chronic Brain Trauma Is Extensive in Navy's Elite Speedboat Crews

https://www.nytimes.com/2024/11/12/us/brain-trauma-cte-navy-speedboat.html
2•pr337h4m•30m ago•0 comments

Ask HN: Was I proven correct SWE is dying?

1•blindprogrammer•30m ago•2 comments

iOS's Unpredictable Search

https://unsung.aresluna.org/ioss-unpredictable-search/
1•speckx•31m ago•0 comments

Dutch data watchdog highlights safety issues with AI glasses

https://www.theregister.com/security/2026/11/20/dutch-data-watchdog-highlights-safety-issues-with...
4•nephihaha•31m ago•0 comments

The place the frostbite CPU came from

https://twitter.com/EV_Trapper/status/2123631975894302816
1•petra•32m ago•0 comments