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.

GitHub project reproduces 58 Schmidhuber papers with AI assistant

https://twitter.com/hardmaru/status/2053147759428178315
1•momentmaker•5m ago•0 comments

Crypto exchange Coinbase to lay off 14% of staff as AI reshapes work

https://www.latimes.com/business/story/2026-05-05/crypto-exchange-coinbase-to-lay-off-14-of-staff...
1•1vuio0pswjnm7•7m ago•0 comments

Coinbase steep first quarter loss after slide in crypto prices; shares fall 4%

https://www.cnbc.com/2026/05/07/coinbase-coin-earnings-q1-2026.html
2•1vuio0pswjnm7•9m ago•2 comments

Superintelligent Retrieval Agent: The Next Frontier of Information Retrieval

https://arxiv.org/abs/2605.06647
1•CharlesW•9m ago•0 comments

Opus 4.7 and DeepSeek V4-Pro select Buddhism as preferred religion

https://twitter.com/tszzl/status/2053022747765457005
3•momentmaker•11m ago•0 comments

Antitrust Remedies Order Takes Effect as US Judge Denies Google's Stay Motion

https://www.law.com/nationallawjournal/2026/05/08/antitrust-remedies-order-takes-effect-as-us-jud...
2•1vuio0pswjnm7•17m ago•0 comments

Silverback Imfura took a chance, and ended up alone

https://gorillafund.org/mountain-gorillas/silverback-imfura-took-a-chance-and-ended-up-alone/
2•alex000kim•19m ago•0 comments

Probe-Detected Grokking in Multi-Probe DPO

https://openinterp.org/research/papers/probe-detected-grokking-dpo
3•caiovicentino•23m ago•0 comments

Transpiler.us – dev tools platform with Solana Pay USDC on mainnet

https://transpiler.us
2•jeah84•25m ago•0 comments

Two-Tier Verbalization in Natural Language Autoencoders

https://openinterp.org/research/papers/nla-two-tier-verbalization
2•caiovicentino•26m ago•0 comments

Show HN: Generate a variety of ad creatives for your SaaS

https://zenduxai.com
2•total_plus•26m ago•0 comments

Why 'quantum proteins' could be the next big thing in biology

https://www.nature.com/articles/d41586-026-00662-1
2•bookofjoe•27m ago•1 comments

Implementing a Virtual Filesystem over Elasticsearch

https://leoniemonigatti.com/blog/virtual-filesystem-elasticsearch.html
2•eigenBasis•29m ago•0 comments

Sparse Cholesky Elimination Tree

https://www.reidatcheson.com/sparse/linear/cholesky/2026/04/09/etree.html
2•selimthegrim•32m ago•0 comments

Palette Masters: 46 Zed themes derived from master painter color palettes

https://github.com/regnull/palette-masters-zed
2•regnull•34m ago•1 comments

Abstract Machines for Logic Programs

https://chrisistyping.bearblog.dev/abstract-machines-for-logic-programs/
3•surprisetalk•36m ago•0 comments

Rex is a secure script execution engine that uses Cedar policies

https://github.com/trusted-remote-execution/trusted-remote-execution
2•mooreds•37m ago•0 comments

Do houseplants improve air quality?

https://www.economist.com/science-and-technology/2026/05/08/do-houseplants-improve-air-quality
3•andsoitis•38m ago•0 comments

Analysis points to a unexpected cause of reading difficulties

https://phys.org/news/2026-05-years-struggles-obvious-massive-analysis.html
2•wglb•40m ago•1 comments

Grok 4.3

https://docs.x.ai/developers/models
2•webninja•41m ago•0 comments

AI creates a fearsome cold-war-style dilemma

https://www.economist.com/china/2026/05/07/ai-creates-a-fearsome-cold-war-style-dilemma
3•andsoitis•41m ago•0 comments

Visit a Mosque in video game format and learn things about Islam

https://islamicsystems.itch.io/the-mosque-visit
3•JSLegendDev•45m ago•0 comments

Build Your Own ALU

https://virissimo.info/build-your-own-alu/
2•virissimo•49m ago•1 comments

Why saying hello to strangers can be good for you

https://text.npr.org/g-s1-119761
2•1659447091•49m ago•0 comments

DeepInfra raises $107M Series B

https://deepinfra.com/blog/deepinfra-series-b
3•didon•51m ago•0 comments

Some gene therapies no longer require clinical trials, thanks to new FDA rule

https://www.livescience.com/health/some-gene-therapies-no-longer-require-clinical-trials-thanks-t...
3•geox•52m ago•0 comments

What Software Engineers Can Learn from the Aviation Industry

https://mwalterskirchen.dev/blog/piloting-agentic-engineering/
2•JSLegendDev•53m ago•0 comments

Chasing Chicago's movable bridges (2014)

https://aresluna.org/seesaws-for-giants/
3•NaOH•54m ago•0 comments

Windows 11 is getting faster the lazy way

https://www.neowin.net/opinions/windows-11-is-getting-faster-the-lazy-way/
3•bundie•56m ago•0 comments

A multiplayer poll where you have 10 seconds to answer

https://polls.araoz.net/poll/pilot
2•maraoz•1h ago•0 comments