frontpage.
newsnewestaskshowjobs

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•1y ago

Comments

llm-exe•1y 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•1y 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.

Adapt or Perish: What Mathematicians Must Learn from Software Engineers

https://medium.com/@b1nj0y/the-misalignment-is-within-why-mathematics-must-embrace-the-ai-paradig...
1•b1nj0y•1m ago•0 comments

Mastering Layout Engines in Graphviz: Dot vs. Neato vs. Twopi vs. Circo

https://guides.visual-paradigm.com/mastering-graphviz-layout-engines-dot-neato-twopi-circo/
1•vismit2000•5m ago•0 comments

Linux from Scratch

https://www.linuxfromscratch.org/
1•sippingabonedry•7m ago•0 comments

A Faster Approach to Ethereum Wallet Activity Patterns and Transaction Summaries

https://chainledgerai.io/blog/beyond-bigquery-a-faster-approach-to-ethereum-wallet-activity-patte...
1•oculix-official•9m ago•0 comments

Streamlining Your Strategy: The Power of Automated Real Estate Descriptions

https://propdescai.io/blog/streamlining-your-strategy-the-power-of-automated-real-estate-descript...
1•oculix-official•11m ago•0 comments

Archkeel – coding agents declare architecture changes before they submit

https://github.com/rapiddweller/archkeel
1•ake2l•11m ago•0 comments

The Three Lives of Clausewitz: How Anglo-American Strategists Remade "On War"

https://smallwarsjournal.com/2026/07/21/three-lives-of-clausewitz-on-war/
1•bryanrasmussen•13m ago•1 comments

The Butlerian Secession

https://the-human-alliance.org/
1•tcorcos•14m ago•0 comments

Shuffling Is Not Enough: Breaking Permutation-Based Model Confidentiality

https://arxiv.org/abs/2609.12911
1•sbulaev•16m ago•0 comments

We Automate KiCad PCB Routing

https://autocuro.com/blog/how-we-automate-kicad-pcb-routing
2•teleforce•17m ago•0 comments

KiCad Routing Tools

https://github.com/drandyhaas/KiCadRoutingTools
2•teleforce•17m ago•0 comments

See how well you know the sizes of things

https://playdaily.org/size-it-up
4•Hemmaamlin•19m ago•0 comments

How to Build a Practical Household Bike Generator

https://solar.lowtechmagazine.com/2022/03/how-to-build-a-practical-household-bike-generator/
1•fosco•19m ago•1 comments

Superhuman acquires YC-backed notetaker Fathom

https://techcrunch.com/2026/09/14/superhuman-acquires-yc-backed-notetaker-fathom-as-productivity-...
1•doppp•27m ago•0 comments

Ask HN: How to Protect Your Brand Before AI Copies It?

1•soltanov•27m ago•0 comments

Europe must build own AI, says ECB's Lagarde

https://www.theguardian.com/technology/2026/sep/14/europe-ai-datacentres-growth-us-china-ecb-chri...
1•FearNotDaniel•27m ago•2 comments

Let Go of the Wheel – Claude Our Lord

https://claudeourlord.com/
1•yippee0000•27m ago•0 comments

Confessions of an Unrepentant Slop Snob

https://charity.wtf/p/confessions-of-an-unrepentant-slop
1•backlit4034•28m ago•0 comments

Rethinking skills and prompts for GPT-6 Astra

https://developers.openai.com/blog/rethinking-skills-and-prompts-for-gpt-6-astra
1•soltanov•29m ago•0 comments

Clonaid (2002)

https://en.wikipedia.org/wiki/Clonaid
1•zeckalpha•29m ago•0 comments

KelvinAI

https://kelvinai.ai/
1•lzyuan1006•33m ago•0 comments

Discrete Beckmann Transport Models for One-Step Language Modeling and Reasoning

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

Oil Executives Say the Great Fuel Crisis Is Here

https://www.wsj.com/business/energy-oil/oil-executives-say-the-great-fuel-crisis-is-here-b6b32030
18•toomuchtodo•34m ago•11 comments

Bounded Ratios for Lorentzian Polynomials

https://arxiv.org/abs/2609.05341
2•soltanov•34m ago•1 comments

US confirms for first time it has deployed space weapons

https://www.bbc.com/news/articles/ck790xg41ygro
3•harporoeder•35m ago•0 comments

China hit back at Anthropic CEO's call to curb China's AI development

https://www.youtube.com/watch?v=BIM5G5kFYAg
2•LebToki•35m ago•0 comments

Researchers find Apple Pay, Visa contactless hack

https://www.bbc.com/news/technology-58719891
2•harambae•37m ago•0 comments

The Zuiderzee Project

https://lorentz.leidenuniv.nl/history/zuiderzee/zuiderzee.html
1•nill0•40m ago•0 comments

Crof.ai Was Caught Misrepresenting Models, Shut Down

https://reddit.com/r/SillyTavernAI/comments/1wgkagq/crofai_model_provider_just_shut_down_fraudule...
2•monksy•41m ago•0 comments

Crumb Advanced Circuit Simulator

https://store.steampowered.com/news/app/2198800/view/680761125088789335
1•starkparker•41m ago•0 comments