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.

Partial Lunar Eclipse on 27-28 August 2026 (most Europe Friday ~6AM)

https://www.timeanddate.com/eclipse/lunar/2026-august-28
1•Markoff•5m ago•0 comments

A Verified Generational GC for OCaml

https://risemsr.github.io/blog/2026-08-21-gc/
1•matt_d•7m ago•0 comments

Show HN: A browser MMO designed to be played by scripts, not people

https://space-core.at/
1•SpaceCoreDev•8m ago•0 comments

Safer-dependencies is a security layer for Claude Code that audits dependencies

https://github.com/robert-auger/safer-dependencies
1•zenomorph•8m ago•0 comments

The AI Verification Bottleneck: Why Writing Code Is No Longer the Hard Part

https://pragmaticbydefault.com/posts/ai-verification-bottleneck/
1•mruklukasz•10m ago•0 comments

Exxon turns to automated drilling in the Permian in push for higher oil output

https://www.reuters.com/business/energy/exxon-turns-automated-drilling-permian-push-higher-oil-ou...
1•geox•11m ago•0 comments

dotfiles on GitHub

https://dotfiles.github.io/
1•jcbhmr•12m ago•0 comments

Darkbloom (decentralized AI inference on Macs)-community security audit findings

https://github.com/Layr-Labs/d-inference/issues/705
1•mudiam•12m ago•0 comments

Show HN: LockIn – An iOS app blocker tied to Focus and Pomodoro timers

https://apps.apple.com/us/app/lockin-focus-pomodoro-timer/id6803402976
1•SunnyRK•13m ago•0 comments

Show HN: Screen memory without screenshots, just text to Markdown

https://github.com/dragthelake/ambient-context
4•Dramatize•15m ago•0 comments

Ydotool – Generic command-line automation tool

https://github.com/ReimuNotMoe/ydotool
2•modinfo•17m ago•0 comments

Are managers becoming better ICs?

https://swapniltalekar.substack.com/p/are-managers-really-becoming-better
2•swapnilt•18m ago•0 comments

Latah

https://en.wikipedia.org/wiki/Latah
1•emmelaich•18m ago•1 comments

Kyverno Policies to Secure Your Kubernetes Cluster

https://medium.com/@devarshidev/i-wanted-ai-code-review-i-could-actually-own-so-i-built-codra-bee...
1•devarshishimpi•20m ago•0 comments

Cloudflare OS: Open-Source Corp AI Platform Built on a Capability-Based Model

https://www.infoq.com/news/2026/08/cloudflare-os-ai-platform-secure/
1•binarray2000•26m ago•0 comments

Code maintainability plummets in the AI coding era

https://leaddev.com/ai/code-maintainability-plummets-in-the-ai-coding-era
2•ejboy•26m ago•0 comments

Distributed Identity

https://jyn.dev/distributed-identity/
1•speckx•31m ago•0 comments

Side projects, kids, full time job

https://twitter.com/JordanMorgan10/status/2091934796926627863
1•eric_khun•31m ago•0 comments

Huge Pages Can Improve PostgreSQL Performance

https://clickhouse.com/blog/huge-pages-clickhouse-managed-postgres
1•saisrirampur•32m ago•0 comments

Show HN: Wirespan, a daily power grid optimization puzzle I made for my son

https://wirespan.app/?r=hn
2•dualarte•32m ago•2 comments

Is Starlink a Secret Radar Constellation? [video]

https://www.youtube.com/watch?v=jbp3kdJZ1_A
1•fortran77•36m ago•0 comments

Volcanoes that made history

https://knowablemagazine.org/content/article/physical-world/2026/volcanoes-that-made-history
2•flabber•38m ago•0 comments

Mark Cuban, worth more than $10B, has a bold plan to tackle wealth inequa

https://economictimes.indiatimes.com/news/international/global-trends/mark-cuban-worth-more-than-...
1•newsomix9xl•39m ago•1 comments

Supermicro Super AI Station (GB300, 20 Pflops FP4, 748GB Coherent Memory)

https://www.supermicro.com/en/accelerators/nvidia/super-ai-station
2•peter_d_sherman•39m ago•1 comments

French firms & Rheinmetall AG targeted by Chinese export controls

https://www.intelligenceonline.com/asia-pacific/2026/08/25/three-french-firms-targeted-by-beijing...
1•alephnerd•40m ago•0 comments

It's Been 20 Years Since Astronomers Decided Pluto Isn't a Planet

https://www.cnet.com/science/space/20-years-since-astronomers-decided-pluto-isnt-a-planet/
2•speckx•44m ago•0 comments

Headlong: A Microharness for Persistent Agents

https://www.laude.org/updates/headlong-a-microharness-for-persistent-agents
12•lbw1215•54m ago•4 comments

AI algorithm for room temperature superconductor, candidate detected

https://zenodo.org/records/22073633
1•tsagaansuld•55m ago•0 comments

Ask HN: What's the current state of Quantum Vulnerability

1•vednig•55m ago•0 comments

'Normal' research trap limits EU scientific breakthroughs, disruptive innovation

https://www.researchgate.net/publication/408700233_A_%27normal%27_research_trap_limits_scientific...
1•musha68k•59m ago•0 comments