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

Comments

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

Turkey's underground city of 20k people (2022)

https://www.bbc.com/travel/article/20220810-derinkuyu-turkeys-underground-city-of-20000-people
1•thunderbong•4m ago•0 comments

The moderately easy problem of consciousness

https://www.noahpinion.blog/p/the-moderately-easy-problem-of-consciousness
1•nradclif•9m ago•0 comments

Anthropic's definition of safety is too narrow

https://jonathannen.com/anthropic-safety-too-narrow/
3•jwilliams•18m ago•0 comments

Engineering the Fashion Catalog of Summer 2026

https://rapidkt.com/pages/blog/engineering_the_fashion_catalog_of_summer_2026
2•greenpau•19m ago•1 comments

Show HN: 49Agents – Infinite canvas IDE for AI agents

https://github.com/49Agents/49Agents
2•alpadurza•19m ago•0 comments

The Man Behind AlphaGo Thinks AI Is Taking the Wrong Path

https://www.wired.com/story/david-silver-ai-ineffable-intelligence-reinforcement-learning/
1•fmihaila•20m ago•0 comments

Using native Rails rate-limits in production

https://amzcartshare.com/native-rails-rate-limits
1•hbroadbent•21m ago•0 comments

Agents can't choose between structure and flexibility

https://frontierai.substack.com/p/agents-cant-choose-between-structure
1•gmays•23m ago•0 comments

Ted Nyman – High Performance Git

https://gitperf.com/
2•gnabgib•24m ago•0 comments

FAA to begin collecting user fees for commercial launches

https://spacenews.com/faa-to-begin-collecting-user-fees-for-commercial-launches-and-reentries/
1•polalavik•32m ago•0 comments

Xiaomi MiMo-v2.5-Pro Open-Sourced: 1T Parameter Model

https://huggingface.co/XiaomiMiMo/MiMo-V2.5-Pro
2•gainsurier•45m ago•0 comments

Unreal Struggles with Renaming Stuff (and how to fix it)

https://larstofus.com/2026/04/26/how-unreal-struggles-with-with-renaming-stuff-and-how-to-fix-it/
1•caminanteblanco•46m ago•0 comments

portless – named .localhost URLs for Development

https://portless.sh/
2•bpierre•47m ago•0 comments

Google staff urge chief executive to block US Military AI use

https://www.ft.com/content/9270ce04-558c-44e8-816f-a40219cd5007
4•propagandist•48m ago•0 comments

Generative AI Vegetarianism

https://sboots.ca/2026/03/11/generative-ai-vegetarianism/
6•marvinborner•48m ago•6 comments

Google Staff Urge Pichai to Refuse Classified Military AI Work

https://www.bloomberg.com/news/articles/2026-04-27/google-staff-urge-pichai-to-refuse-classified-...
4•johnshades•49m ago•0 comments

People Using AI to Represent Themselves in Court Are Clogging the System

https://www.404media.co/people-using-ai-to-represent-themselves-in-court-are-clogging-the-system/
4•pavel_lishin•53m ago•0 comments

Professors Disturbed to Find Their Lectures Chopped Up and Turned into AI Slop

https://www.404media.co/asu-atomic-ai-modules-arizona-state-university/
4•pavel_lishin•55m ago•0 comments

AI App Builders vs. Traditional Development: Which Is Right for You?

https://aiappbuild-cb8b4jpw.manus.space/
1•nexus-build•58m ago•0 comments

To My Students

http://ozark.hendrix.edu/~yorgey/forest/00FD/index.xml
167•marvinborner•58m ago•62 comments

Samsung may post first-ever mobile division loss this year, blaming RAM crisis

https://9to5google.com/2026/04/22/samsung-is-increasingly-worried-about-first-ever-mobile-divisio...
1•webninja•59m ago•0 comments

Constellation Draw

https://neal.fun/constellation-draw/
2•webninja•1h ago•0 comments

Signs Your S3 May Be Slowing Down Your SoC

https://scanner.dev/blog/7-signs-your-s3-may-be-slowing-down-your-soc
1•flw_0311•1h ago•0 comments

Software engineering may no longer be a lifetime career

https://www.seangoedecke.com/software-engineering-may-no-longer-be-a-lifetime-career/
5•webninja•1h ago•4 comments

The Full-Cycle Agentic Experience

https://normalphd.substack.com/p/the-full-cycle-agentic-experience
1•dooku0721•1h ago•0 comments

Ask HN: Views on abilities of large cos to disrupt supply

1•sourcegrift•1h ago•1 comments

The Brink of Global Recession [audio]

https://www.theatlantic.com/podcasts/2026/04/david-frum-show-adam-posen-global-recession/686900/
1•BiraIgnacio•1h ago•0 comments

Global energy shock tests limits of oil reserves

https://mondediplo.com/2026/05/02energy
1•JumpCrisscross•1h ago•0 comments

Palantir: Why its political manifesto is causing a stir

https://www.dw.com/en/palantir-why-its-political-manifesto-is-causing-a-stir/a-76895480
3•trhway•1h ago•0 comments

Musk vs. Altman: The CEO on Trial

https://precognewsnow.substack.com/p/musk-v-altman-the-ceo-on-trial
3•0xPetra•1h ago•1 comments