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.

When the Walls Came Down

http://scripting.com/2026/07/28/115945.html
1•Tomte•1m ago•0 comments

If U.S. labs slow down AGI development, this could be 2028

1•aliahad•5m ago•0 comments

Good CLI Design Is Mostly Silence

https://yarlson.dev/blog/good-cli-design-is-mostly-silence/
1•ankitg12•5m ago•0 comments

A dystopian world where LLMs can't code but can generate software binaries

https://twitter.com/random_walker/status/2082163285588107752
1•kristianpaul•9m ago•0 comments

The NEET Paper Leak

https://medium.com/freedomofthought/the-neet-paper-leak-why-accountability-matters-more-than-resi...
1•raynchad•9m ago•1 comments

Jason Arday

https://unherd.com/2026/07/jason-arday-cambridges-dei-darling/
1•Tomte•9m ago•0 comments

The Lisa: Apple's Most Influential Failure (2023)

https://computerhistory.org/blog/the-lisa-apples-most-influential-failure/
1•droidjj•10m ago•0 comments

FCC bans foreign-produced solar inverters, grid lockout begins today

https://pv-magazine-usa.com/2026/07/28/fcc-bans-foreign-produced-solar-inverters-grid-lockout-beg...
1•xbmcuser•12m ago•0 comments

Indian EV makers beat Tesla, BYD in global efficiency race

https://restofworld.org/2026/indian-evs-beat-tesla-byd-icct-efficiency-ranking/
1•donohoe•12m ago•0 comments

The Great Oxidation Event: How Cyanobacteria Changed Life

https://asm.org/articles/2022/february/the-great-oxidation-event-how-cyanobacteria-change
1•andsoitis•18m ago•1 comments

The rise of AI-written fiction book sales on Amazon, 2023-2026

https://twitter.com/TuhinChakr/status/2082124139973030095
1•qingcharles•24m ago•1 comments

Show HN: MetrIQ – An AI fitness coach who supports you

https://metriq.fitness
1•zinas•26m ago•0 comments

Le Crane: Analyzing Lithographs "Anamorphosis Suite" by Salvador Dalí

https://community.wolfram.com/groups/-/m/t/2701419
1•jruohonen•26m ago•0 comments

Going IndieWeb

https://www.roycehaynes.com/articles/going-indieweb/
2•roycehaynes•27m ago•0 comments

The Internet of AI

https://om.co/2026/05/04/say-hello-to-the-internet-of-ai/
1•simonpure•32m ago•0 comments

Cosmos 3 Edge

https://huggingface.co/blog/nvidia/cosmos3edge
2•gmays•34m ago•0 comments

Evolution as Fact and Theory

https://en.wikipedia.org/wiki/Evolution_as_fact_and_theory
2•chistev•35m ago•0 comments

Simulating the core pulse in Helion's Trenta

https://twitter.com/i/status/2082005900806783425
1•abhinavsns•35m ago•0 comments

Malware Problem

https://crookedtimber.org/2026/07/29/malware-problem/
1•jruohonen•36m ago•0 comments

Node.js now supports require(esm); React should consider a pure ESM build next

https://github.com/react/react/issues/37091
1•narukeu•39m ago•0 comments

Elon Musk's company sues MN over law to bar manipulated images to fake nudity

https://www.mprnews.org/story/2026/07/28/elon-musks-company-x-ai-sues-minnesota-over-new-law-to-b...
2•jrflowers•42m ago•1 comments

Hister: Your Own Search Engine

https://github.com/asciimoo/hister
1•thunderbong•42m ago•0 comments

Our Approach to Responsible Agentic Development in Open Source

https://www.puppet.com/blog/ai-open-source
1•mooreds•44m ago•0 comments

Starling – a Linux desktop environment made with Swift

https://starling.build/
1•whalesalad•46m ago•0 comments

Show HN: I spent 3 years building the CRM I wanted to use

https://ninjapipe.com
1•dinuka_jay•46m ago•0 comments

Elon Musk's xAI sues Minnesota over law to ban 'nudify' apps

https://www.cnbc.com/2026/07/28/spacexs-xai-sues-minnesota-over-law-to-ban-nudify-apps-.html
5•coffepot77•48m ago•1 comments

Bugs That Broke Driving

https://blog.comma.ai/driving-bugs/
2•LorenDB•50m ago•0 comments

GitHub Copilot app for Beginners: Getting started

https://github.blog/ai-and-ml/github-copilot/github-copilot-app-for-beginners-getting-started/
1•smokeeaasd•52m ago•0 comments

1994: Are You Ready for the Internet?

https://www.youtube.com/watch?v=XpZ5STahhPE
3•chistev•52m ago•0 comments

Reading the tea leaves: 2026 predictions

https://artificialconfidence.com/p/reading-the-tea-leaves-2026-predictions
2•mooreds•53m ago•1 comments