frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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: AionDbB

https://github.com/ayoubnabil/aiondb
2•K9987plus•1m ago•0 comments

Ruby Client for the Model Context Protocol (MCP)

https://github.com/zarpay/manceps
1•mooreds•5m ago•0 comments

Show HN: Web-based wc3 warlocks brawl

https://warlocks.app/
1•razum9•6m ago•0 comments

World Cup Sponsorships: Online Communities Changing the Game

https://graphika.com/posts/world-cup-sponsorships-online-communities-changing-the-game
1•mooreds•7m ago•0 comments

Markdown Tables Generator – Tablesgenerator.com

https://www.tablesgenerator.com/markdown_tables
1•wingmanjd•7m ago•0 comments

US healthcare still stupidly expensive, with pathetic outcomes, study finds

https://arstechnica.com/health/2026/05/us-healthcare-still-stupidly-expensive-with-pathetic-outco...
1•rbanffy•7m ago•0 comments

HarnessKit – Manage skills/MCP/hooks/plugins/memory across all your Agents

https://github.com/RealZST/HarnessKit
2•cyberditto•8m ago•0 comments

New solar desalination breakthrough makes fresh water without toxic brine

https://www.sciencedaily.com/releases/2026/05/260530053418.htm
1•rmason•9m ago•0 comments

ChatGPT for Google Sheets Exfiltrates Workbooks

https://www.promptarmor.com/resources/gpt-for-google-sheets-data-exfiltration
1•hackerBanana•12m ago•0 comments

In northern Ukraine, it was boy vs. Russian drone. The boy won

https://www.washingtonpost.com/world/2026/05/15/russian-drones-hunt-ukrainians-human-safari-boy-f...
4•rmason•15m ago•1 comments

Show HN: GEDD – Find what your AI agent gets wrong (before your users do)

https://github.com/aws-samples/sample-GEDD
1•balasvce19855•17m ago•0 comments

Benchmarking TurboQuant with MLX on Apple Silicon

https://www.youtube.com/watch?v=pRsAr51iTnI
1•tcp_handshaker•19m ago•0 comments

Minecraft YouTubers explain passive investing [video]

https://www.youtube.com/watch?v=NM6tmqJil7I
1•Cider9986•19m ago•0 comments

C is older than my mom

2•alonsovm44•19m ago•1 comments

Patching my guitar amp's firmware

https://mforney.org/blog/2026-05-28-patching-my-guitar-amps-firmware.html
2•birdculture•21m ago•0 comments

Show HN: Missed Connections Site Replacing Craigslist

https://ivmissed.com/SF
2•Loyae•22m ago•0 comments

The Agentic Mesh: Cognitive Automation at Scale

https://blog.owulveryck.info/2026/05/31/the-agentic-mesh-cognitive-automation-at-scale.html
2•owulveryck•22m ago•0 comments

California Academy of Sciences is a world class museum. Here’s how it dies

https://www.sfchronicle.com/opinion/openforum/article/california-academy-sciences-museum-22280835...
3•thebigship•23m ago•0 comments

April in Servo: new Android UI, focus, forms, security fixes, and more

https://servo.org/blog/2026/05/31/april-in-servo/
2•dabinat•24m ago•0 comments

Researchers let AI models run a simulated society

https://fortune.com/2026/05/28/ai-model-simulation-claude-chatgpt-grok-gemini/
3•ilkkao•27m ago•0 comments

Two Kinds of Programs: Closed Worlds and Open Worlds

https://blog.sturdystatistics.com/posts/open_world/
2•kianN•29m ago•0 comments

The Pewdiepie Agent Framework

https://pewdiepie-archdaemon.github.io/odysseus/#features
3•christkv•30m ago•1 comments

After decades on Linux, FreeBSD gave me a reason to switch operating systems

https://www.zdnet.com/article/freebsd-linux-review/
2•rodrigo975•31m ago•0 comments

100 Officers Hunt Down Armed Cop Killer [video][20 mins]

https://www.youtube.com/watch?v=BH4k_jllNks
2•Bender•31m ago•0 comments

Euro-Office Alternative to Microsoft Office and Google Docs, Launches June 9

https://www.zdnet.com/article/euro-office-a-sovereign-cloud-based-office-suite-google-microsoft-a...
4•abdelhousni•35m ago•0 comments

Monal IM 6.4.21 released – open-source Jabber/XMPP client for macOS and iOS

https://monal-im.org/
2•neustradamus•37m ago•0 comments

Headroom compresses everything your AI agent reads before it reaches the LLM

https://pypi.org/project/headroom-ai/
2•mooreds•37m ago•1 comments

Toby Wilkinson on Ptolemaic Egypt and the First Great Commercial Civilization

https://conversationswithtyler.com/episodes/toby-wilkinson/
2•mooreds•38m ago•0 comments

It's a Good Life (The Twilight Zone)

https://en.wikipedia.org/wiki/It%27s_a_Good_Life_(The_Twilight_Zone)
4•mooreds•39m ago•1 comments

I forced codex to use blender using MCP and computer use

https://marknefedov.github.io/codex-blender-bench/
3•marknefedov•41m ago•0 comments