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

Comments

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

Did a prize-winning novelist steal a woman's life story?

https://www.theguardian.com/books/2026/feb/17/did-a-prize-winning-novelist-steal-a-woman-life-sto...
1•brandonlc•3m ago•0 comments

Gay men have long been rumored to run Silicon Valley - WIRED investigates

https://www.wired.com/story/inside-the-gay-tech-mafia/
2•helloplanets•6m ago•0 comments

How AI Is Rewiring Winemaking and Wine Collecting - Shirley M. Mueller M.D.

https://www.psychologytoday.com/us/blog/the-mind-of-a-collector/202602/how-ai-is-rewiring-winemak...
1•omkar-foss•10m ago•1 comments

GPU Rack Power Density, 2015–2025

https://syaala.com/blog/gpu-rack-density-timeline-2026
1•jaynamburi•12m ago•1 comments

Lessons from Building Claude Code: Prompt Caching Is Everything

https://twitter.com/trq212/status/2024574133011673516
1•tosh•14m ago•0 comments

The Whispering Earring by Scott Alexander

https://croissanthology.com/earring?
1•nvader•16m ago•0 comments

Show HN: CLI tool to analyze your Vector Embeddings!

https://github.com/dakshjain-1616/Embedding-Evaluator
1•gauravvij137•17m ago•1 comments

A Buried History – Wooden Water Mains [video]

https://www.youtube.com/watch?v=1fntV0c-fYE
1•thunderbong•19m ago•0 comments

Large banner featuring Trump's face is displayed on Justice Department HQ

https://apnews.com/article/donald-trump-banner-justice-department-pam-bondi-13f3d901c9bd6d179e206...
1•stopbulying•20m ago•2 comments

Paul Ford: 'The A.I. Disruption Has Arrived, and It Sure Is Fun'

https://www.nytimes.com/2026/02/18/opinion/ai-software.html
2•polyglotfacto•20m ago•1 comments

Gemini 3.1 Pro be like

https://twitter.com/Google/status/2024598510499426433
1•chvid•21m ago•0 comments

N64 Game-Engine and Editor using libdragon and tiny3d

https://github.com/HailToDodongo/pyrite64
1•jdboyd•24m ago•0 comments

Show HN: ESP32-S3 probe – a UART "flight recorder" with auto frame decoder

https://github.com/choihimchan/linkscope-bpu-uart-analyzer
1•octablock•25m ago•0 comments

Show HN: PhotoMeh – Repair cost estimates from photos – in under 60 seconds

https://photomeh.com
1•arturss•38m ago•1 comments

On Artificial Intelligence by Naval

https://www.youtube.com/watch?v=sXCKgEl9hBo
1•mottiden•39m ago•1 comments

The Electric Tipping Point – Electric Aircraft

https://cascadiannick.substack.com/p/the-electric-tipping-point-electric
1•xbmcuser•46m ago•1 comments

Show HN: Wc-template – create custom elements using template and link

https://github.com/mfcc64/wc-template
1•mfcc64•47m ago•0 comments

Show HN: Fostrom, an IoT Cloud Platform built for developers

https://fostrom.io/
3•arjunbajaj•47m ago•0 comments

Show HN: Photobomb – cards against humanity but for your camera roll

https://www.photobomb.online/
1•alhwyn•50m ago•0 comments

Real Life Superpowers

https://jarbus.net/blog/real-life-superpowers/
1•jarbus•51m ago•0 comments

Proof Assistants in the Age of AI

https://leodemoura.github.io/blog/2026/02/18/proof-assistants-in-the-age-of-ai.html
1•matt_d•53m ago•0 comments

Show HN: Syne – AI agent that remembers everything, built on PostgreSQL

2•riyogarta•57m ago•0 comments

Edgequake-litellm – Rust-backed drop-in replacement for LiteLLM (v0.1)

https://github.com/raphaelmansuy/edgequake-llm
2•raphaelmansuy•59m ago•1 comments

Show HN: An e-ink air traffic monitor built with Cloudflare Workers

https://github.com/Jay9185/Trmnl-Aviation-monitor
3•jerr12939•1h ago•0 comments

Show HN: Intentify – Point at your UI, describe a change, get a PR

https://intentify.dev/
2•slad•1h ago•0 comments

A Guide to Which AI to Use in the Agentic Era

https://www.oneusefulthing.org/p/a-guide-to-which-ai-to-use-in-the
2•vinhnx•1h ago•0 comments

Show HN: Sinkai – Let AI agents hire humans for real-world tasks

https://sinkai.tokyo/for-agents
2•tetubrah•1h ago•0 comments

Who moved my cheese? [pdf]

https://ia800305.us.archive.org/17/items/WhoMovedMyCheese_201604/Who%20Moved%20My%20Cheese.pdf
1•johnmw•1h ago•0 comments

Deceived – On Happiness

https://www.newsweek.com/macphersons-week-53-deceived-151417
1•milkcircle•1h ago•0 comments

Designing and Creating a Game Engine for Use in the Classroom [pdf]

https://airccse.org/journal/ijcgde/papers/1113cgdeij01.pdf
2•andsoitis•1h ago•0 comments