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.

The tokenmaxxing hype didn't last long

https://leaddev.com/reporting/the-tokenmaxxing-hype-didnt-last-long
1•theanonymousone•39s ago•0 comments

Website Archival and Preservation

https://unattributed.cc/2026/08/09/website-archival-and-preservation/
1•surprisetalk•1m ago•0 comments

Harnesses Are "Situated Agents"

https://www.dbreunig.com/2026/08/14/harnesses-are-situated-agents.html
1•dbreunig•2m ago•0 comments

Fairly Ranking the Most Brilliant Birds

https://moultano.wordpress.com/2026/08/14/fairly-ranking-the-most-brilliant-birds/
1•moultano•4m ago•0 comments

Claude Sonnet 5 will remain $2/$10 per M; September increase cancelled

https://www.aipricing.guru/news/claude-output-training-rules-pricing-impact-august-2026/
1•alexmercerdev•4m ago•0 comments

I just tried this privacy-focused version of Android for Pixel phones

https://www.tomsguide.com/phones/google-pixel-phones/i-just-tried-this-privacy-focused-version-of...
1•DemiGuru•4m ago•0 comments

Found a duplicate-execution bug in an MCP tool via static analysis (no LLM)

https://www.getnexum.dev/blog/nexum-004-fabian-williams
1•mbelckadi•5m ago•0 comments

David Sacks on X: Some thoughts on Dario's post

https://twitter.com/DavidSacks/status/2089227290769080656
2•bilsbie•6m ago•0 comments

Show HN: Call My Laptop – Give your laptop a phone number

https://callmylaptop.com
1•ishilp•9m ago•0 comments

Learning PCB Design: An Introduction [video]

https://www.youtube.com/watch?v=X8wnYJK4fJs
1•binyu•11m ago•0 comments

Capability-Based Generative UI Protocol over MCP [video]

https://www.youtube.com/watch?v=ZPdQKE1vI-I
1•marianoguerra•11m ago•0 comments

Delay and Chorus Effect [video]

https://www.youtube.com/shorts/MDLftGxzOn4
1•mistat•13m ago•0 comments

Eng

https://modelgatehq.com
1•razdada•15m ago•0 comments

A bipartisan health care program worked in North Carolina

https://www.statnews.com/2026/08/17/healthy-opportunities-pilots-hop-program-north-carolina-medic...
2•brandonb•18m ago•0 comments

Building in Public Is Cool

https://userezy.com/
1•gmalisa•19m ago•1 comments

What will TV look like in three years?

https://www.cnbc.com/2026/08/17/tv-media-insiders-predictions.html
1•ghtbircshotbe•19m ago•2 comments

A Test for AI Consciousness

https://gruhn.me/blog/2026-08-16/
1•ngruhn•20m ago•0 comments

The Median Voter Is a Maoist

https://nicholasdecker.substack.com/p/the-median-voter-is-a-maoist
2•surprisetalk•21m ago•2 comments

Voice Agent for Customer Support

https://usevoicelink.co
1•odufuwa_segun•23m ago•0 comments

Buyer cancels showing after Deflock shows two cameras utilized by the HOA

https://twitter.com/lydiakauppi/status/2089196932413452386
5•bilsbie•23m ago•0 comments

Who Owns Intelligence? Jensen Huang and the Battle for Open-Weight AI

https://aiengineerhub.com/who-owns-intelligence-open-weight-ai
2•HenriHubert•24m ago•0 comments

What if Wirecutter rated Universities?

https://hollisrobbinsanecdotal.substack.com/p/what-if-wirecutter-rated-universities
1•HR01•26m ago•0 comments

Video Agents are getting crazy-good at Minute-Long Video Generation

https://physionlabs.ai/blog/physion-arc1.0
1•ppsreejith•27m ago•0 comments

Writing a Fast Compiler (2024)

https://tibleiz.net/blog/2024-02-04-writing-a-fast-compiler.html
1•haeseong•29m ago•0 comments

Am I better because of AI?

https://bytecode.news/posts/2026/08/am-i-better-because-of-ai
1•jottinger•30m ago•1 comments

Mexico Crackdown on Coastal Development Underway

https://yucatanmagazine.com/mexico-crackdown-on-coastal-development/
1•untiledsource•31m ago•0 comments

GPT 5.6 Sol is the best "vision" model OpenAI ever released

https://blog.roboflow.com/openai-gpt-5-6/
3•plurby•32m ago•0 comments

Show HN: Repliflow – a node canvas for chaining Replicate image and video models

https://github.com/tommyjepsen/repliflow
4•tommyjepsen•32m ago•0 comments

Cumora the Team Harness from Yetone

https://github.com/yetone/cumora
1•wey-gu•34m ago•0 comments

Intercom: Doing the right thing when things go wrong

https://www.intercom.com/blog/doing-the-right-thing-when-things-go-wrong/
1•jreynar•39m ago•0 comments