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•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.

A healthier gut may be key to cancer care

https://lite.cnn.com/2026/06/05/health/gut-microbiome-immunity-cancer-ghrc
1•Bender•34s ago•0 comments

The largest cannabis study ever: It may make anxiety, depression and PTSD worse

https://thesciverse.org/the-largest-cannabis-study-ever-conducted-found-no-evidence-it-helps-anxi...
2•RickJWagner•1m ago•0 comments

pg_durable: Microsoft open sources in-database durable execution

https://github.com/microsoft/pg_durable
2•coffeemug•1m ago•0 comments

Machine-verified proof that M3P ∈ P and P = NP via Pedigree Polytopes

https://github.com/TiruArt/Pedigree-Polytopes-Lean4
2•carlsverre•1m ago•0 comments

Public transport network partially shut–down bosses forgot to pay internet bill

https://www.dailymail.com/news/article-15876799/san-francisco-bart-shutdown-clipper-internet-bill...
1•Bender•2m ago•1 comments

Here's why I created a travel website for robots

https://alexpanetta.substack.com/p/heres-why-i-created-a-travel-website
1•throw0101a•4m ago•0 comments

Tips to get the most out of OpenCode

https://byandrev.dev/en/blog/10-best-practices-for-opencode
1•mcormik•5m ago•0 comments

Flood of AI 'garbage' is pushing open-source developers to the limit

https://www.newscientist.com/article/2527761-flood-of-ai-garbage-is-pushing-open-source-developer...
1•mattsparkes•6m ago•1 comments

Configuration flags are where software goes to rot

https://00f.net/2026/04/11/config-flags/
2•birdculture•8m ago•0 comments

CrankGPT: A human-powered local and private AI solution

https://crankgpt.com/
3•_ihaque•9m ago•0 comments

Show HN: Group of Death – WorldCup bracket predictor with shareable URLs

https://groupofdeath.gg/
2•sparc24•9m ago•0 comments

FeOS: A 16-Bit OS Written in ASM (and a custom language)

https://github.com/anhumandev/feos
1•anhuman•10m ago•1 comments

Neural-somatic simulations of history's greatest minds

https://www.opendria.com/
1•opendria•11m ago•0 comments

Understanding why autism symptoms sometimes improve amid fever

https://news.mit.edu/2024/understanding-why-autism-symptoms-sometimes-improve-amid-fever-0523
3•thunderbong•11m ago•0 comments

</> Htmx – Code is Cheap(er)

https://htmx.org/essays/code-is-cheap/
4•leephillips•14m ago•0 comments

The circus freaks of open source

https://drewdevault.com/blog/Circus-freaks-of-FOSS/
2•Tomte•15m ago•0 comments

The round-the-world escape from Pearl Harbor

https://signoregalilei.com/2026/05/17/the-round-the-world-escape-from-pearl-harbor/
1•surprisetalk•15m ago•0 comments

SignalScout

https://signalscout.be
2•AIGENIZE•16m ago•0 comments

My thoughts on the "focusgroup" attribute proposal

https://www.stevefrenzel.dev/posts/my-thoughts-on-the-focusgroup-attribute-proposal/
1•speckx•20m ago•0 comments

A curated list of AI for developers

https://github.com/ai-for-developers/awesome-ai-coding-tools
2•dariubs•21m ago•0 comments

Stop Using Conventional Commits

https://sumnerevans.com/posts/software-engineering/stop-using-conventional-commits/
13•jsve•21m ago•2 comments

Federal audit reveals NIST's NVD is plagued by poor planning and duplication

https://cyberscoop.com/nist-nvd-audit-mismanagement-duplication/
2•u1hcw9nx•22m ago•0 comments

AI investment 2nd round, from GPU to power·industrial goods·space

https://www.ooooo.law/board/9?lang=en
1•haebom•24m ago•0 comments

What Dot.com Bandwidth Taught Me About the AI Token Cost Panic

https://www.axamy.com/blog/bandwidth-tokens
1•jhonovich•25m ago•1 comments

MCemm a GEMM (General Matrix Multiply) Kernel Generato

1•Okerew•25m ago•0 comments

Clean City Law: Secrets of SãO Paulo Uncovered by Outdoor Advertising Ban

https://99percentinvisible.org/article/clean-city-law-secrets-sao-paulo-uncovered-outdoor-adverti...
1•chistev•26m ago•0 comments

Agentic communication protocol – why A2A sucks

https://asimovaddendum.substack.com/p/agents-need-a-public-square
1•ilan_s•27m ago•1 comments

The cognitive benefit of a window view

https://www.sciencedirect.com/science/article/pii/S0167268125004755
1•PaulHoule•27m ago•0 comments

Leak Reveals Microsoft Wants Its AI to Be 'Addictive'

https://kotaku.com/microsoft-ai-scout-addictive-satya-nadella-404-media-copilot-2000702924
7•thm•28m ago•0 comments

Justices validate SEC's use of disgorgement in securities enforcement

https://www.scotusblog.com/2026/06/justices-validate-secs-use-of-disgorgement-in-securities-enfor...
3•jawns•28m ago•0 comments