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.

The Gilbreath principle, made interactive

https://sleightless.com/tricks/math/gilbreath-principle/
1•davidharrisonal•2m ago•0 comments

Why Is Cracking a Whip So Loud? [video]

https://www.youtube.com/watch?v=DGH3GMiHNls
1•gmays•6m ago•0 comments

Life without vaccines: Americans need to understand what they save us from

https://www.statnews.com/2026/08/13/trump-vaccine-executive-order-mmr-separate-shots-policy/
2•EA-3167•8m ago•0 comments

Changing Devtools Is Cheap. Owning Them Isn't

https://lalitm.com/post/changing-devtools-is-cheap-owning-them-isnt/
1•lalitmaganti•12m ago•0 comments

SHOW HN: tips Easy to Understand Manual. Better than tealdeer

https://github.com/derusbel/homebrew-tips
1•derusbel•18m ago•0 comments

Who Comments on Rules That Change?

https://frtracker.app/blog/who-comments-on-rules-that-change
1•tldrthelaw•24m ago•0 comments

Reddit Will Be Added to the S&P 500

https://redditinc.com/news/reddit-will-be-added-to-the-s-p-500
1•soheilpro•29m ago•2 comments

Banquish: Take other websites apart and build your own

https://banquish.space
1•ghboo0927•31m ago•0 comments

AQR Website Respect Users

1•sideras56•33m ago•0 comments

The Math Superstar Who's Terrified of AI–and Just Took a Job at OpenAI

https://www.wsj.com/tech/ai/openai-jacob-tsimerman-fields-medal-ai-safety-391d0f79
3•gmays•35m ago•0 comments

Agentrove: Self-hosted AI workspace for orchestrating coding agents

https://github.com/Mng-dev-ai/agentrove
1•indigodaddy•38m ago•0 comments

Show HN: Client-side audit of wasted Stripe payment retries

https://recoverflow.org/tools/retry-waste-calculator/
1•BruceM2007•38m ago•0 comments

The programming language speed balls, but for inference (tokens per second)

https://kylejeong.com/inference-balls
1•Kylejeong21•40m ago•0 comments

Show HN: Run Log – drop a FIT or GPX file and read what happened on your run

https://runlogapp.com/
1•wally2026•46m ago•1 comments

OpenAI Computer History remembers your activity across the apps and websites

https://twitter.com/OpenAI/status/2087996496088297746
1•acheong08•46m ago•0 comments

When OpenAI employees have a problem, they email this special address

https://fortune.com/2026/08/11/openai-employees-email-friction-address-to-eliminate-bureaucratic-...
2•mji•46m ago•0 comments

Show HN: Inplan – Before Start Coding

https://github.com/melly-lgtm/inplan
1•diane-cis•47m ago•1 comments

The Mystery of Dark Oxygen

https://www.newyorker.com/science/elements/the-mystery-of-dark-oxygen
2•petethomas•47m ago•0 comments

TOSTracker – The Terms Have Changed

https://tostracker.app/briefing
2•tldrthelaw•51m ago•0 comments

Minutes of drawing can reset your nervous system

https://www.washingtonpost.com/wellness/2026/08/13/how-10-minutes-drawing-can-reset-your-nervous-...
3•malloci•55m ago•0 comments

Foothills of the Bay Area house party

https://www.astralcodexten.com/p/the-foothills-of-bay-area-house-party
3•MattSayar•55m ago•0 comments

Sailor went overboard on USS Lincoln; report of worsening mental health for crew

https://www.cnn.com/2026/08/13/politics/uss-abraham-lincoln-conditions-extended-deployment-hnk
3•1659447091•1h ago•0 comments

Show HN: Minesweeper with flowers game you can fork

https://forkcade.com/gallery/minesweeper-flowers
1•jonaldomo•1h ago•0 comments

Bluesky Protocol Services

https://atproto.com/blog/introducing-bluesky-protocol-services
47•danabramov•1h ago•7 comments

Glass Is Glass [video]

https://www.youtube.com/watch?v=7YrdI7h2XoY
1•ValentineC•1h ago•0 comments

SparrowMap – Cameras that watch government vehicles

https://sparrowmap.com/
14•paulnpace•1h ago•1 comments

How Obama's BlackBerry got secured (2023)

https://www.electrospaces.net/2013/04/how-obamas-blackberry-got-secured.html
7•downbad_•1h ago•0 comments

Possession, poem by Jo McCormick (Compaq tech demo circa 1982) [video]

https://www.youtube.com/watch?v=cTg1Smo5CFk
1•joeycastillo•1h ago•0 comments

GitHub adds an ROI section to the Copilot impact dashboard

https://github.blog/changelog/2026-08-07-copilot-impact-dashboard-adds-a-return-on-investment-sec...
2•jamesfinlayson•1h ago•0 comments

Kennedy Center Board Decides to Inscribe Trump's Name on Building

https://www.nytimes.com/2026/08/13/arts/design/kennedy-center-closure-board-vote-trump.html
4•2OEH8eoCRo0•1h ago•0 comments