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.

Short sellers notch $15.5B profit as SpaceX shares slip -Ortex

https://www.reuters.com/business/media-telecom/short-sellers-notch-155-bln-profit-spacex-shares-s...
2•1vuio0pswjnm7•55s ago•0 comments

Securing Services with Rootless Containers

https://blog.coderspirit.xyz/blog/2026/07/06/securing-services-with-rootless-containers/
1•speckx•1m ago•0 comments

Google hit with $1B EU fine, in 'constructive' talks to avoid more penalties

https://www.reuters.com/world/google-hit-with-1-billion-eu-fine-first-under-landmark-rules-2026-0...
1•1vuio0pswjnm7•1m ago•0 comments

Water exposed to air plasma increases plant biomass by 75% [video]

https://www.youtube.com/watch?v=brfSLxoHUps
1•simonjgreen•2m ago•0 comments

Buying an ETL Tool? Here's the Ultimate Guide to Making the Right Choice

https://hevodata.com/data-builders-newsletter/buying-an-etl-tool/
1•MetricHub•2m ago•0 comments

Ray tracing massive amounts of animated geometry using tetrahedral cages

https://gpuopen.com/learn/ray-tracing-massive-amounts-animated-geometry/
1•LorenDB•2m ago•0 comments

Alphabet's cash burn raises alarm for Big Tech as AI spending climbs

https://www.reuters.com/business/retail-consumer/alphabets-cash-burn-raises-alarm-big-tech-ai-spe...
4•1vuio0pswjnm7•2m ago•0 comments

I asked 6 LLMs to design 100 software systems

https://opinion-radar.com/o/the-llm-stack-census-9f02ee?lang=en
1•mat6661•2m ago•0 comments

Glue bonds to nonstick surfaces and wipes clean with ethanol

https://cen.acs.org/materials/adhesives/glue-bonds-nonstick-surfaces-wipes-clean/104/web/2026/07
2•gmays•3m ago•0 comments

The AI Con

https://www.penguin.co.uk/books/468070/the-ai-con-by-hanna-emily-m-bender-and-alex/9781529949902
2•BodyCulture•5m ago•0 comments

Proxying inference requests in 6ms with Pingora, Envoy, and Spanner

https://modal.com/blog/serverless-servers
1•birdculture•6m ago•0 comments

Invoice PDFs in the browser, and the CJK font rabbit hole it took

https://invoices-generator.net/
1•xty_hello•6m ago•0 comments

Industrialism and the Slippery Slope

https://seths.blog/2026/07/authenticity-vs-the-slippery-slope/
1•herbertl•8m ago•0 comments

Codey – A multi-agent workbench for Claude Code, Codex and OpenCode

https://github.com/its-ahoh/codey
1•ahoh_tech•8m ago•0 comments

DeepSeek Liang Wenfeng Investor Meeting – Audio to Text Transcript [pdf]

https://github.com/demo-zexuan/liang-wenfeng-investor-meeting-2026-7-22/blob/master/%E6%A2%81%E6%...
1•chewz•8m ago•0 comments

The case of the slow-to-get-going Ethernet port

https://blog.yuo.be/2026/02/22/the-case-of-the-slow-to-get-going-ethernet-port/
1•speckx•10m ago•0 comments

AMD to launch next generation of AI infrastructure to challenge Nvidia

https://www.reuters.com/business/amd-expected-launch-next-generation-ai-infrastructure-challenge-...
1•VWWHFSfQ•11m ago•0 comments

But what is cross-entropy? – Compression is Intelligence Part 2 [video]

https://www.youtube.com/watch?v=GlYgs6v2YfU
1•surprisetalk•11m ago•0 comments

OpenAI and Anthropic unite against open-weight AI risks to their bottom line

https://www.axios.com/2026/07/22/openai-anthropic-open-models-trump-china
4•yogthos•12m ago•2 comments

Orcas filmed ramming one of the heaviest fish so hard it explodes

https://phys.org/news/2026-07-orcas-ramming-world-heaviest-fish.html
1•pseudolus•13m ago•0 comments

The Usefulness of Useless Knowledge (1939) [pdf]

https://faculty.lsu.edu/kharms/files/flexner_1939.pdf
2•jxmorris12•14m ago•0 comments

When Security Means Asking Permission

https://kryptprivacy.com/articles/when-security-means-asking-permission.html
1•clausemint•14m ago•0 comments

OpenAI Model Hacks into HuggingFace During Cybersecurity Evaluation

https://thezvi.substack.com/p/openai-model-hacks-into-huggingface
1•pseudolus•15m ago•1 comments

A Simple Website Blocker

https://orgnizedmess.net/simple-website-blocker.html
1•speckx•16m ago•0 comments

SharedRoot; Escaping the Claude Cowork Sandbox

https://accomplish.ai/blog/sharedroot-escaping-claude-cowork-sandbox/
5•aviramha•18m ago•0 comments

Spotify Desktop app includes a command line tool

https://blogarc.millionpieces.nl/2026/07/spotify-cli/
1•gvenk•18m ago•0 comments

Show HN: DrillFlow – a diagram editor where every node opens into a sub-diagram

https://drillflow.de/de/
2•capydev42•21m ago•0 comments

Qwen-Audio-3.0-TTS

https://funaudiollm.github.io/qwen-audio-3.0-tts/
1•ai2027•22m ago•0 comments

Self-host your mail server

https://blog.haschek.at/2026/you-should-selfhost-your-mail.html
4•geek_at•23m ago•2 comments

TeamAPI: Org as Code

https://github.com/JGalego/TeamAPI
1•jgalego•25m ago•0 comments