frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•8mo ago

Comments

llm-exe•8mo 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•8mo 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.

Time Until Someone Points Out This Is Not a Real Study

https://journal-preliminary-results.fly.dev/38472951
1•ipnon•2m ago•0 comments

Agree or Disagree

https://a-or-d.lovable.app
1•Conceiver•2m ago•0 comments

Dev Logs Without the Noise (2024)

https://peterlyons.com/problog/2024/08/dev-logs-without-the-noise/
1•mooreds•2m ago•0 comments

Ruby_LLM-agents: A Rails agent framework for RubyLLM

https://github.com/adham90/ruby_llm-agents
1•thunderbong•4m ago•0 comments

The secret fast track for animal drugs (2025)

https://worksinprogress.co/issue/the-secret-fast-track-for-animal-drugs/
1•mooreds•4m ago•0 comments

Rise in Sophisticated Dark Patterns Designed to Trick and Trap Consumers (2022)

https://www.ftc.gov/news-events/news/press-releases/2022/09/ftc-report-shows-rise-sophisticated-d...
3•wslh•7m ago•0 comments

Change Blindness in UX (2018)

https://www.nngroup.com/articles/change-blindness-definition/
1•wslh•10m ago•0 comments

Rust's Standard Library on the GPU

https://www.vectorware.com/blog/rust-std-on-gpu/
1•sbt567•12m ago•0 comments

Community Pulse 2025 End of Year Wrap-Up [audio]

https://www.communitypulse.io/102-2025-wrap-up
1•mooreds•12m ago•0 comments

Every Enemy from Super Mario 64, 3D Printed [video]

https://www.youtube.com/watch?v=U6yxtHJcxAs
1•us-merul•12m ago•0 comments

StatechartX – performant state machine runtime written in Go

https://github.com/comalice/statechartx
1•all2•15m ago•1 comments

Show HN: Open-source multi-agent subtitle translator (self-hosted)

https://github.com/subtitlesdog/Subtitles.Translate.Agent
1•mrqjr•17m ago•0 comments

MIT's new 'recursive' framework lets LLMs process 10M tokens

https://venturebeat.com/orchestration/mits-new-recursive-framework-lets-llms-process-10-million-t...
1•prng2021•19m ago•0 comments

I don't like skiing in the shade, so I built a ski trail shade map

https://skishade.com
1•marcushyett•20m ago•0 comments

Tour website's AI sends visitors to Tasmanian sites that do not exist

https://www.abc.net.au/news/2026-01-22/ai-images-of-tasmania-on-tour-website/106253448
1•beatthatflight•21m ago•1 comments

198-Bit Constraint Framework: New Physics from First Principles

https://zenodo.org/records/18170177
1•More_Fee_Us•22m ago•1 comments

Trump FCC threatens to enforce equal-time rule on late-night talk shows

https://arstechnica.com/tech-policy/2026/01/trump-fcc-tries-to-get-more-republicans-on-late-night...
4•voxadam•27m ago•2 comments

NexDock is building a new Windows phone that you can buy in 2026

https://www.windowscentral.com/microsoft/windows-11/nexdock-is-building-a-new-windows-phone-that-...
4•LorenDB•27m ago•1 comments

Elizabeth Holmes asks President Donald Trump to let her out of prison early

https://www.cnn.com/2026/01/21/tech/elizabeth-holmes-theranos-trump-commute-sentence
6•g-b-r•28m ago•2 comments

Tsfresh

https://tsfresh.readthedocs.io/en/latest/
1•jonbaer•31m ago•0 comments

The Art of Craftsmanship (Monozukuri) in the Age of AI

https://rapha.land/the-art-of-craftsmanship-monozukuri-in-the-age-of-ai/
1•vinhnx•31m ago•0 comments

Myth of the Monolithic ERP: Why They Keep Failing [video]

https://www.youtube.com/watch?v=o6d94HNGV1s
1•rossdavidh•38m ago•0 comments

An A.I. Startup Says It Wants to Empower Workers, Not Replace Them

https://www.nytimes.com/2026/01/20/technology/humans-ai-anthropic-xai.html
3•bookofjoe•40m ago•2 comments

Testosterone went from prostate cancer villain to potential ally

https://theconversation.com/how-testosterone-went-from-prostate-cancer-villain-to-potential-ally-...
2•PaulHoule•42m ago•0 comments

Flashlabs releases the world’s first open-source voice cloning model

https://twitter.com/flashlabsdotai/status/2013993446047158550
3•sangwen•44m ago•2 comments

Show HN: iMessage-data-foundry – Synthetic iMessage Data Generator

https://github.com/johnlarkin1/imessage-data-foundry
2•jlarks32•46m ago•0 comments

Open4D – Open-Source 4D Geometry Processing, Compression and Streaming Library

https://github.com/SINRG-Lab/Open4D
1•hex823•48m ago•1 comments

Palantir CEO: With AI, economies won't need immigration

https://www.theregister.com/2026/01/21/palantir_ceo_karp_claims_ai/
3•abdelhousni•48m ago•1 comments

GPTZero finds 100 new hallucinations in NeurIPS 2025 accepted papers

https://gptzero.me/news/neurips/
3•dnw•48m ago•0 comments

MsgBored, Screaming into the Abyss

https://johntrager.net/projects/msg-bored/
2•jtrager•49m ago•0 comments