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.

Athena: First cross-domain behavioral foundation model

https://markopolo.ai/newsroom/athena/
1•djshah•2m ago•0 comments

LightProto: Zero-alloc Protobuf for Java, up to 8x faster than Google's protobuf

https://github.com/streamnative/lightproto
1•matteomerli•2m ago•0 comments

Show HN: Anduin – A fast cross platform Git diff viewer inspired by Magit

https://github.com/ishanray/anduin
1•ishanr•3m ago•0 comments

Cell phone radiofrequencies make mice and rats live longer

https://github.com/zanekoch/airpods-go-brrrrr
1•LouisLazaris•4m ago•0 comments

Owesa. Professional Networking

https://www.owesa.com/
1•kelsey-owesa•9m ago•1 comments

The BIP

https://casey.github.io/blog/the-bip/
1•greyface-•9m ago•0 comments

UAE temporarily closes airspace as Middle East war forces flight disruptions

https://www.cnbc.com/2026/03/17/uae-airspace-closure-dubai-airport-drone-strike-middle-east-fligh...
1•petethomas•11m ago•0 comments

Show HN: Atlas for Laravel v2.5 Released

https://github.com/atlas-php/atlas
1•tmarois•14m ago•0 comments

Speeding up HTML generation by 2000%

https://bobrubbens.nl/post/speeding-up-html-generation-2000/
1•PaulHoule•16m ago•0 comments

How to Talk to Computers

https://a11ce.com/talk-to-computers.html
1•kawelea•17m ago•0 comments

Manifesto on Symbiosis: A New Paradigm for Civilization Part II

1•acehs•18m ago•0 comments

Enterprise for OpenBAO – Open Source HashiCorp Vault alternative

https://control-plane.io/enterprise-for-openbao/
1•donutshop•19m ago•0 comments

Building an Analogue Computer to Simulate Neurons

https://hackaday.com/2026/03/08/building-an-analogue-computer-to-simulate-neurons/
1•pilingual•25m ago•0 comments

Generalising the Fast Reciprocal Square Root Algorithm (2023)

https://arxiv.org/abs/2307.15600
1•adampunk•26m ago•1 comments

The future of Amazon coders is the present of Amazon warehouse workers

https://pluralistic.net/2025/03/13/electronic-whipping/
14•martin-t•28m ago•1 comments

An engineering thesis disguised as a coupe: A history of the Honda Prelude

https://arstechnica.com/cars/2026/03/an-engineering-thesis-disguised-as-a-coupe-a-history-of-the-...
3•ProAm•28m ago•0 comments

Show HN: 1k desktop beats vendor sparse library 474× on Mistral-7B

https://rolv.ai/
1•heggenhougen•30m ago•0 comments

The Self-Defeating Prophecy (and How It Works)

https://unintendedconsequenc.es/the-self-defeating-prophecy/
1•paulorlando•30m ago•0 comments

Show HN: Skill-Crypt – encrypted skill sharing between AI agents over XMTP

https://github.com/skillcrypt-alt/skill-crypt
1•skillcrypt•32m ago•0 comments

She Hoped Ketamine Would Rewire Her Brain. She Didn't Live to See It Work

https://www.wsj.com/health/wellness/ketamine-telehealth-dangers-4a7bc8da
1•fortran77•33m ago•1 comments

More transparency and control over Gemini API costs

https://blog.google/innovation-and-ai/technology/developers-tools/more-control-over-gemini-api-co...
1•y1n0•35m ago•0 comments

FriendHike – Social hiking platform for finding trails and hiking partners

https://friendhike.com
1•renatello•35m ago•1 comments

The emdash of vibecoded UIs

https://twitter.com/allgarbled/status/2033698785529082144
2•ramoz•37m ago•0 comments

NVIDIA's new DLSS 5 drops with uncanny AI filters

https://www.windowscentral.com/gaming/nvidias-new-dlss-5-drops-with-uncanny-ai-filters-and-youtub...
2•FroshKiller•38m ago•0 comments

$1 API architecture to use in new ideas

https://imgur.com/a/Z3iZene
1•lucastonelli•38m ago•1 comments

Just when you thought the chip shortage was ending wafers until 2030

https://www.reuters.com/world/asia-pacific/south-koreas-sk-group-chairman-expects-chip-wafer-shor...
1•Horatius77•40m ago•2 comments

Show HN: TLA PreCheck – TS DSL that proves state machines via TLA+

https://github.com/kingbootoshi/tla-precheck
2•bootoshi•42m ago•0 comments

Trump asking for China's warships to help in opening of Strait of Hormuz

https://finance.yahoo.com/news/trump-call-chinese-warships-hits-110000824.html
5•mandeepj•42m ago•1 comments

AI can guess gay or straight from photographs, with 91% accuracy (2017)

https://www.theguardian.com/technology/2017/sep/07/new-artificial-intelligence-can-tell-whether-y...
1•maxloh•46m ago•0 comments

Video Encoding and Decoding with Vulkan Compute Shaders in FFmpeg

https://www.khronos.org/blog/video-encoding-and-decoding-with-vulkan-compute-shaders-in-ffmpeg
1•y1n0•51m ago•0 comments