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.

You Might Be a Late Bloomer

https://www.theatlantic.com/ideas/archive/2024/06/successs-late-bloomers-motivation/678798/
1•jaynate•1m ago•0 comments

Oodle Keeps Observability Fast at Scale

https://blog.oodle.ai/how-oodle-keeps-observability-fast-at-scale/
1•ankitg12•2m ago•0 comments

CNN investigates Iran rebuilding nuclear facilities

https://www.cnn.com/2026/07/10/world/video/investigates-polglase-iran-nuclear-sat-imagery
1•spwa4•3m ago•0 comments

Show HN: I used Claude to make some free fun pet-themed browser arcade games

https://whatpetshouldiget.com/play.html
1•scamdrill•8m ago•0 comments

Evaluating the impact of two decades of USAID intervention

https://www.thelancet.com/action/showPdf?pii=S0140-6736%2825%2901186-9
2•Topfi•8m ago•0 comments

How the Bayeux Tapestry broke the internet

https://spectator.com/article/how-the-bayeux-tapestry-broke-the-internet/
1•thinkingemote•8m ago•0 comments

Laguna XS 2.1 33B on a RTX 3090: 296 tok/s peak, 152 tok/s at 256K context

https://www.lucebox.com/blog/laguna-xs21
1•GreenGames•9m ago•0 comments

Show HN: Check your RAG agent's literal groundedness with verbatimeter

https://pypi.org/project/verbatimeter/
1•pobonin•12m ago•0 comments

List of OpenAI Whisper Checkpoints Variants

https://blog.sparsh.dev/list-openai-whisper-checkpoints-variants/
1•sparshrestha•17m ago•1 comments

Lobster Is Migrating to SQLite

https://github.com/lobsters/lobsters/pull/1927
1•maxloh•18m ago•0 comments

San Francisco Inches Closer to PG&E Acquisition

https://www.kqed.org/news/12090521/san-francisco-inches-closer-to-pge-acquisition
1•rdoherty•18m ago•0 comments

Show HN: SignalPosts – turns sales call transcripts into LinkedIn posts

https://www.signalposts.com
1•mistaflu•19m ago•0 comments

'Ghostcommit' hides prompt injection in images to fool AI agents, steal secrets

https://www.bleepingcomputer.com/news/security/ghostcommit-hides-prompt-injection-in-images-to-fo...
1•Brajeshwar•19m ago•0 comments

Show HN: Agent World – an open standard and live market for personal AI agents

https://github.com/macrokit/agent-world
1•spriterock•20m ago•0 comments

Disappearing Polymorph

https://en.wikipedia.org/wiki/Disappearing_polymorph
1•hliyan•20m ago•0 comments

Spacetime as a discrete computational NavMesh: Deriving a 0.8723as universal r.r

https://zenodo.org/records/21273378
1•TomerHaimovich•20m ago•0 comments

Google deleting all recently inactive accounts without phone number

4•superkuh•22m ago•2 comments

Can we reconstruct a tokenizer using only two oracles from the chat API?

https://old.reddit.com/r/LocalLLaMA/comments/1utc5b9/can_we_reconstruct_a_closedsource_llm_tokeni...
1•bayes-song•22m ago•1 comments

Show HN: TargetBridge – Use an Intel iMac as a Thunderbolt Display Apple Macs

https://github.com/swellweb/targetBridge
1•targetbridge•22m ago•0 comments

Fixed-Point Combinator

https://en.wikipedia.org/wiki/Fixed-point_combinator
3•tosh•28m ago•0 comments

Deep dive into iroh, a peer-to-peer communication layer for your application

https://kerkour.com/iroh-v1-p2p
8•cold_pizz4•28m ago•1 comments

Is Life Just Different?

https://www.quantamagazine.org/is-life-just-different-20260708/
1•snorbleck•29m ago•0 comments

Religion: Meanings of Marx' "Opium of the People" [video]

https://www.youtube.com/watch?v=C14q4DOVFno
2•penguin_booze•31m ago•0 comments

Cuelume – Tiny interaction sounds that make interfaces feel alive

https://cuelume-site.pages.dev/
2•lumannnn•35m ago•0 comments

Fdisk and the Importance of Sleep

https://parlaiment.bearblog.dev/fdisk-and-the-importance-of-sleep/
1•vonargo•35m ago•0 comments

LingBot-World 2.0: Open-source world model with hour-long interactive generation

https://github.com/Robbyant/lingbot-world-v2
1•Kajaking•36m ago•0 comments

Rebuilding My Homelab with Compose, Ruby, IPv6, and No Kubernetes

https://www.petekeen.net/homelab-resolved/
2•zrail•38m ago•1 comments

Apple sues OpenAI over mass IP theft

https://appleinsider.com/articles/26/07/10/apple-sues-openai-previous-vp-of-product-design-over-m...
3•kristianpaul•41m ago•1 comments

Show HN: I turned my quote collection into a walkable 3D library (desktop-only)

https://jakubhalmes.com/library/
2•jac08h•42m ago•2 comments

The Mind-Bending Company That Gets a Million Job Applications–and Rejects 99.9%

https://www.wsj.com/business/bending-spoons-jobs-hiring-stock-eaed2b8e
2•fortran77•43m ago•1 comments