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.

Archive Page

https://github.com/JNavas2/Archive-Page
1•pretext•53s ago•1 comments

Business owners – 2 min survey on how you manage marketing and sales today

https://lumi-survey.netlify.app
1•FouratyNabil•1m ago•0 comments

I got ChatGPT, Gemini, Claude and Qwen to sign the same protocol

https://www.archlytic.com
1•cazzcodrilo•2m ago•1 comments

Pete Hegseth to meet with Dario Amodei as Pentagon threatens banishment

https://www.axios.com/2026/02/23/hegseth-dario-pentagon-meeting-antrhopic-claude
2•Jimmc414•2m ago•0 comments

'Near impossible' travel conditions in New York as 22 inches of snow falls

https://www.bbc.com/news/live/cy7jnjz75e8t
1•tartoran•3m ago•0 comments

AI Agents Want to Write Go

https://encore.dev/blog/golang-ai
1•andout_•4m ago•0 comments

Show HN: Depth Effect Wallpaper for Windows

https://github.com/nfzv/depth_clock_wallpaper
1•Nurbek-F•4m ago•0 comments

Comparing EEG Recordings from the OpenBCI Cyton and Brain Products BrainAmp

https://www.mdpi.com/1424-8220/26/4/1153
1•PaulHoule•4m ago•0 comments

OpenAI Stargate AI data centers reportedly delayed by squabbles between partners

https://www.tomshardware.com/tech-industry/artificial-intelligence/stargate-ai-data-centers-for-o...
1•speckx•5m ago•0 comments

Show HN: Collective-AI.org Multiple line-of-sights for high-stakes questions

https://collective-ai.org
1•billylo•5m ago•0 comments

DRDO cracks the code for GaN technology, boosting India's defence

https://www.theweek.in/theweek/cover/2026/01/23/exclusive-how-drdo-cracked-the-code-for-gan-techn...
1•thisislife2•6m ago•0 comments

Show HN: Zendoc – A "Zen" writing environment built on the Cursor/VS Code engine

https://yostar.github.io/zendoc/
1•yostar•7m ago•0 comments

NASA uses Mars Helicopter's SoC for rover navigation upgrade

https://www.theregister.com/2026/02/23/perseverance_rover_soc_navigation_upgrade/
1•LorenDB•7m ago•0 comments

FreezePage – Webpage Archive Service

https://www.freezepage.com/
1•TigerUniversity•8m ago•1 comments

New undocumented GameShark code format

https://social.treehouse.systems/@endrift/116118808586068716
1•throw_await•9m ago•0 comments

HubSpot Acquires Starter Story

https://twitter.com/thepatwalls/status/2025922694332780857
1•mmarian•9m ago•0 comments

Version History for Claude Code's Plan Mode

https://www.youtube.com/watch?v=uIWkFCg60Lk
1•ramoz•9m ago•1 comments

Wrapping Code Comments

https://matklad.github.io/2026/02/21/wrapping-code-comments.html
1•ibobev•11m ago•0 comments

Optimal Caverna Gameplay via Formal Methods

https://www.stephendiehl.com/posts/caverna/
1•ibobev•11m ago•0 comments

Twitter: Last Week Tonight with John Oliver (HBO) [video]

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

Show HN: Vibevideo – Unified interface for top AI video models

https://vibevideo.app
1•leegrayson2023•11m ago•0 comments

FreeBSD Status Report Fourth Quarter 2025

https://www.freebsd.org/status/report-2025-10-2025-12/
1•ptx•12m ago•0 comments

Adventures in Neural Rendering part 2: Cooperative vectors

https://interplayoflight.wordpress.com/2026/02/21/adventures-in-neural-rendering-part-2-cooperati...
1•ibobev•12m ago•0 comments

Study Finds Lithium Plume in Atmosphere Traced Back to Returning SpaceX Rocket

https://www.sciencealert.com/lithium-plume-in-our-atmosphere-traced-back-to-returning-spacex-rocket
3•ck2•12m ago•0 comments

Why is AI so bad at reading PDFs?

https://www.theverge.com/ai-artificial-intelligence/882891/ai-pdf-parsing-failure
1•mikece•12m ago•0 comments

Show HN: Mindpm – persistent project/task memory for AI coding assistants (MCP)

https://github.com/umitkavala/mindpm
1•ukavala•13m ago•0 comments

How we built a chat-with-data agent that doesn't AI generate SQL

https://inconvo.com/blog/how-we-built-a-chat-with-data-agent-that-doesnt-ai-generate-sql/
1•ogham•13m ago•0 comments

The Hunger Games Was Just Voted the 'Best Book Ever' by Goodreads Readers

https://parade.com/news/hunger-games-by-suzanne-collins-voted-best-book-ever-goodreads
2•randycupertino•14m ago•2 comments

Questions with an Art Recovery Specialist

https://anthonyamore.substack.com/p/10-questions-with-christopher-marinello
1•anthonyamore•14m ago•0 comments

EU Commission statement on the recent judgment of US Supreme Court

https://ec.europa.eu/commission/presscorner/home/en
1•Betelbuddy•15m ago•0 comments