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: FeedTamer – Filter YouTube by word, channel, topic, or allowlist

https://thefeedtamer.com/
1•thefeedtamer•2m ago•0 comments

Ask HN: Claude Code since the last update "Held message from another session"

1•consumer451•3m ago•0 comments

The trickle-down economics of the AI boom

https://www.economist.com/finance-and-economics/2026/09/17/the-trickle-down-economics-of-the-ai-boom
1•gwintrob•4m ago•0 comments

AI Gateway Governance

https://github.com/ddruhin/ai-gateway-governance-reference-architecture
1•ddruhin•5m ago•0 comments

AI Service Indicators

https://github.com/synapticcybersecurity/ai-service-indicators
1•harryhoffman•6m ago•0 comments

Matrix Gradients, Without the Pain

https://alexwang.ai/posts/derivatives-and-gradients/
1•auraham•7m ago•0 comments

The Data Layer Is Where AI Goes to Die

https://www.druhindhavala.com/ai-governance/the-data-layer-is-where-ai-goes-to-die/
1•ddruhin•10m ago•0 comments

Putin envoy says Russia and US are discussing joint deals including data centres

https://www.reuters.com/world/dmitriev-says-russian-wealth-fund-will-work-with-us-payment-diesel-...
1•jacquesm•10m ago•0 comments

Anyone using residential proxies with AdsPower? Looking for recommendations

https://hideproxy.io/
1•MeadowMayer•19m ago•0 comments

Isle of Wight fossil sheds light on enigmatic meat-eating dinosaurs

https://www.yahoo.com/news/science/articles/isle-wight-fossil-sheds-light-231215161.html
1•gmays•23m ago•0 comments

What You Inherit

https://whatyouinherit.com/
1•hao313131•25m ago•0 comments

Plex Media Server Unauth RCE Exploit

https://twitter.com/zm_0x/status/2111138023543108005
1•zm_0x•25m ago•0 comments

Morpholog Documentation

https://deepwiki.com/jordan-dimov/morpholog/
1•a115ltd•31m ago•0 comments

Using fzf with AI coding agents

https://junegunn.github.io/fzf/tips/using-fzf-with-ai-agents/
1•junegunn•32m ago•0 comments

The Physics Behind the Roadster

https://roadster.pplx.app/
1•qainsights•36m ago•1 comments

National Smokers Alliance

https://en.wikipedia.org/wiki/National_Smokers_Alliance
1•EA-3167•37m ago•0 comments

The Bastion – Authn/Authz, traceability and auditability for SSH accesses

https://github.com/ovh/the-bastion
1•nativeit•44m ago•1 comments

It Could Be Otherwise: Science in the Age of Uncertainty

https://blue-continuum.com/it-could-have-been-otherwise
1•dnetesn•45m ago•0 comments

Android gets AI defenses against messaging scams, fake calls

https://www.bleepingcomputer.com/news/security/android-gets-ai-defenses-against-messaging-scams-f...
3•wondersky•46m ago•0 comments

Burger King Japan data breach exposes 11 million customer records

https://www.bleepingcomputer.com/news/security/burger-king-japan-data-breach-exposes-11-million-c...
6•wondersky•47m ago•1 comments

A library to stream Lichess games as GIFs

https://github.com/lichess-org/lila-gif
1•ffin•51m ago•0 comments

ESP32 iPhone Agent

https://github.com/onehumanbeing/esp32-iphone-agent
1•thebeardisred•59m ago•0 comments

The FLYING Tesla Roadster explained by the man who engineered it [video]

https://www.youtube.com/watch?v=22rvpUecLts
1•xnx•1h ago•0 comments

Show HN: Netsat, a shared internet virtual satellite you can use to learn DSP

https://netsat.space
1•Superfish57•1h ago•0 comments

StarGate medical evacuation drone by Ukrainian defense tech company

https://www.youtube.com/watch?v=r5geqnk06ps
3•boguscoder•1h ago•0 comments

Agent Cyber Sentinel: Zero-trust runtime security shield for AI agents

https://github.com/BenniAlencar/agent-cyber-sentinel
3•bennialencar•1h ago•0 comments

Maintaining Live-Service as an Indie

https://www.patreon.com/DEMONFORK/posts/maintaining-live-172578848?pr=true
1•lfkdev•1h ago•0 comments

Litex: A Formal Language as Easy to Learn as Python and LaTeX

https://litexlang.com/
1•litexlang•1h ago•1 comments

Python's binary wheels and supply chain attacks

https://rushter.com/blog/python-binary-wheels/
3•lumpa•1h ago•1 comments

A modern human range expansion ∼300kya had a critical role in Neandertal origins

https://www.biorxiv.org/content/10.64898/2026.03.11.711219v2
2•themgt•1h ago•0 comments