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.

Nokia DCT3 Emulator

https://github.com/djr-747/nokia-dct3-emulator
1•71bw•4m ago•0 comments

Show HN: Narada – a browser built for agents, under your control

https://narada.koley.in/
1•arkokoley•5m ago•0 comments

Show HN: GGUFun, play snake and a simple maze on Ollama using hand crafted GGUFs

https://ggufun.grokked.it
1•grokkedit•6m ago•0 comments

The Human Cost of DOGE's War on Usa.i.d

https://www.newyorker.com/news/the-new-yorker-interview/the-human-cost-of-doges-war-on-usaid
1•doener•6m ago•0 comments

SticiGui – Statistics Tools for Internet and Classroom Instruction with a GUI

https://www.stat.berkeley.edu/~stark/SticiGui/index.htm
1•the-mitr•6m ago•0 comments

Ask HN: Which Chinese open source projects are you using?

2•khurs•19m ago•1 comments

Race into Space Is the Free Version of Interplay's Buzz Aldrin's Race into Space

https://github.com/raceintospace/raceintospace
1•_____k•21m ago•0 comments

How to Automate API Testing

https://keploy.io/blog/community/api-automation-testing
1•alokky•21m ago•0 comments

A local HTTP-to-SOCKS5 proxy bridge for Chrome

https://github.com/proxybasehq/socks5-bridge
2•m00dy•24m ago•0 comments

Zig Creator Calls Spade a Spade, Anthropic Blows Smoke

https://raymyers.org/post/zed-creator-calls-spade-a-spade/
36•crowdhailer•29m ago•7 comments

Muse Spark 1.1: Meta gains 8 Intelligence Index points in three months

https://artificialanalysis.ai/articles/muse-spark-1-1-everything-you-need-to-know
2•himata4113•32m ago•1 comments

Nock – System-wide sound and haptics for macOS (free, zero idle wake-ups)

https://nock.numericnetworks.com
2•abhiramssabhi•32m ago•0 comments

The Most Difficult Bugs to Fix in Software Development

https://raoufia2012-ship-it.github.io/difficult-bugs-guide/
2•theanonymousone•32m ago•0 comments

Device Context Protocol – Bridge LLM Agents to Physical Devices

https://github.com/device-context-protocol/dcp
2•manchoz•33m ago•0 comments

Major trial finds healthy behaviors help brain health in older adults

https://www.nbcnews.com/health/aging/major-international-trial-finds-healthy-behaviors-help-brain...
2•vrganj•35m ago•0 comments

Pi-Hole Security Udpdates

https://pi-hole.net/blog/2026/07/06/pi-hole-ftl-v6-7-web-v6-6-and-core-v6-4-3-released/
2•wolfi1•36m ago•0 comments

Obstacle avoidance for robots of multiple sizes and forms Horizon Zero Dawn [pdf]

http://www.gameaipro.com/GameAIProOnlineEdition2021/GameAIProOnlineEdition2021_Chapter09_Obstacle...
2•Vav-Labs•36m ago•0 comments

Holos: Turn your device into a Fediverse server

https://holos.social/
2•nogajun•37m ago•0 comments

How Tech reporting moved into the physical world

https://www.theguardian.com/membership/2026/jul/12/tech-reporting-physical-world-ai-revolution-da...
2•thm•42m ago•0 comments

Hammerspoon: Powerful Automation of macOS

https://www.hammerspoon.org/
4•AbuAssar•44m ago•0 comments

Shopify introduces ID verification for Shopify Partners

https://shopify.dev/changelog/identity-verification-for-partners
2•jam3sn•45m ago•0 comments

You fail to learn if you don't learn to fail

https://seated.ro/posts/learn_to_fail.html
3•thm•47m ago•0 comments

Chicago pensions face insolvency in downturn, mayoral candidate says

https://www.ft.com/content/d8255ac6-5500-4397-8395-34c0760446f6
2•petethomas•51m ago•0 comments

Dow Jones Cracks 53,000

https://www.disruptionbanking.com/2026/07/13/dow-jones-cracks-53000-for-the-first-time-before-ira...
3•emsidisii•52m ago•0 comments

Berkshire's $397B Bet Against an Overheated Market

https://www.disruptionbanking.com/2026/07/13/inside-berkshires-397-billion-bet-against-an-overhea...
11•emsidisii•53m ago•0 comments

Tell HN: One SWE-bench-Live task: $47 Opus failed, $1.46 GPT-5.6 passed

https://github.com/tamnd/tomo-labs/blob/main/docs/content/experiments/2026/07/13/14-55-dynaconf-d...
3•tamnd•53m ago•2 comments

Stranded in the Clouds: The Rise and Fall of Piero Portaluppi's Wagristoratore

https://socks-studio.com/2016/10/22/piero-portaluppis-wagristoratore-1929-30/
2•omblivion•1h ago•0 comments

Interrail: 6,379Km and 13 Countries over 7 weeks

https://shkspr.mobi/blog/2026/07/another-ridiculous-interrail-holiday-6379km-and-13-countries-ove...
16•coinfused•1h ago•1 comments

AMule 3.0.0 Released

https://amule-org.github.io/changelog/3.0.0
2•vlugorilla•1h ago•0 comments

Trading Strategy Graveyard

https://github.com/cmatthwilkes-debug/trading-strategy-graveyard
3•Strawburry•1h ago•0 comments