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.

Flipping Pages / Audrey Gu

https://audreygu.io/entry/flipping_pages
1•cwervo•3m ago•1 comments

Cursor drops mandatory arbitration and class-action waiver, sends disputes to TX

https://tostracker.app/briefing/anysphere-cursor-arbitration-removed-2026-08
1•tldrthelaw•5m ago•0 comments

Agentic Context Management: Memory and Cost as Architecture Problems

https://arxiv.org/abs/2607.21503
1•gdad•6m ago•1 comments

Curves of Constant Width

https://www.ztlawton.com/socw/curves-of-constant-width.html
1•vismit2000•7m ago•0 comments

Wikinews

https://en.wikipedia.org/wiki/Wikinews
2•wseqyrku•9m ago•2 comments

Dog Can Tell When You're Happy

https://time.com/article/2026/08/10/your-dog-can-tell-when-youre-happy/
1•gmays•10m ago•0 comments

Managed Deep Agents is now in public beta

https://www.langchain.com/blog/managed-deep-agents-is-now-in-public-beta
1•gmays•17m ago•0 comments

Think, Don't Speak

https://sspai.net/think-dont-speak/
1•firexcy•19m ago•0 comments

Terafab by Tesla

https://terafab.ai/
2•dhruv3006•20m ago•1 comments

Musk's SpaceX to build $100B launch facility in Louisiana

https://www.bbc.com/news/articles/cq5xel4v642o
2•nativeit•22m ago•5 comments

Buying power. Do Duke Energy's NC campaign donations fuel influence?

https://carolinapublicpress.org/75549/buying-power-do-dukes-energys-nc-campaign-donations-fuel-in...
1•newsomix9xl•22m ago•0 comments

Show HN: Weavit UI – A Weaviate GUI for macOS, Windows and Linux

https://github.com/XenoraAI/weavit-ui
1•srnathan•24m ago•0 comments

Linear probing for confidence estimation of simulations

https://www.simile.com/blog/confidence
1•wesel•26m ago•0 comments

The Commodore 77, an All-New Cyberpunk 2077 Collaboration

https://commodore.net/commodore-jacks-into-night-city-with-the-commodore-77-an-all-new-cyberpunk-...
3•binarycrusader•29m ago•1 comments

Big Tech's Frantic Race to Quell the Growing Backlash to AI

https://www.wsj.com/tech/inside-big-techs-frantic-race-to-quell-the-growing-backlash-to-ai-2a717339
6•newsomix9xl•31m ago•2 comments

Letter from Dolly Parton to Eminem

https://twitter.com/Eminem/status/2092367272891310482
12•tibbar•33m ago•1 comments

Dependencies in the LLM API Reseller Ecosystem

https://arxiv.org/abs/2608.20732
1•sbulaev•35m ago•0 comments

Show HN: Building a marketplace where you post a need and pick who helps

https://beebranchly.com
1•BeeBranchly•35m ago•0 comments

Locking 1B coins for 200 years with OP_CHECKLOCKTIMEVERIFY

https://github.com/goldcoin/goldcoin-timelock
1•microguy•37m ago•0 comments

Show HN: Declaude

https://speak-english.tenken.co/
2•rryoung98•38m ago•1 comments

US consumer spending on Apple's App Store fell for the first time in a decade

https://www.ft.com/content/e5533f32-e4c2-4ce1-9d2e-a831e96546b4
4•nreece•39m ago•0 comments

Novel class of medications, orexin receptor antagonists, for insomnia

https://pmc.ncbi.nlm.nih.gov/articles/PMC4948724/
1•Alien1Being•39m ago•0 comments

Show HN: Using Golang to Speed Up Monte Carlo Simulations

https://www.range.com/blog/using-golang-to-speed-up-monte-carlo-simulations
2•knair97•40m ago•2 comments

Nvidia Is Speedrunning the Creation of a Synthetic Hyperscaler

https://taekim.substack.com/p/nvidia-is-speedrunning-the-creation
1•gmays•41m ago•1 comments

Amazon announced it's shuttering Mechanical Turk on Sept. 30

https://www.cnbc.com/2026/08/25/amazon-service-that-jeff-bezos-called-artificial-ai-is-shutting-d...
3•pgrote•44m ago•1 comments

Self-Hosting Email: Achieving Proton's Zero-Access with Stalwart and WKD

https://remoterails.com/stalwart-mail-vs-protonmail-a-technical-deep-dive-into-modern-email-secur...
1•bluequills•48m ago•0 comments

Tom Robbins' Remington SL3 Typewriter from "Still Life with Woodpecker"

https://typecast.munk.org/2015/08/01/tom-robbins-remington-sl3-typewriter-from-still-life-with-wo...
1•pcfwik•50m ago•0 comments

Ask HN: Interesting Tech Adjacent Jobs?

3•njandh•55m ago•2 comments

Europe Built a Single Market–Now It's Packaging It Away

https://fee.org/articles/europe-built-a-single-market-now-its-packaging-it-away/
2•WaitWaitWha•58m ago•0 comments

Native Java with GraalVM and Virtual Threads on Kubernetes

https://piotrminkowski.com/2023/01/04/native-java-with-graalvm-and-virtual-threads-on-kubernetes/
1•ejboy•58m ago•0 comments