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.

Ask HN: Need advice on distributing and testing what I build

1•darth-pixit•1m ago•0 comments

Google Has Added Agentic Browsing to PageSpeed Insights

https://pagespeed.web.dev/analysis/https-hawksley-dev/bo27z46k5x
1•ethanhawksley•1m ago•1 comments

Lines-of-code considered helpful (or we stop taking sick peoples temperatures)

https://legostormtroopr.substack.com/p/lines-of-code-considered-helpful
1•legostormtroopr•5m ago•0 comments

Spotting Mushrooms

https://verfassungsblog.de/spotting-mushrooms/
1•jruohonen•15m ago•0 comments

Building a Dense Agentic AI CPU Rack Today

https://www.servethehome.com/building-a-dense-agentic-ai-cpu-rack-amd-dell-today/
1•ksec•21m ago•1 comments

Temporary Cloudflare Accounts for AI Agents

https://blog.cloudflare.com/temporary-accounts/
1•farhadhf•22m ago•0 comments

AI that can find the location of images

https://geoaxis.ai
2•GeoAxisAI•23m ago•0 comments

Large Language Models Hack Rewards, and Society

https://arxiv.org/abs/2606.04075
1•sva_•23m ago•0 comments

How to sync messages of Claude Code extension in VS Code and Claude Code app?

https://github.com/budhasantosh010/claude-code-session-bridge
1•realsanb•24m ago•0 comments

„We all leave digital footprints on the internet"

https://www.mpg.de/26430251/interview-troncoso-ueberwachung
1•jruohonen•29m ago•1 comments

Apple patches high-severity eavesdropping vulnerability in Beats Studio Buds

https://arstechnica.com/apple/2026/06/apple-patches-high-severity-eavesdropping-vulnerability-in-...
1•joozio•37m ago•0 comments

Local Models, Friction and Struggle

https://garden.azl.au/ai/local-models/local-models-friction-struggle
1•neurodivergent•40m ago•1 comments

Safe SIMD in Rust, even on the inside

https://shnatsel.medium.com/safe-simd-in-rust-even-on-the-inside-c6f1ff381828
1•g0xA52A2A•40m ago•0 comments

As China gorges on homegrown foie gras, France faces a new rival

https://www.reuters.com/world/asia-pacific/china-gorges-homegrown-foie-gras-france-faces-new-riva...
2•JumpCrisscross•42m ago•1 comments

Mochallama

https://deemwar-products.github.io/mochallama/
1•deemwar•44m ago•0 comments

Mack.ns.cloudflare.com

https://blog.cloudflare.com/welcome-to-connectivity-cloud/
1•SajjuRoy•45m ago•0 comments

Bootimus – A Self-Contained PXE and HTTP Boot Server

https://bootimus.com
2•car•46m ago•0 comments

We Ran the Numbers. Remote Work Is Bad for Us

https://www.nytimes.com/2026/06/17/opinion/remote-work-depression.html
1•Anon84•47m ago•0 comments

Apple unifies device management in devicectl: Impact on iOS test automation and

https://bitrise.io/blog/post/wwdc-2026-device-hub-and-what-it-means-for-ci-cd
1•birdculture•49m ago•0 comments

CSSQuake

https://cssquake.com/
4•msalsas•51m ago•1 comments

Enthusiastic Fear

https://patent.dev/enthusiastic-fear/
2•funktionslust•58m ago•0 comments

The Classic Movie That Was Nearly Destroyed by a Single Line of Code

https://www.wsj.com/business/media/toy-story-5-saved-pixar-78e29161
2•impish9208•58m ago•1 comments

UK's top data and AI regulator quits after 'inappropriate' humour

https://www.bbc.co.uk/news/articles/c0eyq7rnn22o
3•nephihaha•1h ago•0 comments

A Web-Scale Data Engine for Video-to-Action Robot Learning

https://huggingface.co/spaces/Rice-RobotPI-Lab/EgoInfinity
1•jacobedawson•1h ago•0 comments

Lakehouse//RT

https://www.databricks.com/blog/introducing-lakehousert-real-time-performance-unified-lakehouse
1•tosh•1h ago•0 comments

I have not written a line of code in five months

https://blog.grod.es/i-have-not-written-a-line-of-code-in-five-months
2•grodes•1h ago•0 comments

BudgetZen

1•ByrsaTeam•1h ago•0 comments

Can 'We the People' Survive the AI Revolution?

https://www.wsj.com/opinion/can-we-the-people-survive-the-ai-revolution-f9154ba1
1•bookofjoe•1h ago•1 comments

Open Source for IBM Z and LinuxONE

https://community.ibm.com/community/user/blogs/elizabeth-k-joseph1/2026/06/18/linuxone-open-sourc...
1•ncruces•1h ago•0 comments

Rethinking vulnerability management in the age of AI and CI/CD

https://blog.apnic.net/2026/06/19/rethinking-vulnerability-management-in-the-age-of-ai-and-ci-cd/
2•jruohonen•1h ago•1 comments