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.

Show HN: I built Founder.best and its products now show up in AI recommendations

https://www.founder.best
1•NimeshikaP•2s ago•0 comments

Michael Levin: Ingressing Minds

https://www.mdpi.com/2409-9287/11/5/161
2•md224•1m ago•0 comments

Robinhood CEO says companies can't control how their stock is tokenized

https://www.cnbc.com/2026/09/09/robinhood-ceo-says-companies-cant-control-how-their-stock-is-toke...
2•ijidak•2m ago•0 comments

European gas prices keep climbing as IEA calls for emergency reserves

https://www.euronews.com/business/2026/09/09/european-gas-prices-keep-climbing-as-iea-calls-for-e...
1•leonidasrup•2m ago•0 comments

Vanishing Culture: A Report on Our Fragile Cultural Record [pdf]

https://blog.archive.org/wp-content/uploads/2024/10/Vanishing-Culture-2024.pdf
2•CharlesW•4m ago•0 comments

Democratizing AGI

https://cowboy.inc/blog/software-that-keeps-you-human
2•chadd•5m ago•0 comments

OpenAI pausing new $200 plan subscriptions

https://twitter.com/thsottiaux/status/2098113585683808624
2•tosh•7m ago•0 comments

Allocator Designs

https://os.phil-opp.com/allocator-designs/
1•mahirsaid•7m ago•0 comments

Show HN: Replaces the X-axis and timeline visualization in videos

https://vf.deploy.re
1•DanielHall•7m ago•0 comments

What are your plans for when Software Engineering is no longer a viable career?

2•hackersnooze1•7m ago•1 comments

Not just another mission control dashboard

https://www.npmjs.com/package/@bluearch/mission-control
1•jproctor•8m ago•1 comments

Apple's new A20 Pro smartphone chip around 25% faster than its predecessor

https://www.tomshardware.com/pc-components/cpus/apples-new-a20-pro-smartphone-chip-around-25-perc...
2•fork-bomber•10m ago•0 comments

A rant about phishing: It's not the user's fault (and not DNS either)

https://maurycyz.com/misc/domains/
1•speckx•10m ago•0 comments

AMD releases new Ryzen 5 5500F and Ryzen 5 7500 to save budget PC building

https://www.tomshardware.com/pc-components/cpus/amd-releases-new-ryzen-5-5500f-and-ryzen-5-7500-t...
2•doener•12m ago•0 comments

A remote island, these GPS hackers are preparing for an invisible war

https://www.bbc.com/future/article/20260908-inside-the-fight-to-protect-the-worlds-satellite-signals
2•PotatoNinja•12m ago•0 comments

Show HN: Nightshift – Your code gets better while you sleep

https://github.com/openslop/nightshift
2•tcbrah•13m ago•0 comments

The Global Data Center Boom Is a Gift to Spies

https://www.lawfaremedia.org/article/the-global-data-center-boom-is-a-gift-to-spies
2•hn_acker•14m ago•0 comments

Chinese AI Giants Accused of Sending User Queries to U.S. Models

https://www.wsj.com/tech/ai/chinese-ai-giants-accused-of-sending-millions-of-user-queries-to-u-s-...
2•doener•14m ago•0 comments

The Worst Are Full of Passionate Intensity: An Anthropology of AI Safety

https://twitter.com/brianchau57/status/2098035812365463637
1•MrBuddyCasino•14m ago•0 comments

Show HN: Claude Code hooks that log every tool call, 124ms per call

https://github.com/fuckbigtech-ai/homestead-memory
1•frumza•16m ago•0 comments

Can Grindr stay up during RNC conventions?

https://www.irishstar.com/news/politics/grindr-rnc-midterm-elections-convention-37648501
4•hyperhello•16m ago•0 comments

The AI policy window is open. We need to act

https://openai.com/index/ai-policy-window/
1•tosh•16m ago•0 comments

European Railway Station Index 2026

https://consumerchoicecenter.org/european-railway-station-index-2026/
1•tosh•18m ago•0 comments

A somewhat optimistic view of AI in mathematics

https://proofsandprompts.com/2026/09/10/a-somewhat-optimistic-view-of-ai-in-mathematics/
1•bearseascape•18m ago•0 comments

Show HN: Pixel Agents – A pixel-art mission control for your Claude Code agents

https://github.com/mateovalle/pixel-agents
2•mateovalle•19m ago•0 comments

Show HN: iTerm2 Plugin for Codex/Claude Code

https://github.com/treyreynolds/iterm2-status
2•treyreynolds•20m ago•0 comments

U.S. Code § 597 – Expenditures to influence voting

https://www.law.cornell.edu/uscode/text/18/597
3•colinprince•20m ago•0 comments

Musk Mocks Ex-Anthropic Researcher's AI Extinction Warning, Calls It a 'Setup'

https://www.analyticsinsight.net/news/musk-mocks-ex-anthropic-researchers-ai-extinction-warning-c...
2•adletbalzhanov•20m ago•0 comments

Hot take: AI peaked with Taco Bot 3000

https://danq.me/2026/09/09/tacobot-peak-ai/
1•speckx•22m ago•1 comments

Terence Tao on Navier-Stokes progress

https://terrytao.wordpress.com/2026/09/07/finite-time-blowup-with-smooth-forcing-term-for-the-inc...
1•j-bu•22m ago•0 comments