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.

We Were Sofa

http://madebysofa.com/
1•Bluestein•34s ago•0 comments

Show HN: Guided sentence diagramming to practice grammar

https://adamsohn.com/grammar/
1•dataviz1000•37s ago•0 comments

The Movies That Make You Feel the Strangeness of AI

https://twitter.com/jmugan/status/2094533961896931562
1•jmugan•43s ago•0 comments

Hamas and the Future of Gaza (With Ahmed Fouad Alkhatib)

https://www.econtalk.org/hamas-and-the-future-of-gaza-with-ahmed-fouad-alkhatib/
1•7402•1m ago•0 comments

We configured OpenTelemetry logs in Rails

https://www.sixpatterns.com/blog/how-we-configured-opentelemetry-logs-in-rails
1•__vivek•2m ago•0 comments

Is Starlink a secret radar constellation?

https://how-radar-sees.pages.dev/
1•grinich•2m ago•0 comments

Price Tag Art Software

https://ade3.substack.com/p/code-release-price-tag-art-software
1•Cerchie•3m ago•0 comments

Social Policy Builds Financial Markets

https://economicsociology.org/2026/08/28/how-social-policy-builds-financial-markets/
1•kome•3m ago•0 comments

Google Has Removed MV2 Extensions from the Chrome Web Store, Including UBO

https://webiterate.dev/google-removed-extensions-ublock-origin-108/
1•twapi•3m ago•0 comments

Existentialism: People Must Create Their Own Purpose

https://blog.nathanlangley.dev/posts/existentialism.html
1•ninjahawk1•3m ago•0 comments

Kalshi dishes out its first-ever lifetime ban to George Santos

https://www.engadget.com/2247629/kalshi-dishes-out-its-first-ever-lifetime-ban-to-george-santos/
2•andrewjneumann•4m ago•0 comments

The Shape and Feel of the Post-AI Data Stack

https://www.iandmacomber.com/blog/post-ai-data-stack/
1•_peregrine_•4m ago•0 comments

The Fate of the Riemann Hypothesis [pdf]

https://www.math.brown.edu/reschwar/Stories/AI.pdf
1•unprovable•6m ago•0 comments

The Ramulator-Gate Debate

https://memory.bsc.es/ramulator-gate
1•iAPX-432•7m ago•0 comments

Show HN: Open Agent Forum – a signed public square for agents

https://openagentforum.com/
1•novalis78•7m ago•0 comments

There's a libcurl.dll in my System32

https://daniel.haxx.se/blog/2026/08/17/theres-a-libcurl-dll-in-my-system32/
2•theanonymousone•7m ago•0 comments

Show HN: IDE – 2D Canvas for Agents

https://github.com/alpbahadur/49-IDE
1•myradism•8m ago•1 comments

Staying Ahead of Adversarial AI Through Agentic Source Code Review

https://cloud.google.com/blog/topics/threat-intelligence/staying-ahead-of-adversarial-ai-through-...
1•wslh•10m ago•0 comments

Why duplicates plague CDC pipelines and how to root them out (2025)

https://blog.sequinstream.com/why-duplicates-plague-cdc-pipelines-and-how-to-root-them-out/
1•blueshoess•11m ago•0 comments

Anne Rice

https://en.wikipedia.org/wiki/Anne_Rice
1•davedx•12m ago•1 comments

Everything You Copy, Ready When You Need It

https://medium.com/@chris.ahrweiler/everything-you-copy-ready-when-you-need-it-3ebfe9739b85
1•docjojo•14m ago•0 comments

You Probably Don't Get Why Stripe Bought OpenRouter

https://www.amppublic.com/research/openrouter
1•gmays•14m ago•0 comments

I attended a conference recently and AI use by academics was absurd

https://lobste.rs/s/qn7jtv/i_attended_conference_recently_ai_use_by
2•htk•14m ago•0 comments

Apple Human Interface Guidelines, et al.

https://github.com/gingerbeardman/apple-human-interface-guidelines
1•handfuloflight•15m ago•0 comments

Gently down the stream – An introduction to Apache Kakfa

https://www.gentlydownthe.stream/
1•adithyasrin•17m ago•1 comments

Blockchain und Bitcoin erklärt in 6 Episoden – Episode 2

https://medium.com/@chris.ahrweiler/blockchain-und-bitcoin-erkl%C3%A4rt-in-6-episoden-episode-2-2...
1•docjojo•18m ago•0 comments

Show: Free Dicom Viewer

https://hounsfield.vercel.app
2•jzeger•19m ago•0 comments

Show HN: Markdown Viewer and Editor

https://kingsbridge-consultancy.com/md-viewer/
2•beerglass•19m ago•0 comments

Tubeviz – automatically edit YouTube footage to music

https://github.com/interrupt21h/tubeviz
2•int0x21•20m ago•0 comments

AIxCC: Competition Design, Architectures, and Lessons Learned

https://arxiv.org/abs/2602.07666
2•wslh•20m ago•0 comments