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.

Trump announces a deal with Iran has been reached [video]

https://www.youtube.com/watch?v=-FWZLUs-hSQ
2•Bender•1m ago•0 comments

OpenAI Partner Network

https://openai.com/index/introducing-openai-partner-network/
2•ilreb•1m ago•0 comments

21 years and counting of 'eight fallacies of distributed computing' (2025)

https://blog.apnic.net/2025/12/08/21-years-and-counting-of-eight-fallacies-of-distributed-computing/
1•teleforce•3m ago•0 comments

The Agentic Development Lifecycle

https://www.voodootikigod.com/series/adlc
3•voodootikigod•8m ago•0 comments

Data Brokers: Unregulated Forensic Analysis

https://nooneshappy.com/article/data-brokers-unregulated-forensic-analysis/
1•njrc•10m ago•0 comments

The Joys of NMAP (2011)

https://theserpent.co.uk/posts/the-joys-of-nmap/
1•Eridanus2•11m ago•1 comments

Cosmos Claw: Hack on a Boat in SF (Nvidia Cosmos Based Social Media Manager)

https://github.com/manas15/cosmos-claw
1•manas95•12m ago•0 comments

Neurophos OPU

https://www.neurophos.com
1•peter_d_sherman•19m ago•0 comments

Show HN: My developer portfolio – web apps, dev tools and open-source projects

https://p32929.github.io
1•heliskyr2•20m ago•0 comments

Re-Reading Who Moved My Cheese

https://thuva4.com/blog/re-reading-who-moved-my-cheese/
1•thuva4•21m ago•0 comments

Show HN: Coding agent with algebraic memory (VSA) instead of RAG

https://github.com/vitaliyfedotovpro-art/raidho
2•astrumverum•25m ago•0 comments

ENS Domains .eth .box

https://ens.domains
1•modinfo•30m ago•0 comments

Show HN: Wtdb – give every Git worktree its own database

https://github.com/willhackett/wtdb
1•whh•35m ago•0 comments

Water Fluoridation in Australia

https://en.wikipedia.org/wiki/Water_fluoridation_in_Australia
1•nomilk•36m ago•0 comments

Tlbic: A shared prompt for humanity and the future of ASI

1•michikawa59•42m ago•0 comments

Mike Stonebraker: Disagreeing with Google, Postgres and Future Problems [video]

https://www.youtube.com/watch?v=YPObBOwIrHk
1•teleforce•42m ago•0 comments

Oracle Cloud might start charing for their forever-free instances

https://old.reddit.com/r/oraclecloud/comments/1u4lzkk/new_free_tier_limits_confirmed_by_oracle_su...
2•bel8•47m ago•1 comments

Show HN: A-C Coupling – Deterministic Data Decomposition in O(n) with No Search

https://zenodo.org/records/20693980
2•A19dammer91•47m ago•0 comments

From Hookswitch to Grave

https://computer.rip/2026-06-14-hookswitch-to-grave.html
1•K7PJP•47m ago•0 comments

Terminal UIs Are an Abomination. AI Needs Better UX

https://medium.com/@balajibal/terminal-uis-are-an-abomination-so-are-chatbots-ai-needs-better-ux-...
2•rafaepta•48m ago•1 comments

Image Toolbox (T8RIN)

https://github.com/T8RIN/ImageToolbox/
2•unexpectedVCR•50m ago•1 comments

People quit because reality doesn't match the movie they created in their heads

https://timesofindia.indiatimes.com/technology/tech-news/quote-of-the-day-by-nvidia-ceo-jensen-hu...
2•teleforce•51m ago•1 comments

How Nvidia Dominates AI:11 Engineering Moves [video]

https://www.youtube.com/watch?v=vzM8mv1t_zM
2•skpothana•59m ago•0 comments

US and Iran announce deal to end military operations

https://www.bbc.com/news/live/cj0grpyg4v1t
45•vermilingua•1h ago•112 comments

Show HN: ItchCord – Discord Rich Presence for itch.io games

https://itchcord.vrma.dev
1•shredswap•1h ago•0 comments

Show HN: Morning Stack finds real job openings, tweaks resume and cover letter

https://morningstack.app/demo/
2•hillj23•1h ago•1 comments

Formal Methods and the Future of Programming

https://blog.janestreet.com/formal-methods-at-jane-street-index/
2•dcre•1h ago•1 comments

Show HN: Grade your growth rate using Paul Graham's two-number math

https://www.brutal-audit.com/growth
1•smakosh•1h ago•0 comments

Telescope Rancher Who Manages Telescopes Each Night on a Texas Ranch

https://www.techeblog.com/telescope-rancher-texas-ranch/
2•mhb•1h ago•0 comments

Your ePub Is Fine. Kobo Disagrees. Blame Adobe

https://andreklein.net/your-epub-is-fine-kobo-disagrees-blame-adobe/
59•sohkamyung•1h ago•16 comments