frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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.

Show HN: Antimemetic message that escapes screen capture

https://fx.leftium.com/static
1•Leftium•3m ago•0 comments

Eval: Quarkdown for Agentic Typesetting

https://quarkdown.com/blog/agent-skill/
1•iamgioh•4m ago•0 comments

'It's called winning': Why a tech industry super PAC is running ads about ICE

https://www.washingtonpost.com/technology/2026/05/23/ai-industry-super-pacs-are-intervening-midte...
1•1vuio0pswjnm7•4m ago•0 comments

Show HN: Cadence – Small marker tracking for source files

https://github.com/skorotkiewicz/cadence
1•modinfo•18m ago•0 comments

Toshifumi Suzuki, 7-Eleven Japan founder, has died

https://www.cnn.com/2026/05/25/asia/711-japan-founder-dies-intl-hnk
1•NaOH•20m ago•0 comments

Show HN: YieldOS-Lite – A simulator for LLM inference control-plane governance

https://github.com/nikitph/yieldos
1•loaderchips•23m ago•0 comments

QG: A speculative protocol treating presence and attention as value primitives

https://github.com/Mureskae/QG
1•Mureskae•24m ago•0 comments

My AI coding flow was burning tokens to do things code should do

https://geerttheys.substack.com/p/i-agent-deterministic-coding-flow
1•toadi•35m ago•1 comments

Hosting My Own Newsletter

https://endler.dev/2026/newsletter-setup/
1•yakkomajuri•35m ago•0 comments

Ask HN: Encouraging a child's gaming PC build despite fear of gaming addiction?

1•marttt•46m ago•1 comments

Over $5M in donations flowed in after the Lapu-Lapu Day attack. Where it went

https://www.cbc.ca/news/canada/lapu-lapu-donations-analysis-9.7207684
1•wolpoli•53m ago•0 comments

Huawei Unveils Tau (τ) Scaling Law for Transistor and System Breakthroughs

https://www.huawei.com/en/news/2026/5/ieee-iscas-tau-scaling
1•CalmStorm•53m ago•0 comments

Mecha Comet is an open-source hardware, modular Linux handheld computer

https://www.cnx-software.com/2026/01/25/mecha-comet-is-an-open-source-hardware-modular-linux-hand...
1•walterbell•56m ago•0 comments

Companies Are Just a Graph of Algorithms

https://danielmiessler.com/blog/companies-graph-of-algorithms
5•samuel246•56m ago•0 comments

CanYouCalculate

https://canyoucalculate.com
1•sauhard121•59m ago•0 comments

Porting Ytdlp to Bun (Ytdlb)

https://yamada-blog.pages.dev/blog/0007/
1•curliness•1h ago•0 comments

Software supply-chain attacks are no longer rare events

https://www.wired.com/story/teampcp-software-supply-chain-attack-spree-github/
2•latentframe•1h ago•1 comments

What is Git made of? (2022)

https://zserge.com/posts/git/
1•vinhnx•1h ago•0 comments

RLS sounds great until it isn't

https://planetscale.com/blog/rls-sounds-great-until-it-isntp
1•eigenBasis•1h ago•1 comments

Jira Is Turing-Complete

https://seriot.ch/computation/jira.html
2•vinhnx•1h ago•0 comments

Show HN: Live AI music sequencing agent

https://pretzel.shukant.com/?nickname=Anonymous&role=stage
1•shukantpal•1h ago•0 comments

A Cattle Ranch Is Doing What Ivy League Colleges Can't

https://www.nytimes.com/2026/05/20/opinion/deep-springs-college-ivy-league-education.html
1•gmays•1h ago•0 comments

The Eternal Sloptember

https://geohot.github.io//blog/jekyll/update/2026/05/24/the-eternal-sloptember.html
86•razin•1h ago•31 comments

My friend found idle NAT gateways his team said didn't exist

https://getnable.com/
1•chaandannn•1h ago•1 comments

AI Interpretability Is a Revolutionary Skill

https://www.outcryai.com/research/the-dark-between-the-stars
1•micahwhite•1h ago•1 comments

High-efficiency multi-scale holographic volumetric 3Dprinting with a phase light

https://www.nature.com/articles/s41377-026-02331-4
2•anikoghosyan•1h ago•0 comments

PaaS Platfrom to Deploy Apps

https://nept.cloud
1•nazmussamir•1h ago•0 comments

Command A+: Making sovereign agentic capabilities available to all

https://cohere.com/blog/command-a-plus
1•offbyone42•1h ago•0 comments

Splinter Cell veteran says realistic modern lighting has screwed up stealth game

https://www.rockpapershotgun.com/splinter-cell-veteran-says-realistic-modern-lighting-has-screwed...
4•Tomte•1h ago•0 comments

Weight loss drugs could save airlines money on fuel as Americans slim down

https://www.cbsnews.com/news/weight-loss-drugs-glp1s-airlines-fuel-costs/
1•mattas•1h ago•2 comments