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.

SAGG – failover gateway for cheap LLM providers

https://api.privatedeskai.com/benchmarks
1•koroleva_labs•4m ago•0 comments

Genome Duplication Is an Evolutionary Gamble

https://www.quantamagazine.org/genome-duplication-is-a-radical-evolutionary-gamble-20260902/
1•gumby•5m ago•0 comments

Show HN: OpenMuse – an Open Source alternative to Meta's personal agent

https://github.com/diggerhq/openmuse/
1•iacguy•6m ago•0 comments

Anthropic Staffers Again Sound the Alarm on AI Catastrophe

https://www.motherjones.com/politics/2026/09/anthropic-ai-risks-coxon-amodei-openai-cybersecurity...
1•signa11•9m ago•0 comments

OpenAI's Bubeck denies trying to cut Anthropic mathematician from credit

https://thenextweb.com/news/bubeck-navier-stokes-account-apology-altman
1•htk•9m ago•0 comments

T-Mobile to Charge $5 a Month for iOS 27 iPhone Handoff

https://www.macrumors.com/2026/09/10/ios-27-iphone-handoff-cost/
2•seemaze•10m ago•0 comments

Review a pull request by booting it

https://fzakaria.com/2026/09/09/review-a-pull-request-by-booting-it
1•lalitmaganti•11m ago•0 comments

Let's Encrypt Outage

https://letsencrypt.status.io/pages/incident/55957a99e800baa4470002da/6aa35c1d892d7304f2747e01
1•takoid•12m ago•0 comments

Watermarks Without Verification: AI Text Watermarking After the EU AI Act

https://arxiv.org/abs/2609.09604
1•sbulaev•13m ago•0 comments

'Not selling my soul': Why this Aussie maths professor took on OpenAI

https://www.afr.com/world/north-america/not-selling-my-soul-why-this-aussie-maths-professor-took-...
1•Alien1Being•16m ago•0 comments

Tesla Autopilot was on in I-35 crash that killed its driver

https://electrek.co/2026/09/10/tesla-driver-assist-i35-guardrail-pattonsburg/
1•jijojv•17m ago•1 comments

Show HN: Kern Agent – See inside your agent's brain

https://github.com/oguzbilgic/kern-ai
1•obilgic•22m ago•0 comments

Try GPT-6 Astra for a few bucks

https://trylatestmodel.com/
2•Guustaaf•28m ago•1 comments

Hired to Code, He Built Hudson River Trading and a $27B Fortune

https://www.bloomberg.com/news/features/2026-09-10/how-jason-carroll-built-hudson-river-trading-a...
4•aanet•44m ago•1 comments

Vivaldi 8.2 for mobile: the browser. Your rules. Your extensions

https://vivaldi.com/blog/vivaldi-on-mobile-8-2/
4•thunderbong•44m ago•0 comments

A mini-game around fake news

https://unspin.hidden-pond-5e6a.workers.dev/
3•azermite•46m ago•0 comments

How My Students Think About AI

https://www.lesswrong.com/posts/ySXuvJcqRindQwAk7/how-my-students-think-about-ai
9•paulpauper•46m ago•1 comments

In Japan, Television Viewing Doesn't Have to Take a Back Seat (2013)

https://www.wsj.com/articles/SB10001424127887323296504578397020440247856
3•libpcap•47m ago•0 comments

How do Necco wafers, paper receipts, and farmers almanacs still exist?

https://thehustle.co/newsletters/09-09-2026
3•paulpauper•48m ago•0 comments

AI #185: Preference Cascade

https://thezvi.substack.com/p/ai-185-preference-cascade
2•paulpauper•48m ago•0 comments

Allow Carriers on Planes

https://www.jefftk.com/p/allow-carriers-on-planes
4•luu•54m ago•0 comments

Sky sphere representation in language models (29 Jul 2026)

https://arxiv.org/abs/2607.27092
2•throwaway81523•57m ago•0 comments

Show HN: Benzi – A Code Intillegence/Harness Beating Claude Code and CodeGraph

https://benzi.fly.dev/benchmark
7•tweedler290•57m ago•2 comments

A fossil feather in dinosaur poop may explain why birds survived mass extinction

https://phys.org/news/2026-09-fossil-feather-dinosaur-poop-birds.html
3•wglb•58m ago•1 comments

Continuous video of black hole radio observations challenges shock wave theory

https://phys.org/news/2026-09-video-black-hole-radio-theory.html
1•wglb•1h ago•1 comments

Zero heap allocation chess engine in OxCaml

https://github.com/ericlovesmath/oxcaml-chess
2•0xsn3k•1h ago•0 comments

Developer created an app to detect nearby Meta glasses

https://www.businessinsider.com/zuckoff-app-detects-meta-ai-smart-glasses-recording-privacy-2026-9
5•CarbonCycles•1h ago•2 comments

A galaxy with almost no stars? New Cloud-9 observations strengthen the case

https://phys.org/news/2026-09-galaxy-stars-cloud-case.html
1•wglb•1h ago•0 comments

I built a simulator for the iPhone Duo

https://progressier.com/iphone-duo-simulator
2•kbst•1h ago•2 comments

PanoDrop

https://www.panodrop.app/
3•dueffects•1h ago•0 comments