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•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.

Why I'm building a runtime governance layer for AI agents and Apps

https://www.indiehackers.com/post/is-system-prompting-enough-for-production-why-i-m-building-a-ru...
1•piyush165•37s ago•0 comments

I Put a Datacenter GPU in My Gaming PC for £200

https://blog.tymscar.com/posts/v100localllm/
1•birdculture•3m ago•0 comments

Ask HN: Corporate Disconnect Between "Tokenmaxxing" and Token Optimization

1•mc-0•3m ago•0 comments

Desire for privacy is slowly killing this symbol of the American Dream

https://www.washingtonpost.com/nation/2026/05/31/white-picket-fences-were-american-dream-now-peop...
1•wallflower•3m ago•0 comments

Show HN: Homerockr – Home maintenance tracker to prevent costly repairs

https://www.homerockr.com
1•Sharanxxxx•4m ago•0 comments

AI is causing a crisis of agency

https://www.theatlantic.com/technology/2026/05/ai-agents-agency-crisis-humanity/687379/
1•fortran77•4m ago•0 comments

Researchers teach brain cells to play 'Doom'

https://phys.org/news/2026-05-brain-cells-play-doom.html
1•shikaan•5m ago•0 comments

Turn your PC, Mac, or Linux box into an AI server

https://github.com/Light-Heart-Labs/DreamServer
1•dreamserver•12m ago•0 comments

The S in Interoperability

https://frederikbraun.de/the-s-in-interoperability.html
1•conslit•13m ago•0 comments

Why I eventually quit my successful (and profitable) YouTube channel

https://mikeshuey.com/i-quit-my-successful-youtube-channel/
2•BrunoBernardino•17m ago•0 comments

AiLock: Hide source from AI assistants while tests still run

https://github.com/lo2589/AILOCK
1•yoliliya•18m ago•0 comments

Chat Bar Isn't Lazy Design

https://metedata.substack.com/p/006-the-chat-bar-isnt-lazy-design
1•young_mete•19m ago•0 comments

Ask HN: What happened to Reactive Programming?

1•ashddev•26m ago•1 comments

Fix Your Asserts

https://kristoff.it/blog/fix-your-asserts/
3•mlugg•29m ago•0 comments

Vox Dictum, on-device transcription with speaker diarisation and AI summaries

https://cobaltinfx.com/
1•mozairr•31m ago•0 comments

Why is Lorem Ipsum Everywhere? [video]

https://www.youtube.com/watch?v=kL1PDqzqhM4
2•sevenpence•32m ago•0 comments

Equivalence, non-inferiority and superiority testing

https://rpsychologist.com/d3/equivalence/
1•leonry•32m ago•0 comments

Edging Toward Japan: The Japanese discovery of the colour blue (2025)

https://mainichi.jp/english/articles/20250531/p2a/00m/0op/007000c
5•rawgabbit•36m ago•0 comments

The Self-Evolving Model Router

https://vdf.ai/white-papers/the-self-evolving-model-router/
1•suhaselcuk•36m ago•0 comments

Mid-size local models are now competitive for AI Agents

https://srinathh.medium.com/mid-size-local-models-are-now-competitive-for-ai-agents-7696b2e8b535
1•sfifs•37m ago•0 comments

Commodore OS Basic V2 – Introduction

https://forum.commodoreos.net/viewtopic.php?p=8295
2•amichail•37m ago•0 comments

Teachers' Union Urges Schools to Curb A.I. Chatbots and Screen Time

https://www.nytimes.com/2026/05/27/technology/ai-screens-schools-weingarten.html
1•1vuio0pswjnm7•37m ago•0 comments

CHM Live – Steve Jobs in Exile: NeXT and the Making of a Comeback [video]

https://www.youtube.com/watch?v=gnNdb2wa_NE
1•felixding•37m ago•0 comments

A compressed-spring model of spiral galaxy formation

https://theeggandtherock.com/p/a-compressed-spring-model-of-spiral
3•cobbzilla•38m ago•0 comments

China and EU on brink of trade war

https://www.brusselstimes.com/2163961/china-and-eu-on-brink-of-trade-war
5•vrganj•38m ago•0 comments

The State of Open-Source EDA Tools: Breaking Open-EDA for ASIC Chip Flow

https://saadsiddiqui138117.substack.com/p/the-state-of-open-source-eda-tools
2•hasheddan•39m ago•0 comments

Tussle in Cyberspace

https://conferences.sigcomm.org/sigcomm/2002/papers/tussle.html
1•jruohonen•43m ago•0 comments

Human brains are misaligned, hallucinative, stochastic parrots

https://substack.com/@samuelfitoussi/p-191268395
9•samuelfitoussi•44m ago•10 comments

"Capitalism is not natural – it is enforced."

https://www.youtube.com/watch?v=9M_dq_0ljsc
1•28304283409234•44m ago•0 comments

DIY Bipedal Robot Used Pneumatic "Air-Muscles" Instead of Motors

https://spectrum.ieee.org/shadow-walker-biped-humanoid-robot
1•sohkamyung•45m ago•0 comments