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.

PayPal's $4B stablecoin is mostly held by DeFi yield farmers

https://stablecoinbrief.substack.com/p/paypals-4b-stablecoin-is-mostly-held
1•knivef•46s ago•0 comments

CrowdStrike Linux Agent Easy way to make it better

1•SilverPlate3•2m ago•0 comments

China's Great Firewall Poisoning the .icu TLD Nationwide

https://www.safwire.net/p/gfw-icu-tld
2•domainers•7m ago•0 comments

Show HN: zot – Yet another coding agent harness

https://www.zot.sh
4•patriceckhart•7m ago•0 comments

Generation Is Required for Data-Efficient Perception

https://arxiv.org/abs/2512.08854
1•E-Reverance•9m ago•0 comments

I built a business idea validator. Now I'm scared mine is the bad idea

https://www.indiehackers.com/post/i-built-a-business-idea-validator-now-im-scared-mine-is-the-bad...
1•SoloVault•13m ago•0 comments

Show HN: Screen time as a binary grid scorecard

https://twitter.com/yarsanich/status/2048076926024057231
3•yarsanich•14m ago•0 comments

MarkNext Specification v1.0

https://github.com/skorotkiewicz/marknext/blob/HEAD/MARKNEXT_SPEC.md
1•modinfo•14m ago•1 comments

Too many meetings? Try this

https://www.leadinginproduct.com/p/how-to-have-fewer-meetings
1•benkan•21m ago•0 comments

USAF Esports Team Wins the 2026 Armed Forces Esports Championship

https://armedforcessports.defense.gov/Media/News-Stories/Article-View/Article/4470862/us-air-forc...
1•nxobject•22m ago•0 comments

BYD Seal 08 debuts with Blade Battery 2.0: 1,000km range, 5-min charging, 684hp

https://electrek.co/2026/04/27/byd-seal-08-blade-battery-2-1000km-range-beijing-auto-show/
2•breve•22m ago•0 comments

CATL says sodium batteries are mainstream-ready, signs 60 GWh deal

https://electrek.co/2026/04/27/catl-sodium-ion-battery-60gwh-energy-storage-deal/
2•breve•24m ago•0 comments

AgentCheck – Pytest for AI Agents

https://pypi.org/project/pygent-test/
2•ash_ai•27m ago•0 comments

GTFOBins

https://gtfobins.org/
27•StefanBatory•27m ago•1 comments

The next step beyond Lovable–where the AI doesn't just build the UI

https://www.extern.co.za/
2•Luncedo•27m ago•1 comments

IMDB introduces mandatory account: User reviews only readable after login

https://basic-tutorials.com/news/imdb-introduces-mandatory-account-user-reviews-only-readable-aft...
2•tokyobreakfast•28m ago•0 comments

Show HN: Modern alternative to Google Dictionary, AI-powered and context-aware

https://chromewebstore.google.com/detail/quickdef-–-ai-dictionary/ioepkncpchchdiookgpkckafhfjcehke
1•hanifrev•31m ago•0 comments

Show HN: Gate – AI workers handle dev tickets in a visual workspace

https://soliddark.net/gate
2•SolidDark•34m ago•0 comments

Cryptography Challenges KalmarCTF 2026

https://blog.zksecurity.xyz/posts/kalmar2026/
3•ahpuh•37m ago•0 comments

Curryvim, the new Neovim distro, that does not try to be VSCode

https://github.com/SyntaxError2505/curryvim
1•SyntaxError2505•48m ago•1 comments

Our response to the April 2026 incident

https://lovable.dev/blog/our-response-to-the-april-2026-incident
1•filleokus•58m ago•0 comments

Barbara Liskov: Data Abstraction, Dijkstra, Distributed Systems

https://www.developing.dev/p/turing-award-winner-data-abstraction
2•signa11•1h ago•0 comments

Show HN: Netflix for Internet Pirates

https://plank.lsreeder.com/
1•lsreeder01•1h ago•2 comments

Building an In-House Lovable

https://engineering.merciyanis.com/blog/going-ai-native-how-we-handed-our-backlog-to-agents
2•axi0m•1h ago•0 comments

Pompeii archaeologists use AI to reconstruct man killed in volcano's eruption

https://www.npr.org/2026/04/28/g-s1-118986/pompeii-archaeologists-use-ai-to-reconstruct-man-kille...
2•razorbeamz•1h ago•1 comments

Show HN: Nat-zero – Scale-to-zero NAT instances for AWS (Terraform module)

https://machine.dev/blog/nat-zero-scale-to-zero-nat-instances/
2•leonardosul•1h ago•1 comments

Porting a Scratch-Built 500M LLM Training Pipeline to ROCm on Strix Halo

https://github.com/epscylonb/1386.ai.rocm
1•thomasfromcdnjs•1h ago•0 comments

Wire: Secure Messenger from Berlin

https://wire.com/en/
2•cl3misch•1h ago•0 comments

Show HN: A narrative walk through AI history, paper by paper (1936–2025)

https://github.com/hgus107/A-Long-Walk-of-AI
1•hgus107•1h ago•0 comments

Vibe Coding Will Break Your Company

https://www.forbes.com/sites/jasonwingard/2026/04/23/vibe-coding-will-break-your-company/
52•sminchev•1h ago•44 comments