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.

Where Cities Flood Isn't Always Where the Rain Falls

https://theconversation.com/where-cities-flood-isnt-always-where-the-rain-falls-297145
1•rdmuser•41s ago•0 comments

Stop Linking by Symbol

https://fzakaria.com/2026/12/03/stop-linking-by-symbol
1•setheron•2m ago•0 comments

Ped-Bench: Best AI agent scores 39% on real engineering design tasks

https://www.pedbench.com
2•hemanrasam•3m ago•0 comments

Hardware design rules you should never break

https://predictabledesigns.com/hardware-design-rules-never-break/
1•teleforce•4m ago•0 comments

Mike Pence: Jensen Huang had to go and should've stayed gone

https://twitter.com/Mike_Pence/status/2128569145449202142
1•doener•5m ago•0 comments

Socket develops fixes for all known vulnerabilities in the RubyGems ecosystem

https://www.theregister.com/security/2026/12/03/socket-polishes-rubygems-to-make-packages-nearly-...
1•feross•5m ago•0 comments

AI is upending everything we knew about data security

https://www.rnz.co.nz/news/world/2995197/don-t-panic-but-this-is-not-a-drill-ai-is-upending-every...
4•billybuckwheat•6m ago•0 comments

The Myth of Jensen Huang Is Unraveling

https://www.theatlantic.com/technology/2026/12/jensen-huang-senate-hearing-nvidia/689656/
4•petethomas•9m ago•0 comments

The crypto sky isn't falling, not yet anyway

https://www.patreon.com/OpenSourceWatch/posts/crypto-sky-isnt-177184324?
1•CrankyBear•10m ago•0 comments

The Terminal Browser You Always Wanted, but for the Wrong Reason

https://hackaday.com/2026/12/03/the-terminal-browser-you-always-wanted-but-for-the-wrong-reason/
1•alberto-m•11m ago•0 comments

PS5-mvfg: Frame generation injected into PS5 games on a jailbroken PS5 Pro

https://github.com/Swordpdf/ps5-mvfg
1•mfiguiere•12m ago•0 comments

AI Brain Fry: What worked for me

https://namirsab.dev/blog/ai-brain-fry-what-worked-for-me/
1•adunk•15m ago•0 comments

Only one of 13 surveyed phone models cut storage from 2025 to 2026

https://heavytechasia.com/only-one-of-13-surveyed-phone-models-cut-storage-from-2025-to-2026/
1•ilamont•15m ago•0 comments

Terminal Bench 4.0.0

https://epoch.ai/benchmarks/terminal-bench-4/review
1•seizethecheese•18m ago•0 comments

Jensen Huang Bombs in the Senate

https://www.politico.com/news/2026/12/03/jensen-huang-senate-testimony-01192031
31•JumpCrisscross•18m ago•12 comments

Elizabeth Warren: "Mr. Huang has repeatedly lied to the American people"

https://twitter.com/matthewstoller/status/2128508381061136467
7•doener•18m ago•0 comments

Memory should be sovereign, and measurable

https://blog.mozilla.org/en/mozilla/ams-card-template/
3•andrewstetsenko•19m ago•0 comments

Steamed Hams on the Atari 8-Bit – By Mark Miller – Goto 10

https://www.goto10retro.com/p/steamed-hams-on-the-atari-8-bit
1•rbanffy•19m ago•0 comments

You probably don't care about Unix File Mode and octmode bitwise comparison

https://delicate-pegasus-aac583.netlify.app/posts/octmode.html
1•sebg•20m ago•0 comments

No NAT November 2: Year of the IPv6-only network

https://blog.infected.systems/posts/2026-12-01-no-nat-november-2/
3•DaOne256•22m ago•1 comments

Show HN: CarbonSwarm – AI agents claim and check carbon-capture accounting tasks

https://carbonswarm.dakota-lock.chatgpt.site/
1•Moriarty2025•23m ago•0 comments

New Typing Website Drills Your Mistakes as You Make Them

https://nokotype.com/
2•diligentdonkey1•24m ago•1 comments

GTA 6 PC port hits a snag after dev admits "burned" their company's AI limit

https://www.gamesradar.com/games/grand-theft-auto/gta-6-pc-port-hits-a-snag-after-dev-admits-they...
4•ceejayoz•25m ago•0 comments

Show HN: Ulvium – a completely uncensored coding agent with no email sign-up

https://ulvium.com
1•mepost•29m ago•0 comments

The Most Remote Homes in the World

https://www.architecturaldigest.com/gallery/see-the-most-remote-homes-in-the-world
2•mooreds•29m ago•0 comments

Satellite Monitoring for Bridge Maintenance

https://hackaday.com/2026/11/30/satellite-monitoring-for-bridge-maintenance/
2•sohkamyung•32m ago•0 comments

Sumina – Native iPhone notes with inline tasks, calendar events, and math

https://sumina.app/
1•mazefall•33m ago•1 comments

AI Safety Has a Lot to Learn from Aviation

https://spectrum.ieee.org/ai-safety-aviation-lessons
1•Loquebantur•34m ago•1 comments

Offline watermark remover on an M1 Mac (UNet++ + 2D lattice and LaMa)

https://github.com/otterolie/unwatermark
1•otterolie•34m ago•0 comments

Ergo (Day 0) on Modelplane: Out of the Box, at InferenceX Speed

https://modelplane.ai/blog/muse-and-ergo-on-spot-b300
4•bassamtabbara•36m ago•1 comments