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.

Show HN: Freqcast, an Android radio player that finds streams from a website URL

https://github.com/z0rats/freqcast
1•z0rats•1m ago•0 comments

Ioskeley Mono

https://github.com/ahatem/IoskeleyMono
1•carlos-menezes•2m ago•0 comments

Seven Russian banks have moved to a certificate authority run by the state

https://en.zona.media/article/2026/08/03/cert
2•mtty•3m ago•0 comments

What is the actual point of agentic commerce?

https://talkshi.com/blog/actual-point-of-agentic-commerce
2•greenfish6•5m ago•0 comments

Kansas home wound up with 600M IP addresses and a world of trouble (2016)

https://www.denverpost.com/2016/08/10/lawsuit-kansas-home-600-million-ip-addresses/
1•yitchelle•6m ago•1 comments

Released Lanemu P2P VPN 0.14.1

https://gitlab.com/Monsterovich/lanemu/-/releases/0.14.1#release
1•Monsterovich•9m ago•1 comments

UI8 Forge

https://ui8.ai/forge/
1•handfuloflight•9m ago•0 comments

Amazon's debt doubled to $129B in 6 months

https://finance.yahoo.com/markets/stocks/articles/amazons-debt-nearly-doubled-129-140000968.html
1•johnbarron•11m ago•0 comments

Pole becomes first person to swim 160km Baltic Sea between Sweden and Poland

https://notesfrompoland.com/2026/08/02/pole-becomes-first-person-to-swim-160km-baltic-sea-route-b...
2•wslh•12m ago•0 comments

One agent, every surface: how we built the Kiro agent harness

https://kiro.dev/blog/one-agent/
2•t2f2•12m ago•0 comments

Mathematicians Need to Act

https://tasmin.substack.com/p/mathematicians-need-to-act
2•zetalyrae•14m ago•0 comments

Towards Bottom-Up Enumeration in miniKanren via Pruning and Memoization

https://arxiv.org/abs/2607.25373
2•Jimmc414•14m ago•0 comments

Debugging Stuck Node.js Processes

https://engineering.myhoai.com/posts/debugging-stuck-node-js-processes/
1•zhixuan•14m ago•0 comments

Ideas over Implementation

https://boz.com/articles/ideas-implementation
1•duck•16m ago•0 comments

Show HN: Peek-CLI: Let your front end agent see the browser

https://github.com/puffinsoft/peek-cli
1•ReactRocks•16m ago•0 comments

Show HN: Snapix – Mac screenshot app that puts every capture on your clipboard

https://snapix.app/
1•eliseinicolae•16m ago•1 comments

Chinese Researchers Create Neural Network for Modeling Human Concept Formation

https://english.cas.cn/newsroom/cas-in-media/202603/t20260303_1151386.shtml
1•yogthos•17m ago•0 comments

Story of My Personal Site

https://liamis.dev/blogs/building-the-site.html
1•ForgottenMail•17m ago•0 comments

Apple fixed Siri. So why does it feel anticlimactic?

https://techcrunch.com/2026/08/03/apple-finally-fixed-siri-so-why-does-it-feel-anticlimactic/
1•rTX5CMRXIfFG•19m ago•0 comments

Over 20k precolonial earthworks in the Southwest Amazonia

https://www.nature.com/articles/s41586-026-10835-7
2•wslh•21m ago•0 comments

LLMs reward expertise

https://www.seangoedecke.com/llms-reward-expertise/
50•MaxMussio•22m ago•10 comments

Rhine falls to record low levels as drought strains Europe's rivers

https://www.bbc.com/news/articles/c78gn8zvrx4o
1•ijidak•23m ago•0 comments

You know your MRR. Not what you keep.

https://sidepop.io
1•ecaglar•23m ago•0 comments

Show HN: Yaka Clothing

https://www.instagram.com/reel/DblcZc_NbN5/
1•dp-hackernews•23m ago•0 comments

I downloaded and reviewed NYC's grocery store RFP

https://twitter.com/nickkokonas/status/2084312689682108669
2•rmason•25m ago•1 comments

Show HN: Peko, an End-to-End Platform for Shipping Native Apps

https://pekoui.com
1•IAmPrestonBrown•29m ago•0 comments

I got tired of the endless 'news' barrage

https://flowinfo.co/
1•flowinfo•30m ago•1 comments

When Cloud AI Escapes: OpenAI and Anthropic Models Breach Live Networks

https://blog.neutrontech.ai/2026/08/03/when-cloud-ai-escapes-openai-anthropic-models-breach-live-...
2•NeutronTech_ai•30m ago•0 comments

The State of Chez Scheme in Debian

https://weinholt.se/articles/state-of-chezscheme-in-debian/
1•birdculture•31m ago•0 comments

Google dev kit spurs first-ever agent-on-agent violence

https://www.theregister.com/security/2026/08/03/google-dev-kit-spurs-first-ever-agent-on-agent-vi...
2•hacker_nows•33m ago•0 comments