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

Comments

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

Ask HN: What's your health/fitness/wellness routine?

1•akhilnchauhan•2m ago•0 comments

Reasoning tools knowledgebase of thinking patterns from various domains

https://github.com/dvdarkin/reasoning-tools
1•dvdarkin•4m ago•1 comments

Show HN: Snapalabra – A daily exercise for learning new vocabulary

1•detectivestory•5m ago•0 comments

Dev-db: TypeScript-first mock database generator with realistic data in seconds

https://github.com/calvin-kimani/dev-db
1•kimanicalvin•7m ago•0 comments

Show HN: An AI pipeline to find anomalies in FDA medical device reports

https://maude-analysis.onrender.com/
1•smugesh•8m ago•0 comments

Show HN: AgentCmds – A directory of slash commands for AI agents

https://agentcmds.work/
1•ho_ba•16m ago•1 comments

Progressive disclosure is essential as AI capabilities grow, so does complexity

https://1984.design/psychology-of-design/progressive-disclosure/
1•kaizenb•17m ago•0 comments

GNU Taler v1.3 Released

https://www.taler.net/en/news/2025-13.html
3•midzer•18m ago•0 comments

My web framework is 1 py file, my CRM is 1 shell script, SQLite the 1 dependency

https://github.com/danielfalbo/prev.py/blob/main/prev.py
1•danielfalbo•20m ago•0 comments

Map of my personal data infrastructure (2021)

https://beepb00p.xyz/myinfra.html
1•Tomte•20m ago•0 comments

Before Electric Vehicles Became Political, There Was the Toyota Prius

https://www.nytimes.com/2025/12/27/business/electric-vehicles-poilitics-republicans-conservatives...
1•fleahunter•28m ago•0 comments

Maia Chess

https://www.maiachess.com/
1•plaguna•28m ago•0 comments

The US Must Stop Underestimating Drone Warfare

https://www.wired.com/story/the-us-must-stop-underestimating-drone-warfare/
1•fleahunter•29m ago•1 comments

Stop the slop by disabling AI features in Chrome

https://www.theregister.com/2025/12/26/disable_ai_features_chrome/
1•abdelhousni•31m ago•0 comments

AI's trillion-dollar opportunity: Context graphs

https://foundationcapital.com/context-graphs-ais-trillion-dollar-opportunity/
1•Arindam1729•32m ago•0 comments

Formulaic Delimiters in the Iliad and the Odyssey

https://glthr.com/formulaic-delimiters-in-the-iliad-and-the-odyssey
1•glth•39m ago•0 comments

Russian drones, missiles pound Ukraine ahead of Zelenskiy-Trump meeting

https://www.reuters.com/world/europe/russian-drones-missiles-pound-ukraine-before-zelenskiy-trump...
1•JamesAdir•39m ago•0 comments

Real 2025 PostgreSQL cryptojacking incident and AI-assisted recovery

https://substack.com/inbox/post/182685208
1•levelZero•41m ago•1 comments

Spotify leak: why so many 2-minute songs

https://writingcosmo.substack.com/p/the-2m-peak
2•tsterin•43m ago•0 comments

Keeping a suspense file gives you superpowers (2024)

https://pluralistic.net/2024/10/26/one-weird-trick/#todo
1•thunderbong•46m ago•0 comments

Commandments of LLM Use

https://www.mostlylucid.net/blog/graphrag-minimum-viable-implementation
1•haraldooo•47m ago•0 comments

The Physics of Dissonance and Harmony

https://www.youtube.com/watch?v=tCsl6ZcY9ag
1•fanf2•49m ago•0 comments

Show HN: Doculearn – How much of your Gen-AI code do you understand?

https://doculearnapp.com
1•williamai_•52m ago•0 comments

Show HN: One Minute News: Your Minimalist Anti-Clickbait News Platform

https://oneminutenews.org/
2•zfoong•52m ago•0 comments

The power of box dimension attacks on the Epstein files

2•fusionlove•53m ago•0 comments

How to Annotate Everything (2019)

https://beepb00p.xyz/annotating.html
1•Tomte•58m ago•0 comments

CloudFlare is ruining the internet (for me)

https://www.slashgeek.net/2016/05/17/cloudflare-is-ruining-the-internet-for-me/
14•nomilk•58m ago•1 comments

Training intensity distribution of marathon runners across performance levels

https://researchprofiles.herts.ac.uk/en/publications/the-training-intensity-distribution-of-marat...
1•DyslexicAtheist•1h ago•1 comments

Eise.app – Easy (Planetary) Image Stacker in the Browser for Astrophotography

https://eise.app/
2•grgergo•1h ago•0 comments

AIChat: All-in-One LLM CLI Tool

https://github.com/sigoden/aichat
1•modinfo•1h ago•0 comments