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•11mo ago

Comments

llm-exe•11mo 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•11mo 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.

Ubuntu is going all in on Generative AI and other Linux distros might follow

https://www.neowin.net/news/ubuntu-is-going-all-in-on-generative-ai-and-other-linux-distros-might...
1•bundie•2m ago•0 comments

AI and decomp project used to port Super Smash Bros to PC

https://github.com/JRickey/BattleShip
1•tnelsond4•4m ago•0 comments

Bouncy – A small Rust web scraper with built-in MCP support

https://github.com/maziarzamani/bouncy
1•mazzamani•4m ago•0 comments

AI will dissolve human civilization as we know it

https://www.newstatesman.com/culture/books/book-of-the-day/2026/04/ai-will-dissolve-human-autonomy
1•thinkingemote•7m ago•0 comments

Employers are blindsiding candidates with AI interviews–and scaring them off

https://www.fastcompany.com/91534397/employers-are-blindsiding-candidates-with-ai-interviews-and-...
2•geox•10m ago•0 comments

Price of Free Gmail

https://www.forbes.com/sites/zakdoffman/2026/04/28/price-of-free-gmail-how-much-your-google-accou...
1•nreece•12m ago•0 comments

96.8% of MCP tool descriptions don't warn the agent about destructive behaviour

https://policylayer.com/research/state-of-mcp-2026
2•liad•13m ago•0 comments

Signs of early life in post asteroid impact sites

https://www.nature.com/articles/s43247-026-03206-7
1•albertgoeswoof•14m ago•0 comments

Is `cal` broken? What happened in September 1752?

https://unix.stackexchange.com/questions/17903/is-cal-broken-what-happened-in-september-1752
2•vismit2000•16m ago•1 comments

Show HN: SelectAndTranslate – Build vocabulary from anything you read (free)

https://selectandtranslate.z7.web.core.windows.net/
1•yanahackernews•18m ago•0 comments

Hype: List of latest ML Python repos,models and subreddits

https://hype.replicate.dev/
1•nalinidash•18m ago•0 comments

Openrouter.ai Now Supports Workspaces

https://openrouter.ai/docs/guides/features/workspaces
1•janandonly•23m ago•0 comments

When Dawkins met Claude – Could this AI be conscious?

https://unherd.com/2026/04/is-ai-the-next-phase-of-evolution/
1•pentestercrab•25m ago•0 comments

How to make SSE token streams resumable, cancellable, and multi-device

https://zknill.io/posts/everyone-said-sse-token-streaming-was-easy/
1•zknill•26m ago•0 comments

Grok 4.3

https://docs.x.ai/developers/models/grok-4.3
3•simianwords•32m ago•1 comments

Breaking ten years of API compatibility

https://futhark-lang.org/blog/2026-04-29-breaking-api-compatibility.html
1•Fudgel•41m ago•0 comments

Lost in translation: The linguistic challenges facing N. Korean defectors (2025)

https://www.dailynk.com/english/lost-in-translation-the-linguistic-challenges-facing-n-korean-def...
3•spzb•41m ago•0 comments

Our agent found a bug with WireGuard in Google Kubernetes Engine

https://lovable.dev/blog/hunting-networking-bugs-in-kubernetes
12•vikeri•47m ago•0 comments

Medicare portal database exposed health providers' Social Security numbers

https://www.washingtonpost.com/health/2026/04/30/medicare-portal-social-security-numbers-exposed/
2•chirau•48m ago•2 comments

Portabase: Database Backup and Restore Tool

https://github.com/Portabase/portabase
1•thunderbong•49m ago•0 comments

Turning the gears of an early modern search engine (2019)

https://www.rochester.edu/newscenter/book-wheel-modern-search-engine-364122/
1•Eridanus2•54m ago•0 comments

SED Diode

http://www.catb.org/jargon/html/S/SED.html
2•drmacak•56m ago•0 comments

git-sync

https://github.com/entireio/git-sync
3•tosh•59m ago•0 comments

Top Storyblok CMS Migration Companies to Choose From

https://focusreactive.com/blog/storyblok-cms-migration-companies/
1•katarinadrozd•1h ago•0 comments

Claude Code Source Code Breakdown

https://kuber.studio/blog/AI/Claude-Code%27s-Entire-Source-Code-Got-Leaked-via-a-Sourcemap-in-npm...
1•sea-gold•1h ago•0 comments

Vibe Maintainer

https://steve-yegge.medium.com/vibe-maintainer-a2273a841040
4•duggan•1h ago•1 comments

Oscar goes missing after Academy Award winner is blocked from taking on flight

https://www.bbc.com/news/articles/cz72j59znw3o
1•saikatsg•1h ago•0 comments

When Vibe Coding Fails: When to Buy versus When to Build

https://www.forbes.com/councils/forbesbusinesscouncil/2026/04/30/when-vibe-coding-fails-when-to-b...
2•sminchev•1h ago•0 comments

Canonical/Ubuntu have been under DDoS for more than 15h

https://status.canonical.com/#/incident/KNms6QK9ewuzz-7xUsPsNylV20jEt5kyKsd8A-3ptQEHpOd8VQ40ZQs-K...
28•jtlebigot•1h ago•4 comments

What Happened with Mars Sample Return?

https://mceglowski.substack.com/p/what-happened-with-mars-sample-return
2•calcifer•1h ago•0 comments