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.

Prompt Compiler – turn vague asks into prompts, plans, and PR verdicts

https://github.com/madara88645/Compiler
1•memozel8864•1m ago•0 comments

How proprietary formats have become Microsoft’s main tool for lock-in

https://blog.documentfoundation.org/blog/2026/07/17/microsofts-main-tool-for-lock-in/
3•cube00•9m ago•0 comments

Xiaomi-Robotics-1

https://robotics.xiaomi.com/xiaomi-robotics-1.html
1•ilreb•14m ago•0 comments

Wp2shell: A Critical Remote Code Execution Vulnerability in WordPress Core

https://slcyber.io/research-center/wp2shell-pre-authentication-rce-in-wordpress-core/
1•rasso•15m ago•0 comments

Big Tech Needs to Justify AI Spending as Investors Dump Stocks

https://www.bloomberg.com/news/articles/2026-07-19/big-tech-needs-to-justify-ai-spending-as-inves...
6•1vuio0pswjnm7•18m ago•1 comments

We need more artists on earth.tattoo

https://earth.tattoo
4•earth-tattoo•20m ago•1 comments

Freeact – undetectable browser automation CLI for AI agents via real browsers

2•xuviga•20m ago•0 comments

The Waldo Moment – How Close Are We?

https://www.howclosetoblackmirror.com/the-waldo-moment
1•beatthatflight•20m ago•1 comments

Skills for Building Software Factories

https://github.com/dzhng/skills
1•handfuloflight•22m ago•0 comments

Meta Oversight Board: AI may be most perfect propaganda machine ever invented

https://fortune.com/2026/07/16/claude-trump-china-ai-double-standard/
2•1vuio0pswjnm7•25m ago•0 comments

Claude's Fable Model Saved My Gear and Got Me Excited About Playing Guitar Again

https://saada.github.io/blog/fcb1010-biasfx2/
1•saadazzz•25m ago•0 comments

An Elegy to Git Push

https://stackdiver.com/posts/an-elegy-to-git-push/
5•osmoscraft•27m ago•2 comments

LoRA Speedrun – a public wall-clock leaderboard for fine-tuning techniques

https://github.com/Saivineeth147/lora-speedrun
1•Vineeth147•34m ago•0 comments

Pkgxray

https://github.com/adamsjack711-ux/pkgxray
1•jadamsl•35m ago•0 comments

Fractl.art – a fractal generator with 8 octillion different patterns

https://fractl.art
1•gilded-lilly•38m ago•1 comments

Israel Has a "Silicon Shield"

https://www.israeltechinsider.com/p/the-silicon-shield
2•chasil•40m ago•5 comments

Power companies are using eminent domain to seize land for data centers

https://fortune.com/2026/07/19/data-center-eminent-domain-public-use/
16•1vuio0pswjnm7•40m ago•0 comments

Japan logistics provider for Amazon to use JPYC stablecoin in operations

https://asia.nikkei.com/spotlight/cryptocurrencies/japan-logistics-provider-for-amazon-to-use-jpy...
2•mikhael•40m ago•0 comments

ICD-11

https://en.wikipedia.org/wiki/ICD-11
2•teleforce•51m ago•0 comments

AI Thinks the Internet Is Reddit. We Have 8,616 Answers Proving It

https://growtika.com/blog/reddit-ai-visibility-research
4•Growtika•52m ago•0 comments

Cultural Influence of Music as Propaganda (2025)

https://westpointpressjournals.westpoint.edu/index.php/iser/article/view/209
1•jayhoon•53m ago•0 comments

Created a free browser-based lyric video maker

https://deadmod.com/studio/
1•jimmyshoez•55m ago•1 comments

AI-Native Firms

https://download.ssrn.com/2026/6/9/6905079.pdf?response-content-disposition=inline&X-Amz-Security...
1•sonabinu•56m ago•0 comments

Rep Cammack says China has deployed 'digital twins' of every lawmaker

https://thehill.com/homenews/house/5970422-cammack-warns-china-ai-threat/
1•gscott•1h ago•0 comments

Tweet claiming Claude Fable 5 has helped disprove the Jacobian conjecture

https://twitter.com/__alpoge__/status/2079028340955197566
6•meowface•1h ago•2 comments

Show HN: Local-first CLI to make Obsidian vaults searchable for AI agents

https://github.com/nmdra/notebrain-cli
3•nmdra•1h ago•1 comments

Gmail AI Inbox

https://support.google.com/mail/answer/16845247?hl=en&co=GENIE.Platform%3DAndroid
2•thejacenxpress•1h ago•0 comments

Coding Skills Development Report

1•juntz•1h ago•1 comments

Tyler Cowen: The Future Belongs to AI Maniacs

https://www.thefp.com/p/tyler-cowen-ai-maniacs-future-economy
2•ripe•1h ago•0 comments

How you use AI AS HELPER?

1•anitroves•1h ago•1 comments