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 CrabNebula Cloud is now free: Tauri, the CRA

https://crabnebula.dev/blog/why-cloud-is-free/
1•DanielKehoe•2m ago•0 comments

How to (Inadvertently) Sabotage Your Organization (2019)

https://sloanreview.mit.edu/article/how-to-inadvertently-sabotage-your-organization/
1•thelastgallon•5m ago•0 comments

Infineon to open fab in Germany as part of sovereignty push

https://www.bloomberg.com/news/articles/2026-06-12/infineon-to-open-german-chip-fab-as-part-of-eu...
1•SanjayMehta•6m ago•1 comments

Midnight8Ball, a fast browser-based casino game experiment

https://midnight8ball.com
1•Midnight8ball•8m ago•1 comments

Ask HN: How many $SPCX shares did you request and how many did you get?

1•GMoromisato•10m ago•0 comments

The MilkV Jupiter 2/SpacemiT K3

https://taoofmac.com/space/reviews/2026/06/11/1830
2•snvzz•17m ago•0 comments

A digital reckoning against smartphones in schools has spread to Sweden

https://apnews.com/article/sweden-school-mobile-phones-ban-screen-time-20a32f9bd9e2849a5ba76ef3fd...
1•1vuio0pswjnm7•21m ago•0 comments

SpaceX demolishes IPO records, visualized

https://www.reuters.com/graphics/SPACEX-IPO/byprdokrkpe/
2•giuliomagnifico•22m ago•1 comments

Show HN: Manob: A social media plaform without algorithm, ads, or data-tracking

1•Iamahmedsalman•26m ago•0 comments

Show HN: Dont lose your friends, use a Kadoodle to plan your next event

https://kalerum.com/en/tools/kadoodle
1•mailforge•28m ago•0 comments

OpenAI Considers Drastic Price Cuts, Anticipating War for Users With Anthropic

https://www.wsj.com/tech/ai/openai-considers-drastic-price-cuts-anticipating-war-for-users-with-a...
4•jbk•36m ago•1 comments

The end is not nigh

https://ckarchive.com/b/0vuwh9h96eg98i7mggrmzhv7orr2eunhx8g7n
3•bigfudge•41m ago•0 comments

Show HN: Sentinel Den – Zero-back end, on-device iOS security SDKs

https://sentinelden.com/
1•iamuhammadkhan•44m ago•0 comments

Ask HN: At what point does a codebase become too large to understand?

1•visha1v•44m ago•0 comments

Are jobs and the world going to be like this, moving forward?

5•chand190•47m ago•1 comments

Louis Rossmann is suing Samsung after firm offers $330 refund

https://www.tomshardware.com/pc-components/ssds/louis-rossman-threatens-to-take-samsung-to-court-...
3•iancmceachern•48m ago•0 comments

AI Agent Bankrupted Their Operator While Trying to Scan DN42

https://lantian.pub/en/article/fun/ai-agent-bankrupted-their-operator-scan-dn42lantian.lantian/
8•xiaoyu2006•49m ago•1 comments

Show HN: Kickbacks.ai – pays you for Claude Code spinner impressions

https://kickbacks.ai
2•devtoolsguides•50m ago•0 comments

Show HN: Proton – A easy CGO-free immediate-mode GUI framework for Go

1•CzaxTanmay•51m ago•0 comments

Asciline – real-time ASCII video rendering engine

https://github.com/YusufB5/ASCILINE
1•godot•52m ago•0 comments

Largest AI Data Center: Doubling every 7 months

https://epoch.ai/data-insights/largest-data-center-compute
2•ilreb•53m ago•0 comments

Show HN: VeloIQ – An internal OS to build full-stack FastAPI apps in minutes

https://veloiq.dev
1•cesarlugos1s•1h ago•0 comments

DevRel is becoming a freelance job now? (India specific)

3•arpansac•1h ago•0 comments

Study Finds Competitors Share Directors More Often Than Previously Known

https://law.stanford.edu/press/award-winning-antitrust-study-finds-competitors-share-directors-fa...
1•toomuchtodo•1h ago•1 comments

Foreign business owners are scrambling to raise capital to stay in Japan

https://tokyopaladin.substack.com/p/foreign-business-owners-are-scrambling
2•zdw•1h ago•0 comments

Device Clock Generation

https://zipcpu.com/blog/2025/12/17/devclk.html
6•mfiguiere•1h ago•0 comments

Git v2.55 will release with Rust support enabled by default

https://lore.kernel.org/lkml/xmqqik7pqeiq.fsf@gitster.g/
2•tapanjk•1h ago•1 comments

AppList – Minimalist App Launcher for iPhone

https://sxp.studio/apps/applist
1•gurjeet•1h ago•0 comments

Ask HN: Is anyone running AI agents in production reliably – what's your stack?

3•nehpets•1h ago•2 comments

I built a fast, edge-native personal site with Astro, Cloudflare D1, and R2

https://www.noahhan.com/
1•Felomeng•1h ago•0 comments