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: Pg_stat_ch, a Postgres extension to export every metric to ClickHouse

https://github.com/ClickHouse/pg_stat_ch
1•saisrirampur•3m ago•0 comments

WezTerm Config Guide

https://gilbertsanchez.com/posts/my-terminal-wezterm/
1•ankitg12•3m ago•0 comments

Stack Overflow for Agents

https://stackoverflow.blog/2026/06/10/announcing-stack-overflow-for-agents/
1•taubek•5m ago•0 comments

LaunchRanks – Get actionable SEO steps for growing site authority

https://launchranks.com
1•NataliNy•12m ago•0 comments

Show HN: Record a click-through demo from a Markdown plan into one HTML file

https://github.com/justrinari/handoff
3•justrinari•13m ago•0 comments

Show HN: I built an AI that roasts GitHub profiles

https://gitroast-kappa.vercel.app/
1•hito20•16m ago•0 comments

Vision 50 Years Phone – Keeping old Android phones fast without root

https://github.com/50YearsPhone/vision-50-years-phone
1•mike5gao•16m ago•0 comments

Eve.dev: Next.js for Agents

https://eve.dev/
1•javiercr•16m ago•0 comments

Hans Moravec was right about AI

https://nymag.com/intelligencer/article/hans-moravec-interview.html
1•anath2•22m ago•0 comments

Watching Go's new garbage collector move through the heap

https://theconsensus.dev/p/2026/07/19/observing-gos-garbage-collector-old-and-new.html
1•ksec•22m ago•0 comments

GrapheneOS duress PIN could land a man in prison

https://www.androidauthority.com/grapheneos-duress-pin-us-prosecution-3691271/
1•kitd•27m ago•0 comments

The Algorithmic Atelier

https://www.doc.cc/articles/the-algorithmic-atelier
1•kaizenb•29m ago•0 comments

Operating a computer with your tongue: the Augmental MouthPad [video]

https://www.youtube.com/watch?v=xReyIF5pwRo
1•jibcage•31m ago•0 comments

'Who wants to be hired' now outnumbers 'Who is hiring'

https://ej29-r3d.github.io/hacker-news-hiring-trends/
1•Tronickle•32m ago•1 comments

Discord Must Verify Texas Users' Age Under Judge's Ruling

https://news.bloomberglaw.com/litigation/discord-must-verify-texas-users-age-under-judges-ruling
1•1vuio0pswjnm7•34m ago•0 comments

LA Social Media Trial Dismissal Leaves Landscape of Cases

https://news.bloomberglaw.com/litigation/la-social-media-trial-dismissal-leaves-vast-landscape-of...
1•1vuio0pswjnm7•37m ago•0 comments

Error Certificates for KV-Cache Eviction via Randomized Design

https://arxiv.org/abs/2607.21475
1•sbulaev•37m ago•0 comments

Show HN: Integrate any CLI agent into any terminal

https://terminai.app
2•emosenkis•38m ago•0 comments

Databrick Genie

https://www.getwren.ai/post/genie-meter-is-on-roi-of-owning-your-genbi
1•xingfu•42m ago•0 comments

Google Can't Block Ex-NPR Host Voice Suit with Copyright Shield

https://news.bloomberglaw.com/ip-law/google-cant-block-ex-npr-host-voice-suit-with-copyright-shield
1•1vuio0pswjnm7•44m ago•0 comments

Microsoft launches new in-house AI models. Cuts costs up to 89% versus OpenAI

https://venturebeat.com/infrastructure/microsoft-launches-new-in-house-ai-models-it-says-cut-cost...
2•thunderbong•44m ago•0 comments

The Two Sources of Noise Every LLM Evaluation System Must Handle

https://wilburhimself.github.io/blog/64-the-two-sources-of-noise-every-llm-evaluation-system-must...
1•wilburhimself•47m ago•0 comments

GrapheneOS protections against data extraction from locked devices

https://discuss.grapheneos.org/d/40700-grapheneos-protections-against-data-extraction-from-locked...
2•Cider9986•47m ago•0 comments

Chute – 10GB free file transfer with optional E2E encryption

https://chute.codecraftsol.org/
1•sasenb•50m ago•1 comments

Shediy

https://shediy.app/
1•gr3ggg•57m ago•0 comments

Show HN: I built a hypervisor and client for inference on consumer compute

https://scalattice.com/blog/openai-sdk-scalattice/
1•RomulusHill•1h ago•0 comments

Jedi Knight fansite has been running consistently for almost 30 years

https://www.pcgamer.com/games/action/conceived-in-a-secure-military-facility-this-jedi-knight-fan...
3•Apocryphon•1h ago•0 comments

Show HN: Hydra, a local-first trust control plane that routes AI by confidence

https://hydra.uvansa.com/
1•jhaankit373•1h ago•0 comments

Syria's ancient sites face widespread looting and systematic bulldozing

https://phys.org/news/2026-07-syria-ancient-sites-widespread-looting.html
1•mdp2021•1h ago•0 comments

Neuromancer – Official Teaser

https://www.youtube.com/watch?v=g79GPZSQHBk
6•fourampers•1h ago•1 comments