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.

What's on your Mac app launch checklist that you learned the hard way?

https://shedi.app
1•otabekabdiraimo•27s ago•0 comments

"What if you were told you couldn't hand-write code anymore?"

https://samcolson.substack.com/p/what-if-you-were-told-you-couldnt
2•samcolson42•2m ago•0 comments

We generate accessible color palettes for AI-built apps

https://www.rapidnative.com/blogs/how-rapidnatives-ai-generates-accessible-color-palettes
1•fami-hn•2m ago•0 comments

A Reliable and Efficient Instagram API Solution for Developers

https://hikerapi.com/
1•mjasusr•2m ago•0 comments

MCP servers are more than just tools

https://pournasserian.com/writing/mcp-2026-server-instructions
2•pournasserian•4m ago•0 comments

Marc Andreessen on Why the Old Jobs Are Never Coming Back and Where the New

https://www.theaiopportunities.com/p/marc-andreessen-on-why-the-old-jobs
2•bilsbie•5m ago•0 comments

AT&T Hobbit

https://en.wikipedia.org/wiki/AT%26T_Hobbit
2•rbanffy•5m ago•0 comments

Hegseth's dubious low-T screening may flag up to 25 percent of the Army

https://arstechnica.com/health/2026/10/hegseths-dubious-low-t-screening-may-flag-up-to-25-percent...
1•rbanffy•9m ago•0 comments

Blog: PyPI checks email address reputation

https://blog.pypi.org/posts/2026-10-16-email-reputation-and-outlook/
1•miketheman•9m ago•0 comments

Portable humanoid robot uses antenna eyebrows and lights to express emotions

https://www.designboom.com/technology/portable-humanoid-robot-antenna-eyebrows-light-animations-s...
1•surprisetalk•11m ago•0 comments

I Tried to Let This Idea Go for 20 Years. Then I Built It

https://medium.com/design-bootcamp/i-tried-to-let-this-idea-go-for-twenty-years-then-i-actually-b...
1•daijobuka•13m ago•0 comments

Towards decision-grade research, with less steering

https://brayl.com/research/early-results
1•ariskk•14m ago•0 comments

The Commoditization of Labor

https://www.nber.org/papers/w35815
1•latentframe•15m ago•0 comments

TreeTime 2026.2 Released

https://codeberg.org/jkanev/treetime/releases/tag/2026.2
1•jkanev•16m ago•1 comments

Show HN: Videre – a Rust CLI to manage your photos and videos with joy

https://videre.sh/
1•erhangundogan•17m ago•1 comments

Show HN: Cr34te.it – a website anyone can rewrite one turn at a time with AI

https://cr34te.it/
2•y42•18m ago•0 comments

AVX-512 HNSW in Rust: 3.5x faster than FP32 at 99.8% recall via SQ8

https://github.com/silicium369-spec/silicium-hnsw
2•silicium369•21m ago•1 comments

One, Two, or Four DGX Sparks? Model-Size Math for Picking the Right Hardware

https://medium.com/@tudor_10682/one-two-or-four-dgx-sparks-model-size-math-for-picking-the-right-...
1•tudorizer•21m ago•0 comments

The Ferranti Files: 40 Years of Sinclair Secrets Unearthed [video]

https://www.youtube.com/watch?v=jiW3P1rJRMc
1•Luc•21m ago•0 comments

The Nepotism That Isn't

https://www.mooreds.com/wordpress/archives/3731
2•mooreds•23m ago•0 comments

Building a Static Newsletter Archive

https://cassidoo.co/post/static-newsletter-archive/
1•mooreds•24m ago•0 comments

From Gatekeepers to Guardrails

https://afomera.dev/posts/2026-10-15-gatekeepers-to-guardrails
1•mooreds•24m ago•0 comments

First Case of Teeth Growing Out of an Eye Socket

https://nautil.us/first-case-of-teeth-growing-out-of-an-eye-socket-1285846
1•acossta•25m ago•0 comments

Astro 7.4

https://astro.build/blog/astro-740/
1•reimertz•25m ago•1 comments

Elon Musk reveals ' first flying car' at Tesla event – Tesla

https://www.theguardian.com/technology/2026/oct/16/elon-musk-reveals-worlds-first-flying-car-spacex
4•rbanffy•26m ago•1 comments

Audible Virtual Voice

https://www.audible.com/ep/virtual-voice
1•seesthruya•27m ago•1 comments

Spyware invented October 16, 1995

https://dfarq.homeip.net/spyware-invented-october-16-1995/
1•giuliomagnifico•27m ago•0 comments

Show HN: OpenRegistry – live company filings directly from 80 gov registries

https://github.com/sophymarine/openregistry
2•sophymarine•28m ago•0 comments

Bark: The Toll-Free BBS for 90s Teens

https://blog.bityard.net/articles/2026/October/bark-the-toll-free-bbs-for-90s-teens
2•bityard•29m ago•0 comments

Improving the matrix multiplication exponent with AlphaEvolve

https://arxiv.org/abs/2608.16884
1•surprisetalk•31m ago•0 comments