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

Comments

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

Emissary, a fast open-source Java messaging library

https://github.com/joel-jeremy/emissary
1•jeyjeyemem•1m ago•1 comments

US sports say parity is essential for success. Premier League proves that untrue

https://www.theguardian.com/football/2026/jan/15/premier-league-parity-nfl-nba-mlb
1•PaulHoule•1m ago•0 comments

France seizes suspected Russian 'shadow fleet' oil tanker in the Mediterranean

https://www.bbc.com/news/articles/cdexxr2y907o
2•grugagag•1m ago•0 comments

NeuralVoid – Block AI Telemetry from Copilot, Grammarly, Adobe

https://github.com/XORD-AI/NeuralVoid
1•XORD_IO•2m ago•1 comments

Bitwarden 200% Price Increase

https://bitwarden.com/blog/bitwarden-launches-enhanced-premium-plan/
1•jandeboevrie•2m ago•0 comments

Playing Pokémon Became the Ultimate Test of AI's Intelligence

https://www.wsj.com/articles/how-playing-pokemon-became-the-ultimate-test-of-ais-intelligence-140...
1•fortran77•3m ago•1 comments

Show HN: Bashme_a_script_that", generate and cache bash scripts via promptcmd

https://promptcmd.sh/lib/#bashme_a_script_that
1•tgalal•3m ago•0 comments

Databricks Feature Flags

https://www.databricks.com/blog/high-availability-feature-flagging-databricks
2•ayf•3m ago•0 comments

Atrion v2.0: Physics engine for traffic control (586M ops/s, Rust/WASM)

https://github.com/cluster-127/atrion
1•laphilosophia•4m ago•0 comments

LiveKit raises $100M to build the backbone for voice AI

https://blog.livekit.io/livekit-series-c/
1•sijmen•4m ago•0 comments

JavaScript Returns Undefined

https://ylovits.github.io/returns-undefined/
1•todsacerdoti•6m ago•0 comments

Live 2025 – Nova [video]

https://www.youtube.com/watch?v=Um_LXirqW1k
1•surprisetalk•7m ago•0 comments

Ocearch Shark Tracker

https://www.ocearch.org/tracker/
1•surprisetalk•7m ago•0 comments

A Simple Metric for Choosing Immigrants for America

https://marginalrevolution.com/marginalrevolution/2025/09/a-simple-metric-for-choosing-immigrants...
1•surprisetalk•7m ago•0 comments

No egress fees, no VC: bootstrapping a cloud provider in 2025

https://www.businessinsider.com/nvidia-engineer-derek-fulton-launch-carolina-cloud-2026-1
1•bojangleslover•7m ago•1 comments

Links That Survive the Printer

https://www.joshbeckman.org/blog/practicing/links-that-survive-the-printer
1•bckmn•7m ago•0 comments

Old WebToday – Old OS/ Browser (NCSA Mosaic 2, IE5, etc.) Emulator

https://oldweb.today/
1•cvg•8m ago•0 comments

Musk told Davos self-driving is "solved"

https://jpcaparas.medium.com/musk-told-davos-self-driving-is-solved-nhtsa-has-80-violations-on-fi...
1•kklisura•8m ago•1 comments

Spotify Lawsuit Triggered Anna's Archive Domain Name Suspensions

https://torrentfreak.com/unsealed-spotify-lawsuit-triggered-annas-archive-domain-name-suspensions/
1•breakingcups•8m ago•0 comments

Am I too stupid to vibe code?

https://www.garbageday.email/p/am-i-too-stupid-to-vibe-code
1•giraffe_lady•10m ago•1 comments

Personal Intelligence in AI Mode in Search

https://blog.google/products-and-platforms/products/search/personal-intelligence-ai-mode-search/
1•ChrisArchitect•13m ago•0 comments

Marginal Gains: From Worst to Olympic Gold

https://read.perspectiveship.com/p/marginal-gains
2•rom16384•14m ago•0 comments

Recent discoveries on the acquisition of the highest levels of human performance

https://www.science.org/doi/abs/10.1126/science.adt7790
2•colincooke•15m ago•0 comments

My time at Amazon: On status and sacrifice at Big Tech

https://beccaselah.substack.com/p/my-time-at-amazon-part-i
2•helloworld8888•16m ago•0 comments

Defining Moments in TV History

https://www.wsj.com/arts-culture/television/tv-history-usa-defining-moments-593edf50
1•psim1•17m ago•0 comments

Show HN:Beni AI – Create your own AI waifu, then video call her in real time

https://app.thebeni.ai/login
1•chaeeunlee9611•17m ago•2 comments

Show HN: AgentShield, The missing safety layer for Cowork and AI Agents

https://github.com/tomsun28/agentshield
1•tomsun28•18m ago•0 comments

Seeing Circles, Sines, and Signals a Compact Primer on Digital Signal Processing

https://jackschaedler.github.io/circles-sines-signals/index.html
1•ofou•18m ago•0 comments

The Power of Play in Tech with Vercel's Matias Gonzalez [video]

https://www.youtube.com/watch?v=PaGPzvvGF0I
1•nadis•19m ago•0 comments

Teaching Economics to the Machines

https://www.nber.org/papers/w34713
1•speckx•20m ago•0 comments