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.

Care for a Little More AI?

https://proofsandprompts.com/2026/08/30/care-for-a-little-more-ai/
1•rzk•2m ago•0 comments

Where the brain ends and the mind begins

https://www.youtube.com/watch?v=XklvcYMSvAU
1•dr_dshiv•3m ago•0 comments

Qwen3.8-Max just got upgraded

https://twitter.com/Alibaba_Qwen/status/2094968708288680276
1•mydreamof•3m ago•2 comments

Thousands of University of Sydney staff on strike over AI and job security

https://www.theguardian.com/australia-news/2026/sep/02/we-have-had-enough-thousands-of-staff-at-t...
1•hochmartinez•5m ago•0 comments

Making of Jonathan Blow's Newest Game, Part I: The Game Design Supercollider

https://www.orderofthesinkingstar.com/en/news/article/11582786
1•helloplanets•8m ago•0 comments

Ask HN: In EU: what tech conferences you won't miss?

1•znpy•10m ago•0 comments

The Toothbrush Test

https://danromero.org/the-toothbrush-test.html
1•baxtr•12m ago•0 comments

Xanadu Was Waiting for Agents

https://zed.dev/blog/agentic-xanadu
1•tosh•12m ago•0 comments

Google Scholar profile shadowbanned (with no recourse)

2•chsreekar•18m ago•0 comments

A New Observable

https://observablehq.com/@observablehq/a-new-observable
2•matt_daemon•26m ago•0 comments

Rule Against Perpetuities

https://en.wikipedia.org/wiki/Rule_against_perpetuities
2•chistev•28m ago•0 comments

Claude Fable 5.1 tops Artificial Analysis Index but costs 20% more

https://twitter.com/ArtificialAnlys/status/2094881171066978525
1•tosh•31m ago•0 comments

Fake 10 Downing Street listing exposes 'unfit' Booking.com, says consumer group

https://www.bbc.com/news/articles/cly4e0wn452o
2•1659447091•34m ago•0 comments

Alex van Halen Knighted

https://www.vhnd.com/2026/09/01/alex-van-halen-knighted/
2•28304283409234•39m ago•0 comments

Architecture of Disappearance: The Kill Cloud's Dispersal of Violence

https://disruption.institute/fellows/cian-westmoreland
1•rendx•44m ago•0 comments

What is your AI era PowerPoint alternative?

1•librasteve•47m ago•2 comments

Lean Game Server

https://adam.math.hhu.de/
1•gregsadetsky•48m ago•0 comments

GoPro Is Being Bought for $285M and Pivoting to AI and Defense Optics

https://fstoppers.com/gear/gopro-being-bought-285-million-and-pivoting-ai-and-defense-optics-904434
4•porridgeraisin•48m ago•1 comments

Quine Clique: 51 programs in 51 languages that all print each other

https://github.com/mame/quine-clique
1•Sajarin•56m ago•1 comments

My Claude.md

https://lws.io/blog/claude-dot-md/
1•saikatsg•59m ago•0 comments

Postgres 19: Monitoring only gets better

https://clickhouse.com/blog/postgres-19-monitoring-whats-new
1•saisrirampur•59m ago•0 comments

Antirez Brings Vision to DS4, DeepSeek V4 Flash Runs Locally on an M5 Max

https://pasqualepillitteri.it/en/news/13949/ds4-antirez-vision-local-deepseek-v4-flash-m5-max
2•fulafel•1h ago•0 comments

Brazilian scientist wins $500K for growing food with fewer chemicals

https://apnews.com/article/world-food-prize-brazil-soybeans-ebcb46d1a8384e67193ce2e64364ab42
2•thunderbong•1h ago•0 comments

Analysis of all companies in Y Combinator's S26 batch

https://accessfund.vc/insights/s26/batch-brief
2•tstime2•1h ago•1 comments

The Handshake Deal Protocol

https://www.ycombinator.com/handshake
1•tornikeo•1h ago•0 comments

Show HN: I Have Been Clawed – Index of coding agent incidents

https://ihavebeenclawed.com/
3•nezhar•1h ago•0 comments

Show HN: DirectXSplat – D3D12 Gaussian splat renderer, up to 2.4× gsplat FPS

https://github.com/pbkx/DirectXSplat
1•rmi0•1h ago•0 comments

Show HN: I built a tool that runs 258 automated checks against a WordPress site

https://wpaudit.cc/
1•mysticmetal•1h ago•1 comments

OpenAI's Astra uses "recurrent depth" to think silently

https://www.reddit.com/r/singularity/comments/1w4wc0p/openais_astra_uses_recurrent_depth_to_think/
1•armcat•1h ago•0 comments

Show HN: Gawkbot – open-source Grok bot with local vms for each bot

https://gawk.bot
3•najmuzzaman•1h ago•0 comments