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.

A New Way to Blend Borrow Checking and Reference Counting

https://verdagon.dev/blog/ante-blending-borrowing-rc
1•surprisetalk•2m ago•0 comments

Schools are closed, records are broken. Let's talk heatwaves

https://www.not-ship.com/heatwaves/
1•speckx•3m ago•0 comments

What AI music tool has the best workflow?

1•melogen_studio•5m ago•0 comments

Finding the cause of minor contagious metadata corruption in exiv2

https://me.micahrl.com/blog/minor-contagious-corruption-exiv2/
1•mrled•7m ago•0 comments

Will machines replace humans? A chess grandmaster has thoughts

https://www.washingtonpost.com/opinions/2026/06/30/garry-kasparov-is-not-afraid-machines/
1•kator•8m ago•1 comments

Show HN: Fiwano – Unified API for WhatsApp, Instagram DM and Facebook Messenger

https://github.com/fiwano-com/fiwano-cookbook
1•rmnbb•9m ago•0 comments

Most rewrites serve the engineer, not the business

https://anatoliybabushka.com/blog/when-to-rewrite-working-code.html
1•bbsnly•10m ago•0 comments

Show HN: Ekbatan – Java persistence framework for event-driven systems

https://zyraz-io.github.io/ekbatan/
1•unikzforce•10m ago•0 comments

Show HN: Drag'n'drop OpenCode Config Generator

https://nenadg.github.io/opencode-configurator/
1•nenadg•10m ago•0 comments

Show HN: Munin – open-source headless HubSpot alternative

https://github.com/getmunin/munin
2•kman_85•11m ago•0 comments

SocOCRbench – An OCR benchmark for social science documents

https://noahdasanaike.github.io/posts/sococrbench.html
1•KnightHawk3•11m ago•0 comments

Whither – HTTP redirect service powered by Wikipedia

https://whither.link/
2•dopple•12m ago•1 comments

Show HN: AgentShare Agent Readiness – Scan and optimize your site for AI bots

https://chromewebstore.google.com/detail/agentshare-agent-readines/nimndnhajfkicbnipbfdkmgencjejjed
1•Anh_Nguyen_vn•13m ago•0 comments

I Spent a Week in a Hacker House

https://www.theatlantic.com/technology/2026/06/hacker-houses-ai-boom-san-francisco/687737/
1•samizdis•15m ago•0 comments

Yt-Dlp Sequence Diagrams

https://app.ilograph.com/demo.ilograph.yt-dlp/Download%2520a%2520YouTube%2520Video
3•billyp-rva•17m ago•0 comments

Show HN: Open Schematics V2 – Largest open electronic schematics dataset

https://huggingface.co/datasets/bshada/open-schematics
1•_bshada•18m ago•0 comments

How Time Series Databases Work–and Where They Don't

https://www.honeycomb.io/blog/time-series-database
1•tosh•21m ago•0 comments

I Type Holes in Keyboard Covers – This One Survived

https://medium.com/@jamesgarside_/i-type-holes-in-keyboard-covers-e5664732ef93
1•monkeymagick•21m ago•0 comments

Buddhism and Big Bird Will Make You Brave

https://medium.com/the-taoist-online/buddhism-and-big-bird-will-make-you-brave-3b293b52078e
1•monkeymagick•23m ago•0 comments

Incorporate Monads and Category Theory

https://github.com/promises-aplus/promises-spec/issues/94
1•fagnerbrack•24m ago•0 comments

Observability Engineering (2nd Edition)

https://www.honeycomb.io/blog/honeycomb-releases-second-edition-observability-engineering-redefin...
1•tosh•24m ago•0 comments

EU: Proposed reform dangerously erodes privacy, automates surveillance

https://protectnotsurveil.eu/resources/press-release-europol-mandate-overhault-2026/
2•nickslaughter02•25m ago•2 comments

Online Age Verification Law Could Kill Whistleblowing – Dropsafe

https://alecmuffett.com/article/161713
2•bilsbie•25m ago•0 comments

Honeycomb: Migrating to Time Series Metrics

https://docs.honeycomb.io/troubleshoot/product-lifecycle/recommended-migrations/migrate-to-time-s...
1•tosh•25m ago•0 comments

The Drivers, Dynamics, and Applications of the Pro-Russia Influence Ecosystem

https://cloud.google.com/blog/topics/threat-intelligence/pro-russia-influence-ecosystem/
1•hacb•28m ago•0 comments

Verification, not generation, is the bottleneck in AI coding

https://spark.temrel.com/p/the-audit-tax-why-your-agent-made-you-slower-d4e0
1•bentemrel•28m ago•0 comments

American Pride Falls to 25-Year Record Low

https://news.gallup.com/poll/711938/american-pride-falls-year-record-low.aspx
4•giuliomagnifico•31m ago•0 comments

Show HN: I indexed 37h of my videos using an RTX 4090 and local ML models in 24h

1•iliashad•34m ago•1 comments

A single MR with 52k commits had stalled GitLab CI

https://gitlab.com/gitlab-com/gl-infra/production/-/work_items/22412
5•ramon156•36m ago•0 comments

GitLab CI Is Down

https://status.gitlab.com/
4•absqueued•36m ago•1 comments