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.

Analysis of the PrizeBuzz phishing network and impersonated brands

https://phisheye.com/blog/prizebuzz-phishing-network
1•naveenda•50s ago•0 comments

4 in 10 AI agents headed for demotion or the rubbish bin (Gartner)

https://www.theregister.com/ai-ml/2026/05/27/4-in-10-ai-agents-headed-for-demotion-or-the-rubbish...
1•indynz•1m ago•0 comments

Portsh: A batch/shell polyglot that implements a Lisp

https://github.com/smasher164/portsh
1•smasher164•5m ago•0 comments

Humiliating IIS servers for fun and jail time

https://mll.sh/humiliating-iis-servers-for-fun-and-jail-time/
1•denysvitali•5m ago•0 comments

DNS Query Duplication

https://www.potaroo.net/ispcol/2026-06/dups.html
1•caminanteblanco•6m ago•0 comments

Among the large new rockets Amazon was counting on, only Europe has delivered

https://arstechnica.com/space/2026/06/amid-launch-bottleneck-amazon-has-hundreds-of-satellites-wa...
4•logickkk1•7m ago•0 comments

Writing as Species-Being

https://philosophyofwriting.substack.com/p/writing-as-species-being
1•herbertl•8m ago•0 comments

Peter Thiel's 'Dialog' network was super-secret. A data leak changed that

https://san.com/cc/peter-thiels-dialog-network-was-super-secret-a-data-leak-changed-that/
2•lorecore•8m ago•0 comments

Show HN: oh-my-reddit – beautiful reddit threads, live in your terminal

https://github.com/renatoworks/oh-my-reddit
1•renatoworks•14m ago•0 comments

Chimera Linux: Clang/LLVM, FreeBSD coreutils, dinit, musl Libc

https://chimera-linux.org/
1•hxorr•21m ago•1 comments

Transfigure αLPHA is live – Yes, moar AI CAD

http://xfgr.ai
1•itstransfigure•22m ago•1 comments

Show HN: Reticle – The map your infrastructure operators deserve

https://reticleops.com/
1•mannders•22m ago•0 comments

Native Coding Agent Optimized for Local LLM and DeepSeek v4 with Vector Memory

https://code.intellios.ai
1•coolwulf•22m ago•0 comments

Show HN: The Oct Programming Language for scientific programming

https://github.com/yuechen-li-dev/oct
1•YuechenLi•25m ago•0 comments

Show HN: The Ruby AI Newsletter

https://rubyai.beehiiv.com/p/ruby-ai-news-june-16th-2026
1•activefx•25m ago•0 comments

Static Types and Shovels

https://carefully.understood.systems/blog-2026-06-10-static-type-shovel.html
1•birdculture•25m ago•0 comments

Tokdiet a local proxy that cuts LLM token spend ~70% without quality loss

https://github.com/agiwhitelist/tokdiet
1•agiwhitelist•27m ago•1 comments

Stolen French fries are spicier than justice: How covert larceny enhances taste

https://www.sciencedirect.com/science/article/abs/pii/S0950329326001126
2•bookofjoe•30m ago•0 comments

Ireland ready to restrict social media for children even without EU agreement

https://www.irishtimes.com/politics/2026/06/16/ireland-ready-to-restrict-social-media-for-childre...
5•piltdownman•32m ago•2 comments

Reinventing the Renaissance

https://drb.ie/article/reinventing-the-renaissance/
2•Petiver•33m ago•0 comments

Show HN: Numax - a portable runtime for distributed apps

https://github.com/GianIac/numax
3•gianiac•34m ago•1 comments

Milky Way's black hole is quiet, scientists found evidence of its missing wind

https://www.cnn.com/2026/06/16/science/milky-way-sagittarius-a-black-hole-wind
2•1659447091•34m ago•0 comments

Digital Printing of Arabic: explaining the problem

https://digitalorientalist.com/2017/08/21/digital-printing-of-arabic-explaining-the-problem/
4•a_t48•36m ago•0 comments

Construction Starts on JetZero's Greensboro Assembly Site – Aviation Week

https://aviationweek.com/aerospace/manufacturing-supply-chain/construction-starts-jetzeros-greens...
2•rbanffy•37m ago•0 comments

Show HN: Private Markets SEC Filings Index

https://search.stillhousedata.com
3•lemonlym•39m ago•0 comments

Mozilla Added Google Play Integrity to Firefox for Android

https://bugzilla.mozilla.org/show_bug.cgi?id=2046154
6•summm•39m ago•0 comments

A Corner on a Country Road

https://worldsensorium.com/a-corner-on-a-country-road/
2•dnetesn•41m ago•0 comments

Andrew Ng ships Open CoWorker desktop AI agent

https://github.com/andrewyng/aisuite
4•Gaishan•42m ago•1 comments

Synaxi-predict: I'm trying to predict token cost before it happens

https://github.com/BeadW/synaxi-predict
1•beadw•42m ago•1 comments

Firefox 152 understands 'Sssh!'

https://www.theregister.com/software/2026/06/16/firefox-152-understands-sssh/5256390
4•Bender•42m ago•0 comments