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.

Two Alleged 'TeamPCP' Hackers Arrested in Australia

https://krebsonsecurity.com/2026/08/two-alleged-teampcp-hackers-arrested-in-australia/
1•e12e•37s ago•0 comments

GPU World

https://www.gpuworld.org/
1•simonpure•1m ago•0 comments

Sliding-window beats linear attention

https://arxiv.org/abs/2608.28444
1•simonpure•2m ago•0 comments

Running a personal AI agent on an old Android phone instead of a server

https://medium.com/@fsaint/the-best-home-for-your-agent-is-in-your-junk-drawer-3afe0b0976e8
1•fsaint•4m ago•0 comments

OpenTS is a new open-source reconstruction of Command and Conquer: Tiberian Sun

https://www.gamingonlinux.com/2026/08/opents-is-a-new-open-source-reconstruction-of-command-conqu...
1•geoffbp•4m ago•0 comments

A Deep Dive into LDS Optimizations on AMD Instinct MI450 GPUs

https://rocm.blogs.amd.com/software-tools-optimization/mi450-lds-optimization/README.html
1•matt_d•8m ago•0 comments

Combinatorial Implosion

https://royalicing.com/2026/combinatorial-implosion
1•burntcaramel•9m ago•0 comments

Google Antigravity introduces Boost deep reasoning (/boost)

https://antigravity.google/docs/boost/
1•simonpure•11m ago•0 comments

Anthropic signs $35B cloud deal with Nvidia-backed Lambda, source says

https://www.thestar.com.my/tech/tech-news/2026/09/01/anthropic-signs-35-billion-cloud-deal-with-n...
1•geoffbp•11m ago•0 comments

Duane Davis guilty in murder of Tupac Shakur

https://abcnews.com/US/jury-begins-deliberating-trial-murder-tupac-shakur/story?id=136099547
1•colinprince•16m ago•1 comments

Expansion at China's 'Area 51'

https://www.twz.com/news-features/chinas-area-51-is-undergoing-a-massive-expansion
1•Gaishan•16m ago•0 comments

California Lawmakers Pass Plug-In Solar Bill

https://www.nytimes.com/2026/08/27/business/energy-environment/california-legislature-plugin-sola...
5•lxm•20m ago•1 comments

Is MCP Good Yet?

https://ismcpgoodyet.com
1•handfuloflight•21m ago•0 comments

I was sick of $99 directory scams, so I built a fair 10-min rotation launchpad

https://spotmy.app/
1•ricotouring•21m ago•0 comments

Not Becoming a Cyborg

https://nolanlawson.com/2026/08/31/on-not-becoming-a-cyborg/
1•Refreeze5224•22m ago•0 comments

PokeVS – Guess the taller Pokémon, battle stats

https://poke-vs.com
1•AdamRichic•22m ago•0 comments

Retiring from the Project (Vv221)

https://lists.debian.org/debian-devel/2026/08/msg00318.html
1•OsrsNeedsf2P•24m ago•1 comments

Fastpotify

https://fastpotify.rocks/
2•nreece•25m ago•0 comments

GTA 6's Relationship Mechanic Is 'Cheating' on Your Real-Life Partner and Break

https://www.ign.com/articles/gta-6s-relationship-mechanic-is-cheating-on-your-real-life-partner-a...
1•FannyJoeStyles•25m ago•0 comments

Astronomers detect fastest known star in Milky Way

https://www.theguardian.com/science/2026/aug/19/astronomers-detect-fastest-known-star-in-milky-wa...
1•gmays•26m ago•0 comments

Ask HN: Why does HN hide the best comments and promote the worst?

1•RepResetNow•26m ago•1 comments

Tailcat: Tailscale Without Tailscale, by Tailscale

https://tailscale.com/blog/tailcat
2•ricochet11•29m ago•0 comments

FTC, States Sue Amazon over Secret Ad Surcharge Scheme

https://www.ftc.gov/news-events/news/press-releases/2026/08/ftc-states-sue-amazon-over-secret-ad-...
2•js2•33m ago•0 comments

Why Cargo's Yank Warning Became the Attack

https://medium.com/@chinmayshringi4/why-cargos-yank-warning-became-the-attack-74ec06042e8a
1•syumei•33m ago•0 comments

Ex-Crips leader found guilty in 1996 murder of rapper Tupac Shakur

https://www.bbc.com/news/articles/c24j5192j7jo
40•1659447091•37m ago•13 comments

China's CXMT Begins Production of Its HBM3E Memory

https://www.reuters.com/world/asia-pacific/chinas-cxmt-makes-breakthrough-advanced-memory-chips-i...
1•yogthos•39m ago•0 comments

Show HN: A Curated Library of Hero Sections from Fast-Growing Startups

https://www.herotxt.page/
1•lynn_xx•41m ago•0 comments

How My Students Think About AI

https://www.lesswrong.com/posts/ySXuvJcqRindQwAk7/how-my-students-think-about-ai
4•pella•41m ago•0 comments

Tell HN: Remember to Change Your Filters

2•surprisetalk•42m ago•1 comments

Mortal AGI via ICA/PCA Rep-Grids Replacing Currency with Local Infrastructure

http://ingridx.dynu.net/Substack/Mortal-AGI.html
1•jimekus•45m ago•0 comments