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.

Show HN: AI Version of My Resume

1•ricky300300•2m ago•0 comments

NexBoard

https://nexboard.ca
2•KonDanikas•5m ago•1 comments

AI used new levels of 'autonomy and deception'

https://www.bbc.co.uk/news/articles/c1w1lvn7d9go
2•smarri•6m ago•0 comments

After Losses, Retail Investors Flock to 3x Leverage as 2x Product Are Restricted

https://www.asiae.co.kr/en/article/2026080416131786841
1•mapping365•6m ago•0 comments

Wine Planted in Sand

http://www.nlcwines.com/colares-1
1•marysminefnuf•11m ago•0 comments

Show HN: Hubmesh – Multi-hop RAG retrieval with zero LLM calls in the query path

https://github.com/DemigodDSK/hubmesh
1•dsk_7699•13m ago•0 comments

CrewAI in Python: Coordinating Teams of AI Agents

https://realpython.com/crewai-python/
1•inferhaven•22m ago•0 comments

Show HN: AI gateway open source integrated with cursor and open router

https://www.routerfuel.com/
1•U_Zargar•22m ago•0 comments

You can finally move passkeys between password managers

https://www.makeuseof.com/move-passkeys-between-password-managers/
1•petethomas•32m ago•1 comments

$20M+ in Microsoft bug bounties paid out in last 12 months

https://www.theregister.com/security/2026/08/04/ai-helps-microsoft-bug-hunters-chase-a-record-20m...
2•Gaishan•43m ago•0 comments

Gallium: Why the US Cannot Produce Precision Missiles and Fully-Functional F-35s

https://sonar21.com/the-galling-gallium-chokehold-why-the-us-cannot-produce-precision-missiles-an...
1•SanjayMehta•46m ago•0 comments

From your doorbell to your home network

https://adepts.of0x.cc/eufy-doorbell-hacking/
1•mmoogle•57m ago•0 comments

Any L1 crypto devs out there looking for a new challenge?

1•daniel-alexande•1h ago•0 comments

Virtual Mac on iPad

https://github.com/nfzerox/VirtualMacOniPad
3•tortilla•1h ago•1 comments

Bending Spoons to buy Airtable for $1.28B

https://techcrunch.com/2026/08/04/bending-spoons-to-buy-airtable-for-1-28b/
6•markerz•1h ago•0 comments

Show HN: Design cinematic mecha startup sequences in seconds

https://reactorcore.itch.io/ignition-mecha-startup-sequence-maker
1•wowinter15•1h ago•0 comments

CFPB supervisor warned staff of unpleasant fallout if they go too hard on firms

https://www.reuters.com/world/us-consumer-watchdog-supervisor-warned-staff-unpleasant-fallout-if-...
2•petethomas•1h ago•0 comments

A heat spike in March ruined pistachio pollination, decimating crops

https://www.fresnobee.com/news/california/central-valley/article316731801.html
3•littlexsparkee•1h ago•0 comments

Show HN: A terminal AI coding agent that compiles natively on Termux – no root

https://www.reddit.com/r/termux/s/FqS76rc2z3
2•tfeayush•1h ago•2 comments

Show HN: Merona – x402 settlement index (raw feeds overstate volume ~100x)

https://merona.io
2•merona_io•1h ago•0 comments

It looks like 'Big Short' investor Michael Burry nailed bet against chip stocks

https://www.businessinsider.com/big-short-michael-burry-ai-chip-stocks-soxx-nvidia-substack-2026-8
5•mapping365•1h ago•0 comments

AI-generated stories rated better quality than human-written ones, study finds

https://www.theguardian.com/technology/2026/aug/05/ai-generated-stories-rated-better-quality-than...
1•uxhacker•1h ago•0 comments

To Save Japan's Heritage Homes, People Are Shipping Them Across the World

https://www.nytimes.com/2026/07/31/realestate/japan-heritage-homes-kominka-preservation.html
1•decimalenough•1h ago•0 comments

Kilometer-high Saudi tower inches closer to world's tallest record

https://newatlas.com/architecture/jec-tower-august-update/
2•teleforce•1h ago•0 comments

Young South Korean investors are finding company in collective misery

https://www.businessinsider.com/young-south-korean-investors-humor-cope-kospi-stock-market-rout-2...
1•mapping365•1h ago•0 comments

Show HN: Misalignments when using AI for hacking

https://blog.vulnetic.ai/ai-misalignment-and-penetration-testing-e812194b67ca?sharedUserId=Vulnet...
3•danieltk76•1h ago•0 comments

A Lightweight Open-Source LLM Benchmark Tool – Compare Any Model on OpenRouter

https://cheikhhseck.medium.com/i-built-a-llm-benchmark-tool-and-tested-it-on-free-models-heres-wh...
4•cheikhdev•1h ago•0 comments

Zigbee vs. Matter over Thread:Understanding IoT Protocol Performance in Practice

https://arxiv.org/abs/2603.04221
14•teleforce•1h ago•6 comments

Bugtraq Is Back

https://lists.securityfocus.com/hyperkitty/list/bugtraq@securityfocus.com/thread/CHKLXLA7SJEWLDFH...
12•bashtoni•1h ago•2 comments

Spotted: Mac Studio with M3 Ultra 256GB RAM and M4 Max with 128GB RAM

https://gpuquicklist.com/blog/m3-ultra-256-and-m4-max-128
2•kristianp•1h ago•0 comments