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.

Dropstone composed and mixed a full orchestra in 7.1 surround for under $1

https://www.dropstone.io/blog/dropstone-nocturne-7-1-orchestra
1•DarenWatson•56s ago•0 comments

The Lucrative World of Literary Scams

https://www.thedial.world/articles/news/ai-book-scams
1•samclemens•1m ago•0 comments

The Many Failures of Larry David

https://colossus.com/article/many-failures-larry-david-profile/
1•jger15•1m ago•0 comments

Notepad++ for macOS – Native Qt 6 / Scintilla port with top plugins

https://github.com/kalderonski73/notepad-plus-plus-macos
1•k1000o73•2m ago•0 comments

Cybersecurity Agency Protect U.S. Elections. Officials Fear Trump Compromise It

https://www.propublica.org/article/cisa-election-security-donald-trump
1•DeepLogin•2m ago•0 comments

What Is Vinix? The V-Language OS That Runs Docker

https://www.fosslinux.com/162837/what-is-vinix.htm
1•baranul•9m ago•0 comments

It Turns Out the Only Thing People Like Less Than AI Is Paying for Adobe

https://www.inc.com/jason-aten/it-turns-out-the-only-thing-people-like-less-than-ai-is-paying-for...
1•baranul•12m ago•0 comments

AI firm Anthropic to commit 5% of shares to fund for 'public good'

https://www.theguardian.com/technology/2026/oct/19/ai-firm-anthropic-to-commit-shares-to-fund-for...
3•beardyw•13m ago•1 comments

I will give one of my SpaceX shares to every kid in America

https://twitter.com/elonmusk/status/2112089556615123114
2•bilsbie•13m ago•1 comments

What Is This Worth?

https://nuno-icons.com/2026/10/19/what-is-this-worth/
2•HieronymusBosch•13m ago•0 comments

Harness2 by Google Research – Recursive Agent Harnessing

https://github.com/google-research/harness2
3•irthomasthomas•15m ago•0 comments

Art in the Age of Mechanical Reproduction [pdf]

https://web.mit.edu/allanmc/www/benjamin.pdf
1•signa11•16m ago•0 comments

Britain should reject the lure of cheap – and scary – Chinese AI

https://www.theguardian.com/business/2026/oct/17/why-britain-should-reject-the-lure-of-cheap-and-...
2•irthomasthomas•19m ago•0 comments

Ask HN: How to deal with shipping AI-written code you don't understand?

3•rzk•20m ago•5 comments

Achtung Die Kurve, on a Sphere

https://kugel.agge.dev/
1•agge•20m ago•1 comments

The Developer's Hierarchy of Needs Is Being Eaten from the Bottom

https://blog.technodrone.cloud/2026/10/developers-hierarchy-eaten-from-the-bottom.html
1•maishsk•20m ago•0 comments

Hookgap passive email and website security checks for any domain

https://hookgap.com/
1•dexodexo•23m ago•0 comments

A5

https://a5geo.org/
2•pheelicks•24m ago•0 comments

Gitby – Stop fixing conflicts. Prevent them

https://gitby.dev
1•gitby•26m ago•0 comments

Show HN: Check if a PDF's redactions can be undone, in the browser

https://blurdata.app/redaction-checker
2•iyia•28m ago•0 comments

Elixir at Ramp

https://builders.ramp.com/post/elixir-at-ramp
3•matthewsinclair•30m ago•0 comments

ESA's Hera Will View Asteroid Scars from DART's Strike

https://spectrum.ieee.org/esa-hera-dimorphos-rendezvous
2•rbanffy•32m ago•0 comments

OpenPS2BIOS

https://github.com/TamaribaEmu/OpenPS2BIOS
2•wicket•33m ago•0 comments

Alternatives to Animal Testing Are Finally Taking Off

https://spectrum.ieee.org/alternatives-to-animal-testing
4•rbanffy•33m ago•0 comments

Postgres mirroring in Snowflake: what it costs

https://medium.com/@yanivleven/postgres-mirroring-in-snowflake-what-it-really-costs-and-how-to-ke...
2•yanivleven•35m ago•0 comments

A database of temperatures for large inland lakes across the coterminous U.S.

https://www.nature.com/articles/s41597-024-03103-8
3•bryanrasmussen•36m ago•1 comments

Room for Ambition

https://karrisaarinen.com/posts/room-for-ambition/
1•yakkomajuri•37m ago•0 comments

Show HN: I re-read the terms of 175 AI tools twice; 60% changed in 15 weeks

https://clipjury.com/guides/ai-tool-terms-changed-2026/
10•abdallahamjid•37m ago•4 comments

How to build a SaaS product with Claude Code

https://www.theaithinker.com/p/how-to-build-a-saas-product-with
1•adamfaik•38m ago•1 comments

Jev for Every Slack Message

https://slacklookout.com/
1•m_busel•39m ago•0 comments