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.

Turning YouTube into Cloud Storage [video]

https://www.youtube.com/watch?v=l03Os5uwWmk
1•brandonli28•37s ago•0 comments

Retired SF firefighter dies from lung cancer after Blue Shield denies claims

https://abc7news.com/post/retired-san-francisco-firefighter-ken-jones-dies-lung-cancer-being-deni...
1•iancmceachern•1m ago•0 comments

Persistent Memory for Coding Agents

https://www.agent-memory.dev/
1•ankitg12•4m ago•0 comments

Hscli – A Scriptable Help Scout CLI for Terminals, CI, and AI Agents

https://wavyx.github.io/hscli/
1•wavyx•4m ago•0 comments

AgentRein – Our agent charged $5k by mistake, so we built a rollback enginer

https://www.agentrein.com/
1•AgentReinAi•6m ago•0 comments

The Complete Website Growth Strategy: SEO, GA4, Search Console, and Google Ads

https://medium.com/@allahverdiyev.tural/the-complete-website-growth-strategy-seo-ga4-search-conso...
1•turalall•7m ago•0 comments

Octopus genome and evolution of cephalopod neural, morphological novelties [pdf]

https://www.nature.com/articles/nature14668
1•thunderbong•9m ago•0 comments

Zig Structs of Arrays (2024)

https://andreashohmann.com/zig-struct-of-arrays/
1•Tomte•10m ago•0 comments

H-1B Crackdown on Indian Workers Erodes a Texas Real Estate Boom

https://www.bloomberg.com/features/2026-dallas-h1b-housing-market
1•petethomas•11m ago•0 comments

Time for a re-think of long-term antidepressant use

https://adelaide.edu.au/about/news/2026/time-for-a-re-think-of-long-term-antidepressant-use/
1•XzetaU8•13m ago•0 comments

Popular Weight-Loss Drug Found to Slow Biological Aging in Landmark Human Trial

https://scitechdaily.com/popular-weight-loss-drug-found-to-slow-biological-aging-in-landmark-huma...
1•SubiculumCode•14m ago•0 comments

'An equal and habitable world is possible' Vision for planetary survival

https://www.theguardian.com/environment/2026/jun/04/world-inequality-lab-equality-academics-plane...
1•defrost•15m ago•1 comments

Law professors prefer AI over peer answers 75% of the time [pdf]

https://law.stanford.edu/wp-content/uploads/2026/06/salinas_et_al.pdf
1•jlaneve•16m ago•0 comments

Typeface Specimens of Houston Mono

https://arslan.io/2026/05/31/typeface-specimens-of-houston-monotm/
1•wapasta•24m ago•0 comments

Is Respectful Feedback Dead?

2•likelybyte•26m ago•1 comments

Floating Point: The Origin Story

https://thechipletter.substack.com/p/floating-point-the-origin-story
1•klelatti•28m ago•0 comments

Opting Out of the AI Boom

https://www.bloomberg.com/opinion/newsletters/2026-06-03/opting-out-of-the-ai-boom
2•m-hodges•28m ago•0 comments

Optimistic Provide: How We Made IPFS Content Publishing 10x Faster

https://probelab.io/blog/optimistic-provide/
1•dennis-tra•29m ago•0 comments

Embodied Cognition and Agentic AI

https://lemire.me/blog/2026/05/28/embodied-cognition-and-agentic-ai/
1•signa11•31m ago•0 comments

Mixfont: State-of-the-art Font Generation AI Model

https://www.npmjs.com/package/mixfont
2•polaroid•31m ago•0 comments

Free Birth Chart, Today's Sky and Synastry Calculator – AstrologyWiki

https://www.astrologywiki.com/
1•Hardd•31m ago•0 comments

Telus Digital Breach Exposes Data

https://www.techradar.com/pro/security/telus-digital-confirms-breach-hackers-allegedly-stole-almo...
3•redmug•32m ago•0 comments

My Software North Star

https://kristoff.it/blog/north-star/
1•signa11•32m ago•0 comments

Privacy Is Not Dead: Beware the All-or-Nothing Mindset

https://www.privacyguides.org/articles/2025/02/17/privacy-is-not-dead/
3•Cider9986•34m ago•0 comments

The community-first software era

https://werd.io/the-community-first-software-era/
1•benwerd•39m ago•0 comments

A discovery about GCC's unidirectional rotation algorithm

https://devblogs.microsoft.com/oldnewthing/20260603-00/?p=112378
1•soheilpro•39m ago•0 comments

Trustcraft: How we build AI products at Vanta

https://www.vanta.com/resources/how-we-build-ai-products-at-vanta
1•hamelj•40m ago•0 comments

DeepSWE Audit: DeepSeek-v4-pro results are unreliable

https://github.com/datacurve-ai/deep-swe/issues/21
1•eunos•44m ago•0 comments

Can two hours of strength training a week reduce the risk of dying early?

https://www.bbc.co.uk/news/articles/c0r2lekenlpo
1•c-oreills•44m ago•1 comments

The Expansion-Compression Loop: AI-Mediated Cognitive Decoupling

https://philpapers.org/rec/HANTEL-2
1•hanhuiwen•47m ago•0 comments