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: Repotruck – Mirror and organize GitHub repos with a TUI and MCP server

https://sametcn99.github.io/repotruck/
1•sametcn99•42s ago•0 comments

Reset Email Passwords on Dreamhost

https://www.dreamhoststatus.com/pages/575f0f606826303142000510
1•kenrose•1m ago•0 comments

AI use leads UC Berkeley math professor to see 'no point' in grading homework

https://www.dailycal.org/news/campus/academics/ai-use-leads-uc-berkeley-math-professor-to-see-no-...
1•romanhn•1m ago•0 comments

VerusCite's false positive rate is under 1%

https://veruscite.com/blog/veruscite-false-positive-rate
1•apwheele•2m ago•0 comments

JetBrains Thinkrail

https://github.com/JetBrains/thinkrail
1•hmokiguess•2m ago•0 comments

Systemd merges support for programs written in Rust

https://github.com/systemd/systemd/pull/44324
1•acossta•3m ago•0 comments

Dreamhost: Investigating an incident affecting File Manager and Webmail

https://www.dreamhoststatus.com/pages/incident/575f0f606826303142000510/6adbcf944b61a805acedb4cd
2•8ig8•3m ago•0 comments

End of an era? How the Hermes Birkin bag is losing its scarcity appeal

https://www.reuters.com/business/retail-consumer/end-an-era-how-hermes-birkin-bag-is-losing-its-s...
1•cwwc•4m ago•0 comments

Scam Alert: Fake Captcha Prompts Users to Run Commands

https://www.umass.edu/it/news/scam-alert-fake-captcha-prompts-users-run-commands
1•thunderbong•4m ago•0 comments

Is Anybody Out There? Art in the Post-AI Era

https://programmingattack.com/articles/is-anybody-out-there-art-in-the-post-ai-era/
1•caranea•5m ago•0 comments

How I Work with Agents

https://twitter.com/thorstenball/status/2114386050638336082
1•tosh•5m ago•0 comments

Ford Patents Idea That Lets Parked Cars Autonomously Flee Danger

https://www.caranddriver.com/news/a74232385/ford-autonomous-anti-theft-patent-application/
1•RickJWagner•5m ago•0 comments

Everything you should know about certificates and PKI but are too afraid to ask

https://smallstep.com/blog/everything-pki/
1•rramadass•6m ago•0 comments

Bentley's Kyiv deadlership among the strongest, despite the war

https://www.autonext.co/news/bentley-kyiv-among-the-world-s-best-dealerships-despite-the-war
2•nephihaha•7m ago•0 comments

Low Birthrates in England Could Lead to 'Closure of 800 Primary Schools by 2029'

https://www.theguardian.com/education/2025/sep/25/low-birthrates-in-england-could-lead-to-closure...
1•karakoram•7m ago•0 comments

Anthropic Sued for Stealing Elvis Presley Music to Train AI

https://www.billboard.com/pro/elvis-presley-estate-sues-suno-anthropic/
1•01-_-•7m ago•0 comments

Bbtree: Fastest Concurrent Ordered Map

https://github.com/XiangpengHao/bbtree
1•vpj•9m ago•0 comments

Far, Far Away – Making a home on the most remote inhabited island

https://www.nytimes.com/2026/10/25/world/africa/tristan-da-cunha-island.html
2•anyonecancode•10m ago•1 comments

Product Backlog Refinement Agent – Useful or Risk?

https://age-of-product.com/product-backlog-refinement-agent/
1•swolpers•12m ago•0 comments

Vibe Coding for Free: What $0 Gets You in 2026

https://codingplans.dev/briefs/vibe-coding-for-free/
1•nedsma•14m ago•0 comments

Neuron Explorer for Qwen 4B

https://github.com/lyramakesmusic/neuron-explorer
1•vpj•17m ago•0 comments

What the Specification Did Not Say: Gaps in Test-Graded Coding-Agent Benchmarks

https://arxiv.org/abs/2610.30635
1•mehdizare•20m ago•0 comments

Show HN: QualityLayer, put the engineer back in the loop of your coding agent

https://qualitylayer.dev/
1•rittermax•21m ago•0 comments

A hacky f*d up way to portably access errno from outside of C

https://sebsite.pw/w/20260925-errno.html
1•dverlaeckt80•21m ago•0 comments

Multiplayer System in C Supports 50k Players at 60Hz on a Single Server

https://www.youtube.com/watch?v=imG2Tt_KOj4
1•birdculture•22m ago•0 comments

US Households Pay 62% More for Water Than They Did a Decade Ago, Study Finds

https://www.theguardian.com/us-news/2026/oct/06/households-drinking-water-cost-study
2•karakoram•22m ago•0 comments

Show HN: I replaced tmux with sway workspaces

https://github.com/artemave/hop
1•artemave•22m ago•1 comments

The Hibernate Origin Story (Outsider Edition)

https://fishbowl.pastiche.org/2026/10/23/hibernate-origin-story
1•dverlaeckt80•22m ago•0 comments

Rewriting Excel, PowerPoint, and Word for Agents

https://getcompound.ai/blog/rewriting-excel-powerpoint-and-word-for-agents
2•peterjliu•23m ago•0 comments

The 'else' keyword is probably a literal translation from German (2020)

https://github.com/e-n-f/if-then-else/blob/master/if-then-else.md
1•theanonymousone•23m ago•0 comments