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.

Single-Dose Creatine Reduces Sleep Deprivation-Induced Deterioration

https://www.mdpi.com/2072-6643/18/8/1192
1•pvsukale3•1m ago•0 comments

Raspberry Pi as an isolated AI coding server

https://blog.jgc.org/2026/04/raspberry-pi-as-isolated-ai-coding.html
1•Brajeshwar•1m ago•0 comments

Apple Maps Ads Move Closer to Launch with iOS 26.5 Beta 2

https://www.macrumors.com/2026/04/13/ios-26-2-beta-2-apple-maps-ads/
1•impish9208•2m ago•0 comments

Two Months After I Gave an AI $100 and No Instructions

https://www.sebastian-jais.de/blog/two-months-alma-experiment
2•gleipnircode•2m ago•0 comments

Show HN: Nobulex – Prove what your AI agent did, cryptographically (live demo)

https://nobulex.com/playground
1•arian_•3m ago•0 comments

Show HN: Plotline, an open-source initiative to help you own your health data

1•kalturnbull•3m ago•0 comments

Tonone-AI/elephant: Persistent memory for Claude Code. Never forget a session

https://github.com/tonone-ai/elephant
1•thisisfatih•5m ago•0 comments

Show HN: Who'Studios – A Social Design Platform

https://www.whostudios.com/
1•WhosTiki•6m ago•0 comments

Lithium Yay

https://slimemoldtimemold.com/2025/10/02/lithium-yay/
1•surprisetalk•7m ago•0 comments

Notes on Beautiful Nonfiction

https://www.jenn.site/notes-on-beautiful-nonfiction/
1•surprisetalk•7m ago•0 comments

Age of Invention: Just Kiln Time

https://www.ageofinvention.xyz/p/age-of-invention-just-kiln-time
1•surprisetalk•7m ago•0 comments

Software Engineering Is Becoming Engineering

https://calebfenton.substack.com/p/software-engineering-is-becoming
4•calebfenton•7m ago•1 comments

No-Stack Web Development

https://dbushell.com/2026/04/10/no-stack-web-development/
1•rpgbr•7m ago•1 comments

Show HN: Cyber Pulse. AI pipeline for triage and alerting on cyber news/intel

https://play.google.com/store/apps/details?id=com.cyberpulse.cyber_pulse&hl=en_US
1•kozi93•7m ago•0 comments

Amazon signs $11.57B deal for satellite firm Globalstar

https://www.reuters.com/business/media-telecom/amazon-signs-1157-billion-deal-satellite-firm-glob...
1•elsewhen•8m ago•0 comments

Claude Code hitting ~50% usage after 1–2 prompts (Pro user)

https://github.com/anthropics/claude-code/issues/47587
2•kundi•8m ago•0 comments

Ratsissimo – RatGPT powered operatic mouse trap

https://shitposting.ai/ratsissimo/
1•commandertso•9m ago•0 comments

How to report a N=12 study?

https://statmodeling.stat.columbia.edu/2026/04/14/how-to-report-a-n12-study/
1•caminanteblanco•10m ago•0 comments

Stanford Artificial Intelligence Index Report 2026 [pdf]

https://hai.stanford.edu/assets/files/ai_index_report_2026.pdf
3•Anon84•11m ago•0 comments

Biased AI writing assistants shift users' attitudes on societal issues

https://www.science.org/doi/10.1126/sciadv.adw5578
1•Anon84•13m ago•0 comments

Show HN: I built a site to find cars compatible with open source ADAS software

https://buyanopenpilotcar.today/
1•ugtthis•14m ago•1 comments

Show HN: Linkshot – Auto-generate OG images from your live site via API

https://uselinkshot.com
1•shafkathullah•14m ago•0 comments

Orbiter – a CMS where everything (content, media,) lives in one SQLite file

https://github.com/aeon022/orbiter
1•aeon022•15m ago•0 comments

ivy: An APL-Like Calculator

https://github.com/robpike/ivy
1•tosh•15m ago•0 comments

The biggest advance since the LLM was neurosymbolic

https://twitter.com/GaryMarcus/status/2042987819333738929
1•thedebuglife•15m ago•1 comments

RawC: Pure Win32 C Client/Server Framework

https://magicalpc.com/
1•rogermaragh•15m ago•0 comments

Why I think the future of AI is in the browser

https://avkcode.github.io/blog/portal-browser-tmux.html
1•KyleVlaros•15m ago•1 comments

Show HN: Costile – open-source proxy, blocks AI API requests when budget is hit

https://costile.com/
1•Mkiza•16m ago•2 comments

The Mythical Agent-Month

https://wesmckinney.com/blog/mythical-agent-month/
4•Anon84•16m ago•0 comments

The Dark Forest of Minds

https://github.com/thansz137/asiyah-protocol/blob/main/essays/dark_forest_of_minds.md
1•thansz•16m ago•0 comments