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.

9 Ads per Minute: FIFA Cup 26 – "the price of the beautiful game"

https://www.bristol.ac.uk/news/2026/september/world-cup-viewers.html
2•KellyCriterion•4m ago•1 comments

Where Jev worked for us, and where it didn't

https://gitloom.ai/blog/jev-in-production
1•aozisik•6m ago•0 comments

Fundraising advice for non-US founders

https://twitter.com/thatsallsal/status/2102120798899368070
1•salman10•10m ago•1 comments

A Self-Evident Essay Arguing for the Use of AI in Writing

https://github.com/Sheer-Economics/the-sins-of-AI-writing
1•sheereconomics•12m ago•0 comments

Londoner jailed for selling £2.7M of fake vinyl on "industrial scale"

https://www.nme.com/news/music/londoner-jailed-for-selling-2-7million-of-fake-vinyl-on-industrial...
1•01-_-•12m ago•0 comments

Migrating the GitHub Copilot Runtime to Rust, Using Copilot

https://github.blog/ai-and-ml/generative-ai/migrating-the-github-copilot-runtime-to-rust-using-co...
2•thatslast•14m ago•0 comments

Adventures in AI Apathy

https://iconsolutions.com/blog/adventures-in-ai-apathy
1•paltaie•15m ago•0 comments

Wikipedia's Plan to Survive the Answer Engine Apocalypse

https://www.adweek.com/media/wikipedia-survive-answer-engine-apocalypse/
1•giuliomagnifico•15m ago•0 comments

OMLX creator&maintainer Jun Kim joins Hugging Face to support the MLX community

https://huggingface.co/blog/omlx
1•sails01•16m ago•1 comments

ESP-MQTTunnel – A $3 hardware proxy over MQTT

https://github.com/hack-tramp/ESP-MQTTunnel
1•jjanissccv•16m ago•0 comments

Embeddable Mermaid Flowchart Editor

https://www.jointjs.com/demos/mermaid-editor
2•zoranjambor•18m ago•1 comments

How to Make Your Code Reviewer Fall in Love with You

https://mtlynch.io/code-review-love/
2•sodic•20m ago•0 comments

Texas Halts All Data Center Permitting Pending Audit

https://www.bloomberg.com/news/articles/2026-09-22/texas-governor-orders-data-center-permit-halt-...
1•master_crab•20m ago•0 comments

Can Apple Reference Image Make You Trust Photos Again

https://spectrum.ieee.org/apple-reference-image
2•rbanffy•24m ago•0 comments

Mac Studio M5 Ultra: Local Model Citizen Outpaces DGX Spark and Threadripper

https://www.tomshardware.com/desktops/mini-pcs/apple-mac-studio-m5-ultra-review
1•rbanffy•25m ago•0 comments

Tesla's record month: 4 fatal Autopilot and Full Self-Driving crashes

https://electrek.co/2026/09/15/tesla-four-fatal-driver-assist-crashes-july-2026/
2•Markoff•25m ago•0 comments

Did OpenAI solve the wrong Navier-Stokes problem?

https://www.scientificamerican.com/article/did-openai-solve-the-wrong-navier-stokes-problem/
1•algoth1•26m ago•0 comments

Making Games with Open Code

https://www.elliotclyde.nz/blog/making-games-with-opencode/
2•elliotclyde•28m ago•0 comments

C3 0.8.4: The Last Keyword Renaming Before the Syntax Freeze

https://c3-lang.org/blog/c3_0_8_4_last_renaming/
2•lerno•34m ago•0 comments

yt-audio: a yt-dlp wrapper for getting music into macOS Music

https://github.com/rib3ye/yt-audio
1•rib3ye•36m ago•0 comments

How software gets permission today

https://deask.com/notes/how-software-gets-permission
2•infomiho•40m ago•0 comments

Brownfield Agentic Engineering

https://addyo.substack.com/p/brownfield-agentic-engineering
1•northbridgedev•40m ago•0 comments

Clearing Kiro sessions and logs on macOS

https://patches.joao.town/clearing-kiro-sessions-logs/
1•joaopalmeiro•41m ago•0 comments

Code Reveal Shapes Programmers' Visual Attention

https://arxiv.org/abs/2609.24616
1•moatmoat•42m ago•0 comments

Saudi Arabia wants a car industry, launches Ceer with two EVs

https://arstechnica.com/cars/2026/09/saudi-arabia-wants-a-car-industry-launches-ceer-with-two-evs/
2•rbanffy•45m ago•0 comments

Six ways to integrate Jev into your application

https://vercel.com/i/jev-integrations
1•flashbrew•47m ago•0 comments

TypeSafe AI Jev vs. GPT-6 Astra

https://vercel.com/i/jev-vs-gpt-6-astra
2•flashbrew•47m ago•0 comments

Mudita Kompakt

https://www.mudita.com/products/phones/mudita-kompakt/
1•FinnLobsien•48m ago•0 comments

Two JITs, Opposite Signs

https://intertwingly.net/blog/2026/09/19/Two-JITs-Opposite-Signs.html#reading-the-columns
1•ksec•48m ago•0 comments

Is Claude 20x actually 20x?

3•ko3us•51m ago•0 comments