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.

Switzerland's invisible skyline: why Zug towers over the rest

https://prospex.ch/blog/switzerlands-invisible-skyline-companies-by-building/
1•theanonymousone•3m ago•0 comments

A Figma clone built by GPT-6 Astra

https://wieslawsoltes.github.io/Vellum/
1•aghuang•6m ago•1 comments

Ask HN: Do you route only certain websites through a VPN?

1•dennysora-main•8m ago•0 comments

The Structured Vacuum: Thinking about Nothing [pdf]

https://rafelski.com/~johann/Books/StructVacuumE.pdf
2•rramadass•15m ago•0 comments

Revealing a Hidden Class of Task-in-Prompt Adversarial Attacks on LLMs

https://aclanthology.org/2025.acl-long.334/
1•aghuang•16m ago•0 comments

Show HN: Rust and Box2D browser physics game – build destructive machines

https://v-yanakiev.itch.io/machina
1•v-yanakiev•19m ago•0 comments

MyNoise – Custom Soundscapes for Focus, Relaxation and Sleep

https://mynoise.net/index.php
1•pan69•21m ago•0 comments

Show HN: Vera – A memory log that leaves interpretation to AI agents

https://ag3497120.github.io/call-me-vera/
1•pakupaku•22m ago•0 comments

Robot writes in languages it has never seen before

https://www.wired.com/story/robot-writing/
2•euanming•23m ago•0 comments

The biggest problem in buying AI compute is credit

https://twitter.com/gpugene/status/2096427973893411312
1•MrBuddyCasino•23m ago•0 comments

Anthropic IPO launch shifts toward mid-October

https://www.cnbc.com/2026/09/05/anthropic-ipo-launch-shifts-toward-mid-october-reuters.html
2•aghuang•24m ago•0 comments

Show HN: Assist (Voice Screenshot)

https://assistapp.dev
1•abhishekucs•28m ago•1 comments

TR-106

https://en.wikipedia.org/wiki/TR-106
2•num42•29m ago•0 comments

LA District Bans Most A.I. For Students

https://www.nytimes.com/2026/09/03/us/lausd-schools-ban-ai-artificial-intelligence.html
2•narenst•29m ago•1 comments

Greenland forces Trump's US oil firm to delay drilling

https://www.theguardian.com/world/2026/aug/12/trump-greenland-oil
5•Alien1Being•32m ago•0 comments

Consciousness, creativity andunderstanding not obstacles to machine intelligence

https://link.springer.com/article/10.1007/s11229-026-05655-1
2•klaustro•33m ago•0 comments

'Huge Breakthrough' in the Math of Imbalance

https://www.quantamagazine.org/huge-breakthrough-in-the-math-of-imbalance-20260821/
1•diazc•35m ago•0 comments

Find fastest DoH provider for you

https://dnsspeedtest.online/
1•snihalani•37m ago•0 comments

Why Laser Beams Are the Hottest New Tech in Defense

https://www.bloomberg.com/news/articles/2026-09-04/why-laser-beams-are-the-hottest-new-tech-in-de...
1•Alien1Being•37m ago•0 comments

After 30 Years of Silence, the Original NSA Whistleblower Looks Back

https://therealnews.com/after-30-years-of-silence-the-original-nsa-whistleblower-looks-back
2•Eridanus2•39m ago•0 comments

LMMS 1.3.0-alpha.2 Release (after 5 yrs of last release)

https://github.com/LMMS/lmms/releases/tag/v1.3.0-alpha.2
1•xiaoyu2006•44m ago•0 comments

I Run Grok Bot with BotOps

https://granda.org/en/2026/09/06/how-i-run-grok-bot/
3•granda•45m ago•0 comments

Joy and Curiosity #98

https://twitter.com/thorstenball/status/2096466015055953967
6•tosh•45m ago•0 comments

Ada: An open-source data analyst that tells you when its own forecast is useless

https://github.com/saineshnakra/automated-data-analyst
5•saineshnakra•46m ago•0 comments

An Empirical Study on Soundness Bugs in the Rust Compiler

https://arxiv.org/abs/2608.28713
1•rvz•50m ago•0 comments

Extract and Review Web Page Links Using a Bookmarklet

https://www.adamsdesk.com/posts/extract-review-web-page-links/
1•rdmuser•51m ago•0 comments

What "Decolonizing" Israel Looks Like. | Professor Noura Erakat - Full Interview

https://www.youtube.com/watch?v=TuBMKhObhgs
1•xbmcuser•53m ago•0 comments

Revise is the Figma of machine learning

https://www.revise.live/
3•Aadi_Ajmire•54m ago•0 comments

A volunteer stopped a backdoor from exposing Linux systems worldwide (2024)

https://www.theverge.com/2024/4/2/24119342/xz-utils-linux-backdoor-attempt
6•joebig•56m ago•0 comments

RecallDock

2•ashishmallur•58m ago•0 comments