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: A browser extension to identify and rate webpages with AI contet

https://chromewebstore.google.com/detail/slopwatch-the-online-watc/nihlmmcfkabobchdpjimenhcfmaoglkj
1•HademLeFashie•1m ago•0 comments

A Theory of Contrastive Learning with Natural Images

https://arxiv.org/abs/2607.07470
2•E-Reverance•2m ago•0 comments

Google Earth Pro desktop downloads will end in 2027

https://support.google.com/earth/thread/448773864/update-on-google-earth-pro-desktop-app-download...
1•linzhangrun•8m ago•0 comments

How to Listen to a Tarantino Movie

https://hollisrobbinsanecdotal.substack.com/p/how-to-listen-to-a-tarantino-movie
1•HR01•9m ago•0 comments

The DuckDB ADBC Extension

https://columnar.tech/blog/announcing-duckdb-adbc-extension//
1•jonbaer•9m ago•0 comments

Superhero Movies Lost Their Power

https://www.statsignificant.com/p/how-superhero-movies-lost-their-power
1•jmsflknr•12m ago•0 comments

Argentina to Repay $4B, Defying Critics Who Doubted Tack

https://www.bloomberg.com/news/articles/2026-07-08/argentina-to-repay-4-billion-defying-critics-w...
1•petethomas•17m ago•0 comments

AI Stack Gap Map

https://www.currentai.org/blogs/introducing-the-gap-map-v0-1
1•colinprince•17m ago•0 comments

Together for a Healthier Clippy

https://blog.rust-lang.org/inside-rust/2026/07/06/unite-for-clippy/
2•droidjj•18m ago•0 comments

Show HN: I mapped 8.5M research papers into interactive atlas

https://tomesphere.com/atlas
1•leonickson•20m ago•0 comments

I was tired of all false claims, so I built Atelier, honest 30% saving on CC.

https://github.com/atelier-ws/atelier
1•pankaj4u4m•21m ago•1 comments

What Does a 13-Year-Old See on Snapchat in a Normal Week?

https://www.afterbabel.com/p/snapchat-recommends-harmful-content-kids-brooke-istook-2026
4•dgudkov•21m ago•1 comments

Product Shape Is the Moat

https://twitter.com/scottastevenson/status/2072336746327458178
2•gmays•24m ago•0 comments

Jellyfish Undersea Roundabout

https://visitfaroeislands.com/en/plan-your-stay/getting-around/world-first-under-sea-roundabout
1•hydrogen7800•25m ago•0 comments

Show HN: I solved biggest issue for the mainatiners of GitHub

2•RajX_dev•27m ago•0 comments

Auto compiles recorded LLM-agent behavior into verified WASM binaries

https://github.com/RightNow-AI/auto
1•mooreds•31m ago•0 comments

The AI Hype Reckoning Is Upon Us

https://karlbode.com/the-ai-hype-reckoning-is-upon-us/
3•cratermoon•33m ago•1 comments

We Mapped Rural Data Center Development – and Opposition

https://dailyyonder.com/we-mapped-rural-data-center-development-and-opposition-heres-what-we-foun...
1•cdrnsf•34m ago•0 comments

Tiiny.host: The simplest way to share your work online

https://tiiny.host/
1•thunderbong•37m ago•0 comments

Athenz vs. Spire Comparison

https://www.athenz.io/comparison.html#general
1•mooreds•38m ago•0 comments

Nobel-winning chemist leaves US to direct AI materials lab in China

https://www.nature.com/articles/d41586-026-02143-x
3•sbulaev•40m ago•1 comments

Show HN: Couldn't find a complete Codenames Generator so I make one

https://codenames-generator-bay.vercel.app/
1•tnus•42m ago•1 comments

OpenAI Launches Patch the Planet to Pay Down Open Source's Security Debt

https://zenaicorp.com/en/news/openai-patch-the-planet-open-source-security-trail-of-bits
2•zenai666•44m ago•0 comments

.38

https://www.guidavid.com/writing/38
1•gdss•44m ago•0 comments

I Think I Have LLM Burnout

https://www.alecscollon.com/blog/llm-burnout/
68•sosodev•47m ago•41 comments

Artificial Confidence: They all picked September first

https://artificialconfidence.com/p/artificial-confidence-they-all-picked
1•Corrado•47m ago•1 comments

Network Connectivity Status Indicator Overview for Windows

https://learn.microsoft.com/en-us/windows-server/networking/ncsi/ncsi-overview
1•ankitg12•48m ago•0 comments

Show HN: RepoFleet – manage issues that span multiple Git repositories

https://github.com/mehranzand/repofleet
1•mehranzand•49m ago•0 comments

Show HN: Python SDK for Content Integrity

https://github.com/lyfeninja/lyfeninja_blkseal_python_sdk
1•lyfeninja•52m ago•0 comments

Growth Marketing Jobs – growth, CRO, SEO, and performance marketing roles

https://www.growthmarketingjobs.xyz
1•hafizdhanani•53m ago•1 comments