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.

Nullius in verba: the motto of the Royal Society

https://lawrencecpaulson.github.io//2026/06/17/Nullius.html
1•ibobev•2m ago•0 comments

Formalizing a ring theorem with Lean 4 and Claude

https://www.johndcook.com/blog/2026/06/17/rings-with-lean-claude/
1•ibobev•2m ago•0 comments

TrendHawk – AI pipeline that surfaces ideas from 25 subreddits HN doesn't read

https://trendhawk.substack.com/
1•DrWiseguy•2m ago•0 comments

We know more than we can tell

https://www.nvegater.com/blog/tacit-knowledge
1•nvegater•3m ago•0 comments

Show HN: Deputies (open-source background agent control plane)

https://deputies.dev/
1•spalas•3m ago•0 comments

The Transit Abundance Playbook

https://ifp.org/transit-abundance-playbook/
1•throw0101c•3m ago•0 comments

Show all: TacUNS – A free Android firewall I built solo over weekends

https://play.google.com/store/apps/details?id=com.tacu.nsfwzerotrust&hl=en_US
1•Tacuns•5m ago•0 comments

Austral

https://austral-lang.org/
2•tosh•5m ago•1 comments

Paste a meeting transcript, get a 30-60-90 day plan (runs locally, no LLM)

https://everpaula.github.io/marketplace-ops-toolkit/operating-plan-generator.html
1•notreve•5m ago•0 comments

Your AI Needs Scar Tissue

https://dev.to/gauzzastrip/your-ai-coding-agent-needs-scar-tissue-4g66
2•stevendeluth•6m ago•0 comments

Snap Launches $2,195 'Specs' Augmented Reality Glasses

https://www.macrumors.com/2026/06/16/snap-specs-ar-glasses/
1•bookofjoe•6m ago•0 comments

Mleak – mail metadata osint – latest release

https://addons.thunderbird.net/az/thunderbird/addon/mleak-mail-metadata-osint/
2•dash0r•6m ago•0 comments

Australian Trusted Logistics

https://www.tways.com.au
1•reidgyz•7m ago•0 comments

I Did the Animorphs Covers – By David Mattingly

https://myadventuresasanillustrator.substack.com/p/how-i-did-the-animorphs-covers
1•pavel_lishin•7m ago•0 comments

Apple collects every tap to deliver App Store personalized recommendations

https://xcancel.com/mysk_co/status/2064401062224879888
1•microflash•8m ago•0 comments

Autocatalytic Set

https://en.wikipedia.org/wiki/Autocatalytic_set
2•-_-•9m ago•0 comments

Beijing's New Message to Its Citizens: Your Money Belongs at Home

https://www.nytimes.com/2026/06/16/business/chinese-investors-restrictions.html
1•mikhael•9m ago•0 comments

How We Shipped Git-flow-next 1.0 Almost Entirely with AI

https://git-flow.sh/blog/posts/how-we-shipped-git-flow-next-1-0-with-ai/
2•speter•10m ago•0 comments

Setting the Standards Free

https://www.smpte.org/setting-the-standards-free
2•M2Ys4U•10m ago•0 comments

How Waterproof Is Oura Ring 5?

https://ouraring.com/blog/is-oura-ring-5-waterproof/
1•ilreb•11m ago•0 comments

"Mythos" at Home, and It's Called Aisle

https://stanislavfort.substack.com/p/mythos-at-home-and-its-called-aisle
3•goobreee•12m ago•0 comments

Translating with AI Does Not Trigger AI Detectors

https://translateabook.com/blog/ai-translation-does-not-trigger-ai-detectors
2•yoble•13m ago•0 comments

New Human Verification System for R/indiehackers

https://old.reddit.com/r/indiehackers/comments/1pk2rzb/new_human_verification_system_for_our_subr...
2•mmarian•13m ago•0 comments

Georgia is losing farmland fast. Is a state conservation fund enough to save it?

https://grist.org/food-and-agriculture/georgia-is-losing-farmland-fast-is-a-state-conservation-fu...
2•speckx•13m ago•0 comments

We got our AI code reviewer to run your code

https://www.greptile.com/blog/trex-code-execution
2•dakshgupta•14m ago•0 comments

Show HN: OctoPunk – a full-featured, AI-integrated GitHub client

https://www.octopunk.io/blog/introducing-octopunk
3•ldelossa•14m ago•0 comments

UChicago freezes PhD admissions to most humanities programs

https://www.hpherald.com/evening_digest/u-of-c-freezes-ph-d-admissions-to-most-humanities-program...
4•throw0101c•16m ago•1 comments

Agentic coding deserves more than a chat box bolted onto VS Code

https://github.com/evanklem/polypore
3•evanklem2004•17m ago•0 comments

Amazon Bedrock Managed Knowledge Base

https://aws.amazon.com/blogs/aws/introducing-amazon-bedrock-managed-knowledge-base-for-faster-mor...
2•ilreb•18m ago•0 comments

The technology and labour behind electronic death registration

https://www.cambridge.org/core/journals/medical-history/article/reengineering-us-death-data-colle...
2•danso•18m ago•0 comments