frontpage.
newsnewestaskshowjobs

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.

Why did I create my own PaaS as indie hacker and made it open-source?

https://github.com/sumon-ohid/better-paas
1•sumonoahid•6m ago•1 comments

Making a Metasearch Engine (2024)

https://matdoes.dev/metasearch
1•ethanhawksley•8m ago•0 comments

The History of How School Buses Became Yellow

https://www.smithsonianmag.com/history/history-how-school-buses-became-yellow-180973041/
1•thunderbong•9m ago•0 comments

Pure-Dart I2P: decentralized file sharing

https://github.com/geograms/i2p-dart
1•nunobrito•14m ago•0 comments

Greed Is Learned: Visible Incentives as Reward-Hacking Triggers

https://arxiv.org/abs/2606.16914
1•Timofeibu•15m ago•0 comments

Show HN: Kitchen Rush, Overcooked inspired LLM tool calling benchmark

https://github.com/bassimeledath/kitchen-rush
1•bombastic311•16m ago•0 comments

Movebound: The Art of Zugzwang

https://www.thearticle.com/movebound-the-art-of-zugzwang
1•Pamar•16m ago•0 comments

Discovery debt: The debt that doesn't slow you down

https://www.leadinginproduct.com/p/discovery-debt
1•benkan•16m ago•0 comments

The US government's Anthropic models ban was never about an AI jailbreak

https://techcrunch.com/2026/06/15/the-us-governments-anthropic-models-ban-was-never-about-an-ai-j...
2•SilverElfin•17m ago•0 comments

Why do South Koreans love AI so much?

https://www.technologyreview.com/2026/06/15/1138983/why-do-south-koreans-love-ai-so-much/
1•joozio•23m ago•0 comments

Cross-Language Data Types

https://ekxide.io/blog/cross-language-data-types/
1•birdculture•24m ago•0 comments

Show HN: A spreadsheet where your code never reads B7

https://github.com/logisky/LogiSheets/discussions/415
1•JeremyHe•26m ago•0 comments

Show HN: GitHits Public Beta 0.9

https://githits.com/
1•skvark•26m ago•0 comments

Correlated LLM Name Priors and Their Haunting of the Web and Academic Publishing

https://arxiv.org/abs/2606.02184
1•wise_blood•28m ago•0 comments

Adobe's record year couldn't save its stock

https://www.artificialstudio.ai/blog/adobe-record-year-couldnt-save-its-stock
1•artificialstudi•29m ago•0 comments

OpenAI spending hit $34B last year ahead of planned IPO

https://www.ft.com/content/e15b0d7e-ff6b-4f16-ba7a-4068feddb828
1•merksittich•29m ago•1 comments

Vulnerability Forecast Update: Navigating the AI Epoch

https://www.first.org/blog/20260615-vulnerability-forecast-update
1•jruohonen•29m ago•1 comments

Mythos/Fable-5 is a greedy Depth First Search system

https://ankitmaloo.com/fable/
2•ankit219•34m ago•0 comments

Show HN: DocShrink – An offline image and PDF optimizer in your Chrome sidebar

https://github.com/Aditya5556/Shrinkk
1•Aditya_5556•36m ago•1 comments

Shoehorning Flying Toasters into a ESP32-S3

https://taoofmac.com/space/blog/2026/06/14/1400
2•adunk•39m ago•0 comments

Show HN: Tracore – We turned our resume parser into a document-to-JSON API

https://tracore.io/en/
1•imalov•39m ago•0 comments

CATL: Solid-state batteries are in years away from mass market

https://carnewschina.com/2026/06/15/catl-boss-drops-solid-state-battery-reality-check-years-away-...
1•phront•40m ago•0 comments

Know When to Stop, Pivot, or Double Down

https://julienreszka.com/blog/know-when-to-stop-pivot-or-double-down/
2•julienreszka•41m ago•0 comments

Ask HN: Claude renamed my VM from the inside?

2•twooclock•52m ago•0 comments

How to bring down cheap, low-flying drones

https://www.economist.com/science-and-technology/2026/06/01/how-to-bring-down-cheap-low-flying-dr...
2•austinallegro•53m ago•2 comments

Colossal Squid Are Everywhere. We've Been Looking Wrong [video]

https://www.youtube.com/watch?v=-W1Mwd0BWT4
2•mpweiher•56m ago•0 comments

Show HN: Topaz – A small Unicode-first language that compiles to Rust

https://github.com/studiohaze/topaz
1•yo_tafo•56m ago•1 comments

Do call yourself a programmer, and other career advice (2013)

https://yosefk.com/blog/do-call-yourself-a-programmer-and-other-career-advice.html
1•downbad_•59m ago•0 comments

Show HN: Ensure actionable Google Forms responses using automatic feedback

https://workspace.google.com/marketplace/app/ai_response_feedback_for_forms/1081979139028
1•komlan•1h ago•0 comments

DeepSeek raises $7B at $50B valuation

https://digg.com/tech/lxwv71a1?rank=6
3•ilreb•1h ago•3 comments