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.

Tired of chaos, investors retreat from oil market at record pace

https://www.reuters.com/business/energy/tired-chaos-investors-retreat-oil-market-record-pace-2026...
1•mriet•45s ago•1 comments

TerraWatch,GitHub App that scans Terraform PRs and posts exact fix in comment

https://terrawatch.dev
1•alejny•52s ago•0 comments

Is it feasible to self host OSS EU productivity suite? [A Mijn Bureau Review]

https://techstackups.com/articles/is-it-feasible-to-self-host-an-open-source-eu-sovereign-product...
1•sixhobbits•3m ago•0 comments

The WWII Invention That Changed Simulation Forever

https://www.halldale.com/defence/the-forgotten-wwii-invention-that-changed-simulation-forever
1•e12e•3m ago•0 comments

B-52 bomber crashes shortly after takeoff at California's Edwards Air Force Base

https://www.cnn.com/2026/06/15/us/b-52-crash-edwards-california
2•bluedino•5m ago•0 comments

Open Sourcing dbt's latest feature

https://github.com/orchestra-hq/sao-paolo
1•HugoLu88•6m ago•1 comments

The UKs Smartphone Nude Filter Plan Is Insane

https://worldofmatthew.com/blog/nudefilter/
1•worldofmatthew•7m ago•0 comments

'The Phoenix' magazine to cease publication

https://www.independent.ie/business/irish-business/the-phoenix-magazine-to-cease-publication/a/15...
2•austinallegro•8m ago•0 comments

Show HN: Transpilatron – an AI tool that converts Python code into C binaries

https://github.com/NoodlixProject/transpilatron
2•johnnytech•9m ago•0 comments

Commander Keen Games (free book)

https://forgottenbytes.net/
2•tzury•10m ago•0 comments

Clojure is almost as fast as C (with some help)

https://ertu.dev/posts/4_clojure-reaching-c-performance/
2•ertucetin•11m ago•0 comments

The Grain of Thought

https://asker.dev/grain-of-thought
2•caminmccluskey•11m ago•1 comments

I built a chess trainer. Looking for beta testers

https://chesstrain.net
2•Blaskooo•12m ago•0 comments

Anthropic pauses credit change for Claude Code

4•fabianlindfors•12m ago•0 comments

Show HN: All 194 YC Spring 2026 startups scored from public data

https://fluenta.space/resources/reports/yc-spring-2026-batch-scored
2•OlegIvanov•12m ago•0 comments

US battery manufacturing output continues to break records

https://fred.stlouisfed.org/series/IPG33591S
4•epistasis•12m ago•0 comments

We built a PaaS that survives AWS region outages by default

https://platform.kubernetix.ai
2•iamafounder•12m ago•0 comments

Show HN: Does a vibe leak? Fine-tuning an LLM on an attitude it never states

https://github.com/leo-dcfa/ai-latent-bias-transfer
2•neurodivergent•14m ago•0 comments

Kedgr – AI code scanner that never stores your source code

2•kedgr•15m ago•0 comments

JWT Decoder

https://fusionauth.io/docs/dev-tools/jwt-decoder
2•mooreds•15m ago•0 comments

Gen Z Doesn't Trust Anyone

https://www.graphsaboutreligion.com/p/gen-z-doesnt-trust-anyone
3•toomuchtodo•15m ago•2 comments

June 2026 Stealer Logs Data Breach

https://haveibeenpwned.com/Breach/June2026StealerLogs
2•sanqui•16m ago•0 comments

Show HN: Macro – unified system for email, chat, tasks, docs, agents (AGPL/Rust)

https://github.com/macro-inc/macro
4•jbecke•16m ago•0 comments

Show HN: We built an 8-bit CPU as 2nd year EE students

https://github.com/c0rRupT9/STEPLA-1
3•CorRupT9•17m ago•0 comments

AI and Amateurism

https://pluralistic.net/2026/06/15/vernacular/#hypercardian
3•samizdis•23m ago•1 comments

UK's social media age ban requires an identity layer. That changes everything

https://bbs.splinternet.org/manifesto.html
1•arfuzzum•24m ago•0 comments

Serendipity: The Role of Luck in Your Life and Career

https://ritholtz.com/2026/06/recognize-the-role-of-luck-in-your-life-and-career/
2•zdw•24m ago•0 comments

Price drop notice from Google re. One/AI service

https://9to5google.com/2026/06/08/google-ai-plus-price-drop/
1•imperialdrive•24m ago•1 comments

I Love the Computer

https://michaelenger.com/blog/i-love-the-computer/
12•speckx•26m ago•0 comments

What job interviews taught me about Kubernetes

https://notnotp.com/notes/what-job-interviews-taught-me-about-kubernetes/
2•chmaynard•28m ago•0 comments