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.

Autoportrait

https://philipweiss.net/autoportrait/
1•philipfweiss•2m ago•0 comments

KMIP: How It Works, When You Need It, and How Infisical Implements It

https://infisical.com/blog/kmip
1•vmatsiiako•3m ago•0 comments

Why Most Backtests Fail in Production – and How Event-Time Replay Fixes It

https://medium.com/@DolphinDB_Inc/turning-market-history-into-live-signals-dolphindb-data-replay-...
1•napgirllll•4m ago•0 comments

How AI and Low-Latency Computing Are Reshaping Digital Twins

https://medium.com/@DolphinDB_Inc/real-time-decision-making-how-ai-and-low-latency-computing-are-...
1•chaercling•4m ago•0 comments

Free, private file tools that work in the browser

https://easyfiletools.com
1•randomperson_24•8m ago•0 comments

Recursive Filters: SMA, EMA, Low‑Pass, and a Tiny Kalman

https://www.staszewski.xyz/blog/recursive-filters/
1•kamilstaszewski•11m ago•0 comments

Show HN: Kdeps – A New CLI Coding Agent That Runs on Open Weight Models

https://kdeps.com
1•jjuliano•11m ago•0 comments

GitBook: The open source front end for GitBook doc sites

https://github.com/GitbookIO/gitbook
1•thunderbong•15m ago•0 comments

Improving Heuristics for A* Pathfinding

https://www.redblobgames.com/pathfinding/heuristics/differential.html
1•bobbiechen•18m ago•0 comments

Their position on open-weights models sucks

https://blog.nathanlangley.dev/posts/anthropic-open-weights.html
1•ninjahawk1•18m ago•0 comments

Prove Yourself – Delayed Disclosure as a Verifiable Public Artifact

https://prove-yourself.sebmellen.com/technical-notes.html
1•sebmellen•25m ago•0 comments

Show HN: Krate, AI-made apps as permissioned files for Mac, Windows, and Linux

https://github.com/incyashraj/krate
1•incyashraj•28m ago•0 comments

How I use AI in my geology research without losing the science I love

https://www.science.org/content/article/how-i-use-ai-my-geology-research-without-losing-science-i...
1•the-mitr•33m ago•0 comments

Machines will never understand language

https://astra.pizza/posts/machines-will-never-understand-language/
1•ankitg12•34m ago•0 comments

Request Timeout Is a Polite Suggestion

https://medium.com/devs-community/your-request-timeout-is-a-polite-suggestion-94171a66fb43
1•sukhpinder0804•35m ago•0 comments

A simple clustering algorithm for lists

https://cassidoo.co/post/clustering-tiles/
2•nreece•42m ago•0 comments

Space exploration game made using Claude Opus 5

https://twitter.com/anshuc/status/2081801966158811506
3•starshadowx2•44m ago•1 comments

Show HN: Over 150 side events of BlackHat 2026 in one page

https://www.chancity.ai/blackhat-vegas-2026
1•csujoy•44m ago•1 comments

AI Makes Starting Games Easier. Finishing Is Still Hard

https://twitter.com/robertvaradan/status/2078234518549311855
2•robertvaradan•44m ago•0 comments

Cursor Start

https://cursor.com/blog/cursor-start-india
2•twapi•51m ago•1 comments

OpenAI called the Hugging Face attack unprecedented. But we've been here before

https://www.technologyreview.com/2026/07/27/1140836/openai-hugging-face-attack-precedent/
5•devonnull•51m ago•0 comments

Show HN: Drever – AI-first MDX presentations with expressive motion

https://github.com/Zhangdroid/drever
2•zhangdroid•55m ago•0 comments

Vibotify – Talk to 300 AI experts, one for every profession

https://vibotify.com/
2•nsoni369•57m ago•0 comments

Ars Astronomica – English translations of rare Hebrew and Latin astronomy texts

https://arsastronomica.com/
13•sweisman•57m ago•0 comments

Active buddies app – Kids earn screen time by being active

https://www.vegaco.nz/active-buddies.html
2•rasikass•57m ago•1 comments

Idempotency Fundamentals and API Guarantees

https://www.distributedrequest.com/idempotency-fundamentals-api-guarantees/
2•ankitg12•57m ago•0 comments

How to choose an AI Agent platform for your team

https://construct.computer/blog/how-to-choose-an-ai-agent-platform-for-your-team/
4•ankushKun•1h ago•0 comments

Why models write slop: the environments are too small

https://henriquegodoy.com/blog/why-models-write-slop
7•jxmorris12•1h ago•0 comments

Professor Created a Trap in His Midterm to Catch Students Using AI

https://www.today.com/parents/family/professor-catches-ai-cheating-hidden-word-rcna589421
4•curmudgeon22•1h ago•0 comments

How IMAX 70MM Film is Projected!

https://www.youtube.com/watch?v=7S_geBV5bLQ
4•saikatsg•1h ago•1 comments