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.

Show HN: Fitness MCP

https://getfast.ai/claude-connector
1•tmulc18•2m ago•0 comments

Genome modelling and design across all domains of life with Evo 2

https://www.nature.com/articles/s41586-026-10176-5
1•salutis•5m ago•0 comments

SumatraPDF 3.6 Released

https://www.sumatrapdfreader.org/docs/Version-history#3-6-2026-03-17
2•clavis•6m ago•0 comments

Rede (small networks of LLM bots)

https://github.com/maxmetcalfe/rede
1•mmetcalfe•7m ago•0 comments

The Era of Compounding Language

https://benoitessiambre.com/compound.html
1•BenoitEssiambre•8m ago•0 comments

There Will Be Bundling (2025)

https://healthapiguy.substack.com/p/there-will-be-bundling
1•toomuchtodo•9m ago•0 comments

Traffic safety improvements frequently die by popular vote

https://www.fastcompany.com/91505393/traffic-safety-improvements-frequently-die-popular-vote-time...
2•oftenwrong•13m ago•0 comments

Qatabase – Learn SQL and Python with visual execution tools

https://qatabase.com
2•praveenpolu•14m ago•0 comments

AI Recruiters Read This First

https://indexme.dev
1•codyyyyliu•15m ago•0 comments

The Big [Censored] Theory (2022)

https://pudding.cool/2022/08/censorship/
3•mhitza•16m ago•2 comments

The Story of Marina Abramovic and Ulay (2020)

https://www.sydney-yaeko.com/artsandculture/marina-and-ulay
1•NaOH•17m ago•0 comments

From AI to Chip Consciousness: The Next Frontier

https://guanghuimao.substack.com/p/from-artificial-intelligence-to-chip
1•Ati985•22m ago•0 comments

Lightweight Formal Methods to Validate a Key-Value Storage Node in Amazon S3 [pdf]

https://assets.amazon.science/77/5e/4a7c238f4ce890efdc325df83263/using-lightweight-formal-methods...
1•badcryptobitch•22m ago•0 comments

Why Codex Security Doesn't Include a SAST Report

https://openai.com/index/why-codex-security-doesnt-include-sast/
2•gmays•24m ago•0 comments

Ask HN: How do you deal with people who trust LLMs?

24•basilikum•25m ago•18 comments

Will Meta lose money by laying off 20% of its workforce?

1•alanjacobson•28m ago•1 comments

Anthropic's Hidden Vercel Competitor "Antspace"

https://aprilnea.me/en/blog/reverse-engineering-claude-code-antspace
1•anurag•28m ago•0 comments

The War on Your Brain

https://josebriones.substack.com/p/the-war-on-your-brain
2•toomuchtodo•32m ago•0 comments

The Los Angeles Aqueduct Is Wild

https://www.youtube.com/watch?v=PhW2BjFQCZM
3•twoodfin•36m ago•0 comments

The US goods trade deficit hit a record $1.2T in 2025

https://www.nytimes.com/2026/03/18/business/economy/us-trade-deficit-ai-boom.html
1•qwikhost•39m ago•0 comments

Show HN: VMetal – run a GPU cloud on bare metal without OpenStack

https://www.vmetal.ai/
3•teb510•42m ago•0 comments

The dark psychosomatic history of asthma

https://mecfsscience.org/psychosomatic-history-of-asthma/
2•davikr•48m ago•0 comments

Agent Drift: The Mythical Man-Month and LM Teams (Claude Hallucinates Moltbook)

https://www.causalitylimited.com/p/the-inevitable-agent-drift
1•causalityltd•48m ago•1 comments

Marc Andreesen says he has a zero-introspection mindset

https://www.fastcompany.com/91510739/why-marc-andreessens-zero-introspection-approach-will-get-yo...
4•loteck•51m ago•2 comments

Your Frustration Is the Product

https://daringfireball.net/2026/03/your_frustration_is_the_product
1•celias•53m ago•0 comments

Silicon Valley Bet on War. The Bets Are Paying Off

https://www.nytimes.com/2026/03/18/technology/silicon-valley-war-defense-tech.html
1•bookofjoe•53m ago•1 comments

The Compleat Strategist King of Prussia Store to Close on April 25, 2026

https://www.thecompleatstrategist.com/blogs/compleat-strategic-updates/the-compleat-strategist-ki...
1•jdkee•54m ago•0 comments

Maiao: Easy, Gerrit-style, stacked diffs workflow for GitHub

https://github.com/adevinta/maiao
1•PaulHoule•58m ago•0 comments

White House orders restart of California coastal oil drilling

https://www.latimes.com/california/story/2026-03-13/trump-administration-orders-restart-of-califo...
1•gmays•59m ago•0 comments

AI is the final frontier of Copyleft

https://www.maffulli.net/2026/03/16/ai-final-frontier-of-copyleft/
2•killme2008•59m ago•0 comments