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.

Troubleshooting and Preventing Task Deadlocks in Apache DolphinScheduler

https://medium.com/https://medium.com/@ApacheDolphinScheduler/when-workflows-get-stuck-troublesho...
1•DSOfficial•40s ago•1 comments

Show HN: I built an agent-first productivity bridge for all your agents

https://www.taskshell.app/
1•Frederick_22xAI•1m ago•0 comments

Show HN: TCP vs. UDP speed test – real transports, no simulation

https://tcp-vs-udp.com/
1•ilyassanida•3m ago•0 comments

Simon Weckert creates Digital Camouflage shirt to avoid AI video surveillance

https://www.dezeen.com/2026/08/25/digital-camouflage-shirt-ai-video-surveillance-simon-weckert/
1•u1hcw9nx•4m ago•0 comments

Two German airport workers die of malaria after 'mosquito arrives on plane'

https://www.bbc.co.uk/news/articles/cz6zwgg9y8go
1•zeristor•4m ago•0 comments

X users are speculating that YC is funding and expanding "visa factories"

https://twitter.com/afpost/status/2092762104407204095
1•Tabular-Iceberg•6m ago•0 comments

New Twitter launches, says Musk's X gave up the name

https://arstechnica.com/tech-policy/2026/08/new-twitter-launches-says-musks-x-gave-up-the-name/
2•rajtilakjee•7m ago•0 comments

Ask HN: Why Rust?

1•luxshan_t•9m ago•0 comments

Ask HN: As a Software Dev, how do you hedge for a world where AI takes your job?

1•vcanhoto•10m ago•1 comments

SDETs Changing Tide

https://quashbugs.com/blog/state-of-test-maintenance
1•pr_khar•14m ago•0 comments

How to escape AI pilot purgatory

https://medium.com/quantumblack/escaping-ai-pilot-purgatory-from-poc-to-p-l-1216d30ec4d0
1•stichers•14m ago•0 comments

Adehun – Simplifying Legality

https://www.adehun.com
1•CodePapi_•16m ago•0 comments

Why OOP Exists

https://mathspp.com/blog/why-oop-exists
2•lumpa•17m ago•0 comments

MIT just called for an educational revolution

https://lernerpython.com/2026/08/26/mit-just-called-for-an-educational-revolution/
2•lumpa•18m ago•0 comments

West Point Climate Professor Says He Was Fired for Refusing to 'Defy Science'

https://www.nytimes.com/2026/08/26/us/politics/west-point-climate-professor-lawsuit.html
3•OutOfHere•19m ago•0 comments

Motorola's GrapheneOS phones will launch in 2027 priced higher than Pixels

https://arstechnica.com/gadgets/2026/08/motorolas-grapheneos-phones-will-launch-in-2027-priced-hi...
2•birdculture•19m ago•0 comments

Authors Together (A Book Apart)

https://authors-together.org/
2•bjhess•21m ago•0 comments

Orphanogenesis

https://www.gregegan.net/DIASPORA/01/Orphanogenesis.html
1•stickynotememo•23m ago•0 comments

Analyzing the Infrastructure Used by Cyberleek

https://alzze.xyz/posts/analyzing-the-infrastructure-used-by-cyberleek/
1•notracks•24m ago•0 comments

Proton Services Status – Global Outage

https://status.proton.me/incidents/kzklhrdg6hxp
1•ruuda•25m ago•0 comments

A philosopher's guide to thinking for yourself in an age built to think for you

https://twitter.com/UnfrozenCav3man/status/2092760038536585534
1•thunderbong•27m ago•0 comments

Tailscale's Tailcat

https://tailscale.com/tailcat
1•leonjza•28m ago•0 comments

Magic Chords – Web app for chord recognition and audio transcription

https://magic-chords.dev/
1•acscluster•28m ago•0 comments

Invasive green crabs bad for the environment, New Englanders eating more of them

https://apnews.com/article/green-crab-invasive-species-new-england-64f7f3ca55564ff87502ab5035af476c
2•petethomas•28m ago•0 comments

There is no standard for beaming power from orbit to the ground

https://github.com/BeamDesk/beamed-power-interface
1•Yahalomi•28m ago•0 comments

Breaking Claude Code Opus 5 Auto Mode

https://embracethered.com/blog/posts/2026/breaking-claude-acode-opus-5-and-automode/
1•salvozappa•29m ago•0 comments

Plug-in solar panels are coming to a shop near you – what to know

https://www.bbc.com/news/articles/c4g3y6398nwo
2•robin_reala•30m ago•0 comments

Actor and singer Tim Curry has died

https://www.hollywoodreporter.com/movies/movie-news/tim-curry-dead-rocky-horror-picture-show-1236...
1•qmr•31m ago•0 comments

QuestStack: Unlock the Meta Quest 1 bootloader and gain root access

https://github.com/starseed12345/QuestStack
1•Jach•33m ago•1 comments

Ask HN: Do you still do pair programming in this agentic age?

3•Andugal•37m ago•1 comments