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.

Beating every possible game of Pokemon Platinum at the same time [video]

https://www.youtube.com/watch?v=jNMWkD5VsZ8
1•Imustaskforhelp•58s ago•0 comments

This Week in Plasma: Audio Recording in Spectacle

https://blogs.kde.org/2026/07/11/this-week-in-plasma-audio-recording-in-spectacle/
1•HieronymusBosch•9m ago•0 comments

The allergy culprit histamine also boosts our memory

https://www.newscientist.com/article/2533166-the-allergy-culprit-histamine-also-boosts-our-memory/
1•XzetaU8•13m ago•0 comments

Java local AI client and MCP orchestrator without the Python dependency hell

https://ypipe.com/
1•ruoku•24m ago•0 comments

Ask HN: How are you controlling Token Costs?

1•jainojas•30m ago•0 comments

MuseAir hash: new fastest high-quality portable hashing algorithm

https://github.com/eternal-io/museair
1•eternal-io•34m ago•0 comments

SAP concedes to EU, freeing CIOs from expensive support shackles

https://www.cio.com/article/4195520/sap-concedes-to-eu-freeing-cios-from-expensive-support-shackl...
2•thibautg•35m ago•0 comments

Europe's slow electrification is a 'major mistake', warns IEA chief

https://www.ft.com/content/fbeb7df0-41fb-4981-8d78-01c7a95d3ed6
2•JumpCrisscross•37m ago•0 comments

Making a Contribution: The Story of EBR-II [video]

https://www.youtube.com/watch?v=Xf7OtFIA6LY
1•mpweiher•40m ago•0 comments

HuggingNews

https://huggingnews.com/
1•ilreb•41m ago•0 comments

Decommissioning the original Model S and X assembly line in just 46 days

https://twitter.com/gigafactories/status/2075636160508866562
1•simonebrunozzi•43m ago•0 comments

What's the best way to do authentication in modern applications

https://neciudan.dev/most-secure-way-to-store-auth-token
3•freediver•45m ago•0 comments

Open source retro futuristic pi camera

https://old.reddit.com/r/raspberry_pi/comments/1urysi6/four_months_ago_i_showed_my_retrofuturisti...
2•ludkiller•53m ago•2 comments

Show HN: KRNL – a quieter browser for the essence of the web

1•keepamovin•55m ago•0 comments

Create high-converting AI UGC ads in minutes

https://aiugcads.net/
1•mrguo•56m ago•0 comments

Show HN: Krbn, a pencil-style 3D renderer with SVG output

https://github.com/vpalos/Krbn
2•vpalos•1h ago•0 comments

The Metaphysics (350 BCE)

https://classics.mit.edu/Aristotle/metaphysics.1.i.html
1•andsoitis•1h ago•0 comments

Meta Deletes Face-Recognition System from Smart Glasses App After Wired Report

https://www.wired.com/story/meta-removes-face-recognition-code-meta-ai-app-smart-glasses/
1•1vuio0pswjnm7•1h ago•0 comments

Hasharot – Control a Claude Code agent on your machine from Telegram

https://github.com/Mamasodikov/hasharot
1•mamasodikov•1h ago•0 comments

Why Rodents Can't Throw Up, in Case You Were Wondering

https://www.smithsonianmag.com/smart-news/why-rodents-cant-throw-up-in-case-you-were-wondering-25...
1•thunderbong•1h ago•1 comments

Show HN: isitsecure - 1-command SAST & DAST & LLM security scanner for web apps

https://github.com/jaurakunal/isitsecure
2•kunaljaura•1h ago•0 comments

The Conversation We're Not Having About AI in Peer Review

https://cabird.com/ide/posts/ai-in-peer-review
1•azhenley•1h ago•0 comments

Why is (the word game) Lingo 'lightning in a bottle'? (2026)

https://icely.neocities.org/articles/lingo-lightning-in-a-bottle
1•icely•1h ago•0 comments

Parents' Phone Addiction Affects Bond with Kids, New Study Finds

https://www.bloomberg.com/news/articles/2026-07-08/parents-phone-addiction-affects-bond-with-kids...
1•1vuio0pswjnm7•1h ago•0 comments

Show HN: River Rescue – Game mechanic for 3yo

https://www.pip.quest/
1•satellite2•1h ago•2 comments

Crypto Criminal Accused of Crypto Crimes Again, While in Jail

https://www.bloomberg.com/news/articles/2026-07-09/crypto-criminal-accused-of-crypto-crimes-again...
1•1vuio0pswjnm7•1h ago•0 comments

Self-replicating spacecraft, a.k.a. von Neumann probes

https://en.wikipedia.org/wiki/Self-replicating_spacecraft
1•gurjeet•1h ago•0 comments

Depone – Delete legacy require_once with proof, not guesswork

https://github.com/lll-lll-lll-lll/depone
2•www_lll•1h ago•0 comments

AI Limit, Social Divide

https://valand.dev/blog/post/ai-limit-divide
1•valand•1h ago•0 comments

Nectar: A programming language that compiles to WebAssembly

https://github.com/HibiscusConsulting/nectar-lang
2•handfuloflight•1h ago•0 comments