frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•11mo ago

Comments

llm-exe•11mo 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•11mo 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.

Generative design of novel bacteriophages with genome language models [pdf]

https://www.biorxiv.org/content/10.1101/2025.09.12.675911v1.full.pdf
1•thunderbong•8m ago•0 comments

Built a safety-first options automation tool for covered calls

1•jansonlau•17m ago•0 comments

Why cars charge 5x faster in China when the research is shared?

https://cyrusradfar.com/thoughts/why-cars-charge-5x-faster-in-china/
2•cyrusradfar•23m ago•0 comments

America's Pandemic Car Bubble Is Now Trapping Buyers in Debt

https://www.wsj.com/business/autos/car-owners-debt-negative-equity-3cfcd031
2•JumpCrisscross•24m ago•0 comments

Our Principles

https://openai.com/index/our-principles/
1•salkahfi•38m ago•0 comments

A New Idea to Save the Climate? Dam the Bering Strait.

https://www.nytimes.com/2026/04/24/climate/amoc-bering-strait-dam.html
2•bookofjoe•42m ago•1 comments

Sabastian Sawe becomes first person to break two-hour marathon mark

https://www.rte.ie/sport/athletics/2026/0426/1570275-sawe-becomes-first-man-to-break-two-hour-mar...
2•austinallegro•44m ago•0 comments

Show HN: Nitrum – Rust Toolkit and CLI for AWS Nitro Enclaves

https://github.com/matzapata/nitrum
2•matzapata•45m ago•1 comments

I Learned to Stop Worrying and Love Coding with AI

https://jeffield.net/blog/claude-strangelove-or-how-i-learned-to-stop-worrying-and-love-coding-wi...
1•jsheffie•46m ago•0 comments

The Atari 1200XL – By Paul Lefebvre

https://www.goto10retro.com/p/inside-the-atari-1200xl
1•rbanffy•46m ago•0 comments

Did You Say "Intellectual Property"? It's a Seductive Mirage

https://www.gnu.org/philosophy/not-ipr.html.en
2•MontyCarloHall•49m ago•0 comments

FreeBSD Device Drivers Book

https://github.com/ebrandi/FDD-book
1•myth_drannon•50m ago•0 comments

Jaeger adopts OpenTelemetry at its core to solve the AI agent observability gap

https://thenewstack.io/jaeger-v2-ai-observability/
1•Brajeshwar•51m ago•0 comments

Intel reportedly says it boosted yields by selling what would normally be scrap

https://www.tomshardware.com/pc-components/cpus/intel-reportedly-says-it-boosted-yields-by-sellin...
2•rbanffy•52m ago•0 comments

The tortoise and the hare: will China beat the US in the race back to the moon?

https://www.theguardian.com/science/2026/apr/26/china-us-space-race-moon
3•pseudolus•54m ago•0 comments

Show HN: CheckThisOut – a filtered directory of side hustles and AI tools

https://checkthisout.com/
1•mbahlitz•56m ago•0 comments

SnakeBreak [a Browser Extension Game]

https://addons.mozilla.org/en-US/firefox/addon/snakebreak/
1•programmexxx•58m ago•1 comments

VPinFE – Cross-platform Front end for VPinball

https://github.com/superhac/vpinfe
1•terry107•1h ago•0 comments

JQuake – monitor real-time shaking events in Japan

https://jquake.net/en/
1•pndy•1h ago•0 comments

Statistical Structure and the Evolution of Languages

https://royalsocietypublishing.org/rspb/article/293/2068/20252374/481270/Statistical-structure-an...
1•Anon84•1h ago•0 comments

The Spinor Genus and the Distinguishing Lattice Isomorphism Problem(2024)

https://eprint.iacr.org/2024/1475
1•rolph•1h ago•0 comments

NSF science advisory board fired by Trump administration

https://www.nature.com/articles/d41586-026-01361-7
2•rguiscard•1h ago•1 comments

Show HN: Out Loud – open-source desktop TTS app for macOS/Windows/Linux

https://github.com/light-cloud-com/out-loud
2•julia-kafarska•1h ago•0 comments

Show HN: Logic Designer – Webapp

https://logic-designer.github.io/logic-designer-main/
2•logic-designer•1h ago•0 comments

Show HN: Startup Equity Adventure Game

https://options-game-polymathrobotics.pythonanywhere.com/
7•iliabara•1h ago•3 comments

CIOs struggle to find clarity in their organizations' AI strategies

https://www.cio.com/article/4162949/cios-struggle-to-find-clarity-in-their-organizations-ai-strat...
3•WaitWaitWha•1h ago•0 comments

DeepSeek drops input cache price to 1/10th

https://xcancel.com/deepseek_ai/status/2048440764368347611
5•alecco•1h ago•1 comments

The curious case of Sean Plankey's derailed CISA nomination

https://www.csoonline.com/article/4162801/the-curious-case-of-sean-plankeys-derailed-cisa-nominat...
2•WaitWaitWha•1h ago•0 comments

High energy sports drinks boost performance even if you spit them out

https://www.theguardian.com/science/2009/apr/15/high-energy-carbohydrate-drinks-performance-brain
6•bwoah•1h ago•1 comments

US Navy tests laser weapon that shoots down drones on the USS George H.W. Bush

https://www.tomshardware.com/tech-industry/us-navy-tests-laser-weapon-that-shoots-down-drones-on-...
3•rbanffy•1h ago•0 comments