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.

Blobatar: Deterministic Geometric Avatars

https://www.blobatar.dev/
1•LorenDB•3m ago•0 comments

We Tested Qwen3.8 27B: How Much GPU and VRAM Do You Need

https://www.hardware-corner.net/qwen3-8-27b-hardware-tests/
1•mdp2021•5m ago•0 comments

Anthropic's Claude Will Add Watermarks to AI-Generated Text and Files

https://www.cnet.com/tech/services-and-software/anthropics-claude-will-add-watermarks-to-ai-gener...
1•wglb•6m ago•0 comments

Sam Altman: How to Be Successful (2019)

https://blog.samaltman.com/how-to-be-successful
1•TheAlchemist•13m ago•0 comments

I've been doing endurance testing on microSD cards for the last 3 years

https://www.reddit.com/r/homelab/comments/1vqzawd/ive_been_doing_endurance_testing_on_microsd_cards/
1•ValentineC•14m ago•0 comments

Goldeneye 007 100% Decompiled

https://twitter.com/defaultdnb/status/2089257650261229703
1•nomilk•15m ago•1 comments

Privibe – LLM CLI Local first+privacy focus+llama.cpp cache branch and Qwen3.x

https://github.com/alainnothere/privibe/tree/main
1•xlayn•29m ago•1 comments

Trump administration Announces New "Hacking Back" Program

https://reason.com/volokh/2026/08/17/trump-administration-announces-new-hacking-back-program/
4•anonymousiam•30m ago•0 comments

The Loss of Innocence

https://medium.com/freedomofthought/the-loss-of-innocence-a-timeline-of-growing-up-as-a-girl-ce62...
1•raynchad•30m ago•0 comments

Every Forward Deployed Engineer Just Got Promoted

https://www.furtherai.com/blog/every-forward-deployed-engineer-just-got-promoted
2•sgondala_ycapp•32m ago•0 comments

Laser mosquito zapper promises precision strikes as backers itch for answers

https://www.theregister.com/offbeat/2026/08/17/1k-laser-mosquito-zapper-promises-precision-strike...
3•mdp2021•33m ago•1 comments

Google wins bankruptcy auction for Spirit Airlines emails, chats, documents

https://www.axios.com/2026/08/17/google-spirit-airlines-bankruptcy
7•sgustard•39m ago•3 comments

PM Carney announces largest clean energy investment in North American history

https://www.pm.gc.ca/en/news/news-releases/2026/08/17/prime-minister-carney-announces-largest-cle...
22•garbawarb•43m ago•2 comments

70 Strategies/Moats on How Things Win

https://stephango.com/moats
1•momentmaker•43m ago•0 comments

CRTC allows Canadian carriers to lock phones again, with a catch

https://mobilesyrup.com/2026/08/17/crtc-brings-back-phone-locking/
3•jethronethro•44m ago•0 comments

AMD Working on a New Back End for Improving ROCm Compute in QEMU/VMs

https://www.phoronix.com/news/AMD-ROCm-Better-QEMU-VM
2•mdp2021•44m ago•0 comments

Show HN: Cogni: MCP memory for LLMs, with no LLM in the retrieval path

https://getcogni.io/
2•ihamilton7•47m ago•0 comments

Consumers Prefer AI Music Until They're Told It's AI

https://www.promarket.org/2026/05/04/consumers-prefer-ai-music-until-theyre-told-its-ai/
3•a2ff6eeb0•53m ago•0 comments

Statement Regarding Loongson Vulnerabilities Presented at USENIX26

https://www.loongson.cn/news/show?id=850
1•csmantle•54m ago•0 comments

Voluntary attention regulates acute immune responses in humans

https://www.nature.com/articles/s41562-026-02541-1
4•bookofjoe•55m ago•0 comments

Germany Just Banned Windows to Save €15M

https://www.youtube.com/watch?v=iaz32kiBbaA
3•cable2600•1h ago•3 comments

Whose doctor does the AI recommend? An algorithm audit of LLMs in physician

https://arxiv.org/abs/2608.14399
1•sbulaev•1h ago•0 comments

Prime Agent: A Self-Improving RLM Agent

https://github.com/PrimeIntellect-ai/prime-agent
2•rzk•1h ago•0 comments

Connecting to an Azure/Entra Joined Windows Machine from Linux

https://github.com/themew2/FreeRDP-to-Entra-Connected-Windows-Device
1•themew2•1h ago•0 comments

Cursor Origin

https://cursor.com/docs/origin
45•peterspath•1h ago•24 comments

Supreme Court Rejects Verizon Bid for $47M Refund of FCC Fine

https://arstechnica.com/tech-policy/2026/08/supreme-court-rejects-verizon-bid-for-47-million-refu...
3•m463•1h ago•0 comments

Un-AI Your Internet

https://un-ai.digitalprophet.online/
7•ErenayDev•1h ago•4 comments

LongHorizon-Harness: Advancing Long-Horizon Agents for Real-World Tasks

https://github.com/AMAP-ML/LongHorizon-Harness
1•tingletech•1h ago•1 comments

Building Scalable Control Planes

https://www.allthingsdistributed.com/2026/08/on-building-scalable-control-planes.html
1•smn1234•1h ago•0 comments

Show HN: FlashFrame-Free Browser-Based Fast Multiplayer Movie Guessing Game

https://playflashframe.com/
1•jsturgill•1h ago•0 comments