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.

Salesforce Signs Definitive Agreement to Acquire Braze

https://investor.salesforce.com/news/news-details/2026/Salesforce-Signs-Definitive-Agreement-to-A...
1•czstrong•58s ago•0 comments

Experimental soft navigation metrics now available in CrUX

https://web.dev/blog/crux-experimental-soft-navs
1•mooreds•1m ago•0 comments

Sudo L7: Can Coding Agents Act Like Staff Engineers?

https://surgehq.ai/blog/sudo-l7
1•kayashaolu2•1m ago•0 comments

Welcome to the Potato Place

https://thepotatoplace.com/
1•mooreds•2m ago•0 comments

Show HN: Browser logic simulator with Apple II+ and 106k transistor Mandelbrot

https://ch.khanin.info/
1•daniilkhanin•2m ago•0 comments

Show HN: GitWiki – a open source, libre wiki software that uses Git and Python

https://github.com/freedevgraph/gitwiki
1•arkdroid•3m ago•0 comments

The Army Wants to Sic AI Agents on Its Enemies. What Could Go Wrong?

https://theintercept.com/2026/10/19/army-autonomous-ai-agents-arcyber/
2•ersinesen•3m ago•1 comments

Why My Asus Laptop Kept Rebooting After Sleep and How to Fix It

https://idiallo.com/blog/asus-laptop-keeps-rebooting-after-sleep
1•surprisetalk•4m ago•0 comments

AI-Native Companies Turn Every Employee into an Intrapreneur

https://growthwiseteams.substack.com/p/how-ai-native-companies-turn-every
1•Vameyer•4m ago•0 comments

Critical Token Guard Auth Bypass in Laravel

https://laravel-news.com/laravel-token-guard-auth-bypass
1•moebrowne•5m ago•0 comments

Scientific Paper Dataset and Code promised still unreleased four months later

https://github.com/JohanYe/CrownFusion/issues/1
1•lorenzobrg•5m ago•0 comments

How I got over 300 Tor exit nodes removed

https://kaba.cx/posts/20261020_Tor/
1•kabakabakaba•5m ago•1 comments

Show HN: Local wiki Claude Code/Codex write for you to think, organize, direct

https://github.com/nimbalyst/nimbalyst-wiki
1•wek•5m ago•0 comments

Robert Downey Jr. Joins Specs as Chief Customer Experience Officer

https://investor.snap.com/news/news-details/2026/Robert-Downey-Jr--Joins-SPECS-as-Chief-Customer-...
2•tasoeur•5m ago•0 comments

InvizCrypt

https://invizcrypt.com/
1•htewari•7m ago•0 comments

I've Been Building My Own Cross-Platform Proxy Client – Meet Wmimo

https://github.com/aimy1/Wmimo
1•aisaniya•7m ago•0 comments

Apple adds mystery folder to your PATH

https://www.osnews.com/story/146198/apple-adds-mystery-folder-to-your-path-and-everyone-is-appare...
1•speckx•7m ago•0 comments

Show HN: PensionHunter, find who holds the pensions you left abroad

https://pensionhunter.ai/
1•frankholle•8m ago•0 comments

The Commit You Can't Take Back: Conscience in a Career That Builds the Future

https://longhornphp.com/live?recording=the-commit-you-cant-take-back-conscience-in-a-career-that-...
1•mooreds•8m ago•0 comments

Rust utility for removing stubborn, locked, protected and path-hostile files

https://github.com/rbenzing/FcknDelete
1•benzingtech•8m ago•0 comments

Don't give up your art

https://jasonpolak.substack.com/p/dont-give-up-your-art
1•bemtevi•9m ago•0 comments

Spindle – The Eio-native web framework for modern OCaml

https://github.com/hyphatech/spindle
1•DASD•9m ago•0 comments

Germany Wants to Lead the World in Industrial AI: How Nvidia Will Help

https://blogs.nvidia.com/blog/germany-wants-to-lead-the-world-in-industrial-ai-how-nvidia-will-help/
1•swolpers•9m ago•0 comments

Jev wins against Clef and OpenAI Decisions

https://latencyradar.com/compare/jev-vs-openai-decisions-vs-clef-latency/
1•marcascode•10m ago•0 comments

Ask HN: How to organize teams to ship AI-written code?

1•alentred•10m ago•0 comments

WhatsApp Help Pages Leaked Hidden Instructions for a Meta Chatbot

https://www.wired.com/story/whatsapp-help-pages-leaked-hidden-instructions-for-a-meta-chatbot/
1•rbanffy•10m ago•0 comments

Gradient Routing Localizes and Removes Unintended Behaviors in RL

https://arxiv.org/abs/2610.17062
1•andre15silva•11m ago•0 comments

Six probability and statistics journals pause new submissions

https://sciengineglobal.com/fr/actualites/3059-esaim-probability-and-statistics-takes-action-to-a...
2•csheehan10•11m ago•0 comments

The Lucrative World of Literary Scams

https://www.thedial.world/articles/news/ai-book-scams
2•wawayanda•12m ago•0 comments

A Hitchhiker's Guide to Postgres Text Search

https://builders.cortex.io/blog/a-hitchhikers-guide-to-postgres-text-search/
2•speckx•13m ago•0 comments