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.

Croatia's Infobip acquires SocketLabs to expand enterprise email infrastructure

https://seenews.com/news/croatias-infobip-acquires-socketlabs-to-expand-enterprise-email-infrastr...
1•taubek•1m ago•0 comments

Launch HN: Context.dev (YC S26) – API to get structured data from any website

https://www.context.dev
1•TheYahiaBakour•1m ago•0 comments

Hy3

https://hy.tencent.com/research/hy3
1•andai•2m ago•0 comments

How to Set Up DKIM: From Key Generation to a Passing DMARC Report

https://dmarcguard.io/blog/dkim-setup-guide/
1•meysamazad•2m ago•0 comments

A Summer Creativity Experiment

https://brainbaking.com/post/2026/07/a-summer-creativity-experiment/
1•meysamazad•3m ago•0 comments

How to Write an Email

https://blog.dannycastonguay.com/how-to-write-an-email/
1•speckx•3m ago•0 comments

Show HN: Strata – guess the city from its real 3D terrain and bathymetry

https://flightq.app/strata
1•skyq•3m ago•0 comments

Show HN: ADarkTerminal

https://adarkterminal.electricsheep.games
1•rrotaru•3m ago•0 comments

Show HN: Blocks.ai – control plane and network layer for agents

https://blocks.ai
1•BlocksAI•4m ago•0 comments

A Possible Future for Damn Interesting

https://www.damninteresting.com/a-possible-future/
1•mzur•5m ago•0 comments

Show HN: I wrote a Libc-free AOT systems language in JavaScript with no VM

https://github.com/DO-SAY-GO/freelang
1•keepamovin•5m ago•0 comments

Good Pain

https://html-chunder.neocities.org/posts/good-pain/
1•meysamazad•5m ago•0 comments

Motion-first robotic action segmentation beats vision-first SOTA

https://www.nomadicai.com/blog/action-segmentation-benchmark
1•simbasdad•7m ago•0 comments

Deadly bacteria found in city's wastewater system tied to Meta data center

https://www.dailymail.com/sciencetech/article-15962981/mark-zuckerberg-meta-wyoming-ai-data-cente...
4•cdrnsf•9m ago•0 comments

Acronym Fatigue Series part 1: CAP, ACID and friends

https://devz.cl/posts/acronym-fatigue-series-cap-acid-etl-elt/
2•DanielVZ•9m ago•0 comments

New York Times and Other Publishers Ask Court to Penalize OpenAI

https://www.nytimes.com/2026/07/09/technology/new-york-times-openai.html
1•donohoe•10m ago•0 comments

Opinionated and Easy Pi.dev Configuration

https://lazypi.org/
2•lwhsiao•10m ago•0 comments

Coordination Without Consolidation: On Systems of States [pdf]

https://isonomiaquarterly.com/wp-content/uploads/2026/06/iq-4.2-summer-2026-macdonald-coordinatio...
1•brandonlc•11m ago•0 comments

Will We Ever Find Alien Civilizations?

https://www.quantamagazine.org/will-we-ever-find-alien-civilizations-20260709/
2•worldvoyageur•12m ago•1 comments

Stop Using reCAPTCHA – It's Not a Real Captcha

https://na0341.bearblog.dev/info/stop-using-recaptcha/
1•speckx•13m ago•0 comments

Dmars – A modern Core Wars toolchain

https://dmars.drpz.xyz/
1•holliplex•13m ago•1 comments

Childhood stunting fell dramatically over the 20th century

https://ourworldindata.org/childhood-stunting-fell-dramatically-over-the-20th-century
1•surprisetalk•13m ago•0 comments

Show HN: Sticky notes that disappear from screen sharing

https://www.noticky.app/en
1•leotryhard•17m ago•0 comments

Show HN: LastShelf – an emergency map of your family's documents bills& contacts

https://www.lastshelf.ai/
6•sbrown12•17m ago•0 comments

The Shifting Landscape of Headquarters Relocations: 2026 Update

https://www.cbre.com/insights/viewpoints/business-insights-the-shifting-landscape-of-headquarters...
1•throwoutway•17m ago•0 comments

Bytechef open source platform for AI agent orchestration and workflow automation

https://github.com/bytechefhq/bytechef/tree/master
1•taubek•17m ago•0 comments

How to design a cancer vaccine (and improve them)

https://www.owlposting.com/p/how-to-design-a-cancer-vaccine-and
2•abhishaike•17m ago•0 comments

Show HN: CashFlow

https://cashflow-phi-amber.vercel.app/
1•SanishKumar•20m ago•1 comments

Automated Repair for Apache Cassandra

https://github.com/thelastpickle/cassandra-reaper
1•dockerd•21m ago•0 comments

PostgreSQL 19 vs. Memgraph: Comparing Graph Traversal Performance

https://memgraph.com/blog/postgresql-19-alternatives-memgraph
1•taubek•21m ago•0 comments