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

Comments

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

AV1's open, royalty-free promise in question as Dolby sues Snapchat over codec

https://arstechnica.com/gadgets/2026/03/av1s-open-royalty-free-promise-in-question-as-dolby-sues-...
1•pjmlp•1m ago•0 comments

Adults Lose Skills to AI. Children Never Build Them

https://www.psychologytoday.com/us/blog/the-algorithmic-mind/202603/adults-lose-skills-to-ai-chil...
3•ndr42•4m ago•0 comments

My heuristics are wrong. What now?

https://brooker.co.za/blog/2026/03/20/ic-leadership.html
2•r4um•5m ago•0 comments

Office Chair Is $50 Cheaper Than We've Seen Before

https://www.wired.com/story/branch-ergonomic-chair-pro-amazon-spring-sale-2026/
2•joozio•14m ago•0 comments

CERN uses tiny AI models burned into silicon for real-time LHC data filtering

https://theopenreader.org/Journalism:CERN_Uses_Tiny_AI_Models_Burned_into_Silicon_for_Real-Time_L...
4•TORcicada•15m ago•0 comments

Open Source Gave Me Everything Until I Had Nothing Left to Give

https://kennethreitz.org/essays/2026-03-18-open_source_gave_me_everything_until_i_had_nothing_lef...
4•ta988•17m ago•0 comments

Mysterious Trading Patterns Follow Trump into War

https://www.axios.com/2026/03/25/trump-iran-oil-insider-trading
2•karakoram•18m ago•1 comments

AI Research Is Getting Harder to Separate from Geopolitics

https://www.wired.com/story/made-in-china-ai-research-is-starting-to-split-along-geopolitical-lines/
3•joozio•20m ago•0 comments

Why This Jump in Gas Prices Feels Different

https://www.nytimes.com/2026/03/18/upshot/gas-prices-lookup.html
1•karakoram•21m ago•1 comments

Google to finance data center project leased to Anthropic

https://seekingalpha.com/news/4569914-google-to-finance-data-center-project-leased-to-anthropic
2•maneprajakta•25m ago•0 comments

Show HN: Spectator a cross platform DSL for cybersecurity

1•CzaxTanmay•27m ago•0 comments

I Caught a 3.4M Daily Download Supply Chain Attack

https://miles0sage.github.io/codeguard-mcp/blog.html
2•Miles0•30m ago•1 comments

The Superorganism Explained in 7 Minutes

https://natehagens.substack.com/p/why-the-world-feels-like-its-falling
2•shrubby•37m ago•1 comments

Simple English Wikipedia

https://simple.wikipedia.org/wiki/Main_Page
5•microflash•41m ago•1 comments

Building NetPulse: from MRTG replacement to something much bigger

https://as215855.net/posts/building-netpulse
1•miyuru•44m ago•0 comments

Over 11,000 munitions in 16 Days of the Iran War

https://www.rusi.org/explore-our-research/publications/commentary/over-11000-munitions-16-days-ir...
1•stubish•44m ago•0 comments

TUI for Vibe Coders

https://github.com/hritupitu/vibetui/tree/main
2•hritvikagarwal•53m ago•2 comments

Reducing our monorepo size to improve developer velocity

https://dropbox.tech/infrastructure/reducing-our-monorepo-size-to-improve-developer-velocity
2•vinhnx•54m ago•1 comments

CSS Refactoring with an AI Safety Net

https://danielabaron.me/blog/css-refactoring-with-an-ai-safety-net/
3•vinhnx•54m ago•0 comments

Understanding LRU Caches in Go: Part 2

https://learnwithtimi.substack.com/p/2-understanding-least-recently-used
1•giddy_dev•55m ago•0 comments

Show HN: Layer – Hide your personal AI files from Git without touching gitignore

https://crates.io/crates/git-layer
3•aungsiminhtet•1h ago•0 comments

Ask HN: Anybody tried to cheat AI-HR-system with hidden/white sentences?

3•KellyCriterion•1h ago•1 comments

Show HN: WordGen a Robust Wordlist Maker

1•CzaxTanmay•1h ago•0 comments

Ask HN: A Product Healing Agent, your thoughts?

1•gokulnair2001•1h ago•0 comments

C Preprocessor tricks, tips, and idioms

https://github.com/pfultz2/Cloak/wiki/C-Preprocessor-tricks,-tips,-and-idioms
1•signa11•1h ago•0 comments

Engineered yeast provides rare but essential nutrition for honeybees

https://www.nature.com/articles/s41586-025-09431-y
1•ludicrousdispla•1h ago•0 comments

Tree Editor – apply and remove types without breaking your data

https://github.com/justindmassey/tree-editor
2•justindmassey•1h ago•0 comments

Llama.cpp with CUDA Support on Original Jetson Nano (4GB)

https://github.com/kreier/llama.cpp-jetson
2•Abishek_Muthian•1h ago•2 comments

LLMs on a PowerPC Mac

http://www.theresistornetwork.com/2025/03/thinking-different-thinking-slowly-llms.html
1•austinallegro•1h ago•0 comments

Show HN: WordGen, a fast and easy to use wordlist generator

1•CzaxTanmay•1h ago•0 comments