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.

I created a playground for 110 database systems

https://clickhouse.com/blog/clickbench-playground
2•soheilpro•1m ago•0 comments

Implementing a Funding Rate Arbitrage Strategy with Minute-Level Backtesting

https://medium.com/@DolphinDB_Inc/profiting-from-perpetuals-implementing-a-funding-rate-arbitrage...
2•yiweileng•2m ago•0 comments

Show HN: Hacker News CLI

https://github.com/ViktorRingnes/hackernews
2•viktorringnes•2m ago•0 comments

When the Future Doesn't Need Us

https://borretti.me/article/when-the-future-doesnt-need-us
2•reasonableklout•4m ago•0 comments

Weighing the Business Case for Quality

https://allenpike.com/2026/finding-a-business-case-for-quality/
2•ingve•4m ago•0 comments

Show HN: We Fixed UniFi's Slow PPPoE Performance with PPPoE Half-Bridge

https://arcbox.dev/blog/unifi-pppoe-half-bridge-acceleration
2•uneven9434•6m ago•0 comments

Free Press Release Sites List

https://galaxyonknowledge.substack.com/p/what-are-press-release-sites-free
2•galaxyonknowled•10m ago•0 comments

Bonsai: Janestreet's UI Library

https://github.com/janestreet/bonsai
2•KolmogorovComp•11m ago•0 comments

Team America: Yen Police

https://www.ft.com/content/f6d563ee-9238-4f82-a848-79f2478326bd
2•JumpCrisscross•11m ago•0 comments

AI Is a Race Car, Not Autopilot

https://ryansouthgate.com/ai-is-a-racecar/
2•ry8806•16m ago•0 comments

AI slop blocked a real $200K macOS flaw

https://the-decoder.com/a-real-macos-flaw-worth-200k-went-unreported-because-apples-bug-bounty-in...
2•BlueBerry2001•17m ago•0 comments

The Java Story – The Official Documentary [video]

https://www.youtube.com/watch?v=ZqGSg4b_cZA
2•chillax•29m ago•0 comments

CodeBot: Full details on our New AI for Delphi

https://blogs.remobjects.com/2026/07/30/codebot-the-story/
6•vintagedave•31m ago•0 comments

Most Australian teens on social media three months after under-16 ban began

https://www.japantimes.co.jp/news/2026/07/31/asia-pacific/australia-teens-social-media-ban/
2•01-_-•31m ago•0 comments

1 in 4 people in Japan believes AI could replace friends and family: poll

https://www.japantimes.co.jp/news/2026/08/02/japan/poll-ai-replace-friends-family/
5•01-_-•32m ago•1 comments

GLP-1s and their unknown impacts on human creativity

https://hereisyourbrain.substack.com/p/should-we-all-take-glp1
2•prdgl_daughter•33m ago•0 comments

Faster floating point math with Rust's new API

https://pythonspeed.com/articles/faster-float-math-rust/
2•birdculture•33m ago•0 comments

Don't Take the Black Pill (Text Adaptation)

https://andrewkelley.me/post/dont-take-black-pill.html
3•gabrielgio•34m ago•0 comments

Octane – React's programming model, compiled

https://octanejs.dev
3•nnx•37m ago•0 comments

Can Animals Be Right- or Left-Pawed?

https://www.discovermagazine.com/the-animal-kingdom-is-full-of-righties-and-lefties-42164
2•thunderbong•38m ago•0 comments

Travel

https://www.google.com/
2•BrentLakin•38m ago•1 comments

How to Switch from Windows to Linux

https://sprune.com/blog/how-to-switch-from-windows-to-linux/
2•nreece•40m ago•1 comments

Show HN: Daily Math Puzzle

https://dozenal.game
2•sarreph•43m ago•0 comments

Police Surveillance Technology: Last Week Tonight with John Oliver (HBO) [video]

https://www.youtube.com/watch?v=lnBPhelCdWE
4•jhonovich•49m ago•0 comments

Pipe – A runtime where AI operations are language primitives

https://pipe-lang.com
2•harrymachura•50m ago•0 comments

A C++ toolchain from 357 bytes, in Bazel

https://fzakaria.com/2026/08/01/a-c++-toolchain-from-357-bytes-in-bazel
2•ingve•53m ago•0 comments

Napoleon (1926)

https://gutenberg.org/cache/epub/79253/pg79253-images.html
2•petethomas•55m ago•0 comments

Show HN: Eight: a symbolic, indentation-based programming language

https://git.disroot.org/EightLang/Eight/src/branch/alpha
2•Vextoly•56m ago•1 comments

How rogue officers turned a nationwide camera network into a tool for stalking

https://www.washingtonpost.com/technology/2026/08/02/how-police-officers-used-vast-network-camera...
4•baranul•1h ago•0 comments

Sony BMG copy protection rootkit scandal from 2005

https://en.wikipedia.org/wiki/Sony_BMG_copy_protection_rootkit_scandal
3•thinkingemote•1h ago•0 comments