frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•8mo ago

Comments

llm-exe•8mo 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•8mo 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.

From Starbase: Pete Hegseth and Elon Musk [video]

https://www.youtube.com/watch?v=MlRm9tCT0Ug
1•0xWTF•1m ago•1 comments

Meta shakes up its review system with 'stronger rewards for top performers'

https://www.businessinsider.com/meta-performance-review-system-stronger-rewards-top-performers-20...
1•ryandrake•7m ago•0 comments

Paramount Wants Warner to Show Its Work

https://www.bloomberg.com/opinion/newsletters/2026-01-12/paramount-wants-to-warner-to-show-its-work
1•feross•8m ago•0 comments

Turning Agents into Learning Machines

https://twitter.com/ashpreetbedi/status/2010781132418064750
1•bedify•10m ago•0 comments

DJT Says Microsoft to Make Changes to Curb Data Center Power Costs for Americans

https://money.usnews.com/investing/news/articles/2026-01-12/trump-says-microsoft-to-make-changes-...
1•schmuckonwheels•18m ago•1 comments

Living with LLMs Everywhere – How Ambient LLMs Negate Security Policy

1•djwide•19m ago•0 comments

Who Companies Call When They Want to Become a Bank

https://www.bloomberg.com/news/articles/2026-01-12/fintechs-call-klaros-group-when-they-want-bank...
1•petethomas•23m ago•0 comments

Apple: You (Still) Don't Understand the Vision Pro

https://stratechery.com/2026/apple-you-still-dont-understand-the-vision-pro/
1•feross•23m ago•1 comments

Show HN: Idlen.io ($IDL), the first privacy-first AI ad network is launched

https://www.idlen.io/fr/
4•paulefizelier•25m ago•1 comments

Ask HN: How are you using AI to self-augment?

1•almostlikemagic•29m ago•0 comments

Show HN: I built a tool to calculate the True Cost of Ownership (TCO) for yachts

https://yachtvaluereport.com/
2•todaycompanies•29m ago•3 comments

Sherlock MCP server so you can use AI to do OSI research

https://github.com/Burnsedia/sherlock-mcp
2•Burnsedia•31m ago•0 comments

Picao AI Landing Page

https://picaoai.com
2•Kathrine_Oduah•32m ago•0 comments

Meta Taps Trump Alum as New President

https://thehill.com/newsletters/technology/5685457-meta-taps-trump-alum-as-new-president
5•650REDHAIR•34m ago•1 comments

Ackman Pitches Prepayment Penalties as Way to Cut Mortgage Rates

https://www.bloomberg.com/news/articles/2026-01-12/ackman-pitches-prepayment-penalties-as-way-to-...
1•petethomas•35m ago•0 comments

Mystery: Why do some LLMs produce more coil noise on Mac Studio M3 Ultra?

https://twitter.com/OrganicGPT/status/2010879700785373437
4•behnamoh•37m ago•1 comments

I'm a Happy Engineer Now

https://blog.denv.it/posts/im-happy-engineer-now/
5•denysvitali•38m ago•0 comments

Spy Shots Catch the Strangest New Car We've Seen Since Cybertruck

https://carbuzz.com/ceer-suv-spy-shots-january-2026/
1•gnabgib•41m ago•0 comments

Phind Is Shutting Down

1•wilsonjholmes•43m ago•0 comments

Is life a game?Philosopher C. Thi Nguyen argues that play is the meaning of life

https://www.newyorker.com/culture/open-questions/is-life-a-game
2•bookofjoe•47m ago•2 comments

Tell HN: DigitalOcean's managed services broke each other after update

15•neilfrndes•52m ago•2 comments

Malicious Chrome Extension Steals MEXC API Keys for Account Takeover

https://socket.dev/blog/malicious-chrome-extension-steals-mexc-api-keys
2•feross•53m ago•0 comments

Nate the Lawyer breaks down the ICE shooting footage in detail [video]

https://www.youtube.com/watch?v=bDda-L_ZOE8
9•zahlman•54m ago•5 comments

Yes, You Can Use AI in Our Interviews. In Fact, We Insist

https://www.canva.dev/blog/engineering/yes-you-can-use-ai-in-our-interviews/
1•SupremumLimit•55m ago•3 comments

Vibe Engineering: What I've Learned Working with AI Coding Agents

https://twitter.com/mrexodia/status/2010157660885176767
1•thewavelength•57m ago•2 comments

Show HN: I made a physical app blocker with ESP32

https://github.com/benjamin-feldman/esp32-blocker
1•b_feldman•57m ago•0 comments

Show HN: I found that Facebook made around 14K from my daily usage

3•puildupO•1h ago•2 comments

Bullshit Ability as an Honest Signal of Intelligence

https://pmc.ncbi.nlm.nih.gov/articles/PMC10303565/
3•jerlendds•1h ago•0 comments

Show HN: Blockchain-Based Equity with Separated Economic and Governance Rights

https://zenodo.org/records/18209805
2•iam_pri_s•1h ago•0 comments

Hotdog – Performant Bun Based Web-Server Framework

https://github.com/shedtheshade/hotdog
1•vednig•1h ago•0 comments