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: Sourceminder.org

https://sourceminder.org/
1•ebcode•1m ago•0 comments

Claude Opus 5

https://www.anthropic.com/claude-opus-5-system-card
2•alvis•1m ago•0 comments

Show HN: 18y/O buidling an AI proposal OS and generator

https://www.propi.pro
1•sahil423•2m ago•0 comments

How to Read the Classics: "Critical Reading" or "Respectful Attention"?

https://goldenthread.substack.com/p/how-to-read-the-classics
1•jger15•3m ago•0 comments

Wrexham AFC and Firefox announce a multi-year, front-of-kit partnership

https://blog.mozilla.org/en/firefox/wrexham-afc-firefox-partnership/
1•alehlopeh•3m ago•0 comments

Hybrid Memory Cube (HMC RAM)

https://en.wikipedia.org/wiki/Hybrid_Memory_Cube
1•peter_d_sherman•3m ago•0 comments

AI forcing Big Tech to spend more than it earns; Wall Street hates it

https://fortune.com/2026/07/23/ai-big-tech-never-spend-more-than-earns-wall-street-hates-it/
1•1vuio0pswjnm7•3m ago•0 comments

Claude Opus 5

https://www.anthropic.com/news/claude-opus-5
4•meetpateltech•4m ago•1 comments

As of JDK 27, Oracle engineers will thus stop maintaining the macOS/x64 port

https://openjdk.org/jeps/541
7•pmg1991•7m ago•1 comments

Metadata in WordPerfect 1994: Ada and WCAG 2.1 Compliance

https://rietta.com/blog/metadata-in-wordperfect-ada-wcag-compliance/
2•speckx•7m ago•0 comments

The Boundaries of Automation: A Theory of Persistent Human Participation

https://arxiv.org/abs/2607.21547
2•NickDouglas•8m ago•1 comments

Andrew Kelley: Don't Take the Black Pill

https://www.youtube.com/watch?v=zLZwpH5lCD4
3•signa11•10m ago•0 comments

The Origins of Modern Mathematics in Russia

https://valeman.medium.com/the-origins-of-modern-mathematics-in-russia-from-peter-the-great-to-th...
3•ibobev•11m ago•0 comments

Online Historical Encyclopaedia of Programming Languages

https://hopl.info/
5•gregsadetsky•12m ago•0 comments

The Resistance Liberal Lawyers Helping Trump Take over the Media

https://www.thebignewsletter.com/p/the-resistance-liberal-lawyers-helping
4•foolswisdom•12m ago•0 comments

Must have tool for agentic workspace and Mac users

https://github.com/rohankc69/clickit
3•rohankc_01•13m ago•0 comments

White House offers its science blueprint: More AI, less life sciences

https://www.statnews.com/2026/07/24/science-new-golden-age-report-draws-mixed-reaction/
2•petethomas•13m ago•0 comments

Jacobian Conjecture Refutation Reveals a Structural Limit of AI Interpretability

https://ctolunchnyc.substack.com/p/the-lost-weekend
3•polynomial•15m ago•0 comments

What Is Entropy, Really?

https://www.wired.com/story/what-is-entropy-really/
2•Brajeshwar•16m ago•0 comments

Cloning Mifare Classic Cards via Proxmark3

https://blog.muffn.io/posts/cloning-mifare-cards-proxmark3/
2•speckx•17m ago•0 comments

Apple won't let me show my app

https://wisedayplanner.com/blog/apple-wont-let-me-show-my-app/
5•codersfocus•18m ago•0 comments

The rise and fall of language diversity through the Holocene

https://www.science.org/doi/10.1126/science.adx4343
5•delichon•18m ago•0 comments

Monday.com lays off hundreds to focus on AI

https://techcrunch.com/2026/07/22/monday-com-lays-off-hundreds-to-focuses-on-ai/
5•taubek•18m ago•0 comments

Ask HN: Is anyone giving out tokens for benchmarking LLMs?

2•emosenkis•21m ago•1 comments

An Exam for Active Observers

https://arxiv.org/abs/2607.16165
2•ripbozo•22m ago•0 comments

The Internet of Snails: Escargotic commotion and the wood-wide web (2015)

https://cabinetmagazine.org/issues/58/smith.php
2•nz•25m ago•0 comments

Be skeptical of OpenAI's rogue hacker agent story

https://www.theguardian.com/technology/2026/jul/24/openai-rogue-hacker
20•rwmj•26m ago•3 comments

Proving a Human Wrote Something

https://gjtorikian.online/posts/proving-a-human-wrote-something/
5•gjtorikian•26m ago•2 comments

Unitree As2-W

https://www.unitree.com/As2-W/
5•MehrdadKhnzd•26m ago•1 comments

History of John Backus's functional programming project [draft]

https://softwarepreservation.computerhistory.org/FP/
2•cwbuilds•27m ago•0 comments