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

Comments

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

JitAPI – An MCP server for dynamic tool discovery (34x fewer tokens)

https://github.com/nk3750/jitapi
1•peaknk•1m ago•0 comments

Everything Wrong with Material 3 Expressive (2025)

https://xylight.dev/posts/everything-wrong-with-m3e
2•Velocifyer•2m ago•0 comments

The last human profession will be

https://hundredmondays.substack.com/p/the-last-human-profession-will-be
1•capnchaos•3m ago•0 comments

Nixcache-oci: Use GHCR as a Nix binary cache

https://github.com/cmspam/nixcache-oci
1•n8henrie•3m ago•0 comments

Show HN: I Built Paul Graham's Intellectual Captcha Idea

https://mentwire.com/sample
2•nowflux•3m ago•0 comments

'Treasure trove' of antiviral proteins could inspire powerful molecular tools

https://www.nature.com/articles/d41586-026-01011-y
2•prabal97•4m ago•0 comments

I am thinking of open sourcing my medical information as an LLM wiki – advice?

2•kranke155•4m ago•0 comments

The 20-Year-Old Chess Prodigy Laying Waste to the Top Grandmasters

https://www.wsj.com/sports/javokhir-sindarov-candidates-tournament-chess-9a50a66a
1•tortilla•5m ago•0 comments

I Built a Functional Cognitive Engine

https://github.com/youngbryan97/aura
1•bryanyoung97•6m ago•0 comments

Launch HN: Freestyle: Sandboxes for AI Coding Agents

https://www.freestyle.sh
2•benswerd•7m ago•0 comments

Tell HN: Google bot suspended our startup's email with 0 human recourse

1•FounderLindsay•8m ago•1 comments

Show HN: Pg_kazsearch – Full-text search for Kazakh in PostgreSQL

https://github.com/darkhanakh/pg-kazsearch
2•darkhanakh•9m ago•1 comments

Sum Ergo Demonstro

https://linusakesson.net/scene/sum-ergo-demonstro/index.php
2•adunk•11m ago•0 comments

No KYC Casino and Cold Wallet: The Ultimate Anonymous Gambling Setup 2026

https://playonstake.eu/blog/no-kyc-casino-cold-wallet-the-ultimate-anonymous-gambling-setup-2026
1•onedah•11m ago•0 comments

Artemis II, Apollo 8, and Apollo 13

https://www.johndcook.com/blog/2026/04/02/artemis-apollo/
2•ibobev•12m ago•0 comments

Hyperbolic Version of Napier's Mnemonic

https://www.johndcook.com/blog/2026/04/02/hyperbolic-napier-mnemonic/
1•ibobev•12m ago•0 comments

We built a unified API for EHR integrations

https://www.usecobalt.com/
1•bryanmillstein•13m ago•0 comments

Play Is Winding Down

https://createwithplay.com/play-update-2
1•edude03•15m ago•1 comments

Top Level System – A modular C microkernel with 50 hot-loadable modules

https://github.com/garacil/TopLevelSystem
2•tecnoxarxa•15m ago•1 comments

You're measuring code coverage wrong

https://getotterwise.com/blog/you-are-measuring-code-coverage-wrong
2•lasserafn•15m ago•0 comments

Jeevanyatra – The Human Lifecycle as a 7-State Finite State Machine

https://prachi.onslate.in/
1•buddhahastha•15m ago•0 comments

Show HN: GovAuctions lets you browse government auctions at once

https://www.govauctions.app/
2•player_piano•18m ago•0 comments

Show HN: NfcGuard – Block distracting apps with NFC tags

https://github.com/Andebugulin/nfcGuard
1•Andebugulin•18m ago•0 comments

Show HN: Orchestrating AI into reviewable PRs you can reason about

https://github.com/ninthwave-sh/ninthwave
1•roblambell•19m ago•0 comments

A NAS appliance built on bcachefs

https://github.com/nasty-project/nasty
2•khajdamowicz•21m ago•1 comments

US-Iranian War: a best case scenario

https://kamilkazani.substack.com/p/us-iranian-war-a-best-case-scenario
3•enaaem•21m ago•0 comments

Molecule in Python blood could pave way for new obesity drugs, scientists say

https://www.theguardian.com/science/2026/mar/19/molecule-python-blood-metabolism-obesity-weight-l...
2•PaulHoule•23m ago•0 comments

I Replaced Kafka, Redis, and RabbitMQ with One Tool – A Deep Dive into NATS

https://medium.com/@jainal/i-replaced-kafka-redis-and-rabbitmq-with-one-tool-heres-what-i-learned...
4•jainal09•23m ago•0 comments

An Actual Alternative to Originalism

https://www.scotusblog.com/2026/04/an-actual-alternative-to-originalism/
1•Tomte•23m ago•0 comments

81yo Dodgers fan can no longer get tickets because he doesn't have a smartphone

https://twitter.com/Suzierizzo1/status/2040864617467924865
47•josephcsible•24m ago•25 comments