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.

1•ArcGrav•17s ago

Continuous reinvention: Volumes that fit

https://www.allthingsdistributed.com/2026/12/continuous-reinvention-volumes-that-fit.html
1•werner•21s ago•0 comments

Looking for Landsat in Playboy

https://blog.ryjones.org/2026/12/02/landsat
1•RyJones•1m ago•1 comments

Origin of the Abbreviation Internationalization

http://www.i18nguy.com/origini18n.html
1•publicdebates•1m ago•0 comments

Julia 1.13 brings REPL improvements and more

https://lwn.net/Articles/1108153/
1•leephillips•1m ago•0 comments

An unexpected player in the response to low oxygen

https://news.mit.edu/2026/unexpected-player-response-to-low-oxygen-1201
1•rbanffy•1m ago•0 comments

Ask HN: Is AI changing your writing process

1•cyndunlop•3m ago•0 comments

First AI system-on-chip reduces startup time to 65.7 milliseconds

https://techxplore.com/news/2026-12-world-ai-chip-startup-milliseconds.html
1•gmays•4m ago•0 comments

Hack the Latacora blog: a primer on database encryption

https://www.latacora.com/blog/2026/11/30/database-encryption-primer/
1•benweissmann•5m ago•0 comments

Horcrux Diary – Browser-based interactive parchment with OCR and AI

1•AgehaCho•7m ago•0 comments

Detroit woman's personalized plate triggers traffic stops, gunpoint encounters

https://www.clickondetroit.com/news/local/2026/12/02/detroit-womans-personalized-plate-triggers-r...
1•Mountain_Skies•9m ago•0 comments

Future Timeline: 2027

https://www.futuretimeline.net/21stcentury/2027.htm#2027
1•noworld•10m ago•0 comments

Show HN: Vole – Self-hosted forge that lives in your Git repo

https://vole.rodent.software/
1•suspecthorse•10m ago•0 comments

The Demise of Deno

https://kitsonkelly.com/posts/demise-of-deno
1•todsacerdoti•10m ago•0 comments

An email, calendar, and contacts all-in-one engine is exciting

https://ergaster.org/thoughts/pimalaya-first-stable-release/
1•todsacerdoti•10m ago•0 comments

Ask HN: Freelance Programmers – Where are you pivoting?

1•brokegrammer•11m ago•0 comments

Show HN: What each Mexican consulate asks in income for a residence visa

https://mexico-residency-guide.vercel.app/consulates
1•phillipmex•11m ago•0 comments

Show HN: Jabhook – Computer Vision for Martial Arts Training

https://apps.apple.com/us/app/jabhook/id6838853672
1•johnny5211•12m ago•0 comments

How Far Behind Are Open-Weight Models?

https://sebastianraschka.com/blog/2026/how-far-behind-are-open-weight-models.html
4•ModelForge•12m ago•0 comments

Show HN: 3–5x faster inference for computer vision models, fastforks

https://github.com/kleinicke/fastforks
2•kleinicke•13m ago•1 comments

"Bitcoin is an inflation hedge"

https://twitter.com/ParadisLabs/status/2128461591100186733
3•doener•13m ago•0 comments

Same model, two clouds: 86% vs. 99% prompt cache hits

https://medium.com/@veeti_57592/same-model-same-price-two-clouds-86-vs-99-prompt-cache-hits-6083f...
1•valliveeti•13m ago•0 comments

Canadian Mounties raid home hosting North Korean laptop farm

https://www.tomshardware.com/tech-industry/cyber-security/canadian-mounties-raid-home-of-unwittin...
1•LaSombra•15m ago•0 comments

Open letter to Ursula von der Leyen

https://twitter.com/brivael/status/2128437419934376332
2•mudil•15m ago•0 comments

The Weird Thing About San Francisco's Hottest Startups

https://www.theatlantic.com/technology/2026/12/fake-start-ups/689603/
1•jonah•15m ago•0 comments

ESP32-CAM object detection without training a model

https://blog.camly.ai/en/api-arduino-esp32-cam/
2•omessai•16m ago•0 comments

Knowledge Refinement in the Digital Era

https://blog.khinsen.net/posts/2026/09/25/knowledge-refinement.html
1•karakoram•16m ago•0 comments

Show HN: Checking LemmaScript Contracts Against Quint Protocols

https://midspiral.com/blog/lemmascript-quint-checking-lemmascript-contracts-against-quint-protocols/
1•namin•17m ago•0 comments

Show HN: A Python written GameBoy Color emulator survives its 8 MHz clock

https://github.com/atifcodesalot/hazelnut-gb-emu
1•BSPtree•17m ago•0 comments

Becoming physically immune to brute-force attacks

https://seirdy.one/posts/2021/01/12/password-strength/
1•FigurativeVoid•17m ago•0 comments