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.

ArchKeel – results from 2 large agentic refactoring experiments

https://github.com/rapiddweller/archkeel
1•ake2l•4m ago•0 comments

A Whistleblower Claims the CIA Is Searching DNA Sites for Alien-Human Hybrids

https://www.vice.com/en/article/a-whistleblower-claims-the-cia-is-searching-dna-sites-for-alien-h...
1•handfuloflight•5m ago•0 comments

Early rogue AI agent activity and attempts to hack found on urlquery.net

https://transluce.org/agent-activity
1•snikolaev•7m ago•0 comments

LensVLM: Selective Context Expansion for Compressed Visual Representation OfText

https://arxiv.org/abs/2605.07019
1•KitN•10m ago•0 comments

Consciousness may have evolved separately from pure intelligence

https://www.psypost.org/consciousness-may-have-evolved-to-solve-a-problem-that-pure-intelligence-...
1•jbotz•14m ago•1 comments

Python Enhancement Proposal 823: None-aware access operators

https://peps.python.org/pep-0823/
1•theanonymousone•14m ago•0 comments

The worst VGA monitor ever made – Tandy VGM-225

https://www.youtube.com/watch?v=m79HxULt3O8
2•haunter•19m ago•0 comments

Understanding Tetrode Screen Current

https://www.robkalmeijer.nl/techniek/electronica/radiotechniek/hambladen/qst/1961/07/page26/index...
1•bariumbitmap•20m ago•0 comments

Six-year-old breaks women's world Rubik's Cube record [video]

https://www.youtube.com/watch?v=UCMRgvyTm08
4•1659447091•21m ago•0 comments

An extension that finds things you've never searched, from your own history

https://microsoftedge.microsoft.com/addons/detail/njffhmcdmdhlnpkfnjjojifbddkcmiii
1•Discover_Daily•22m ago•0 comments

It's not your imagination – dating has gotten more combative lately

https://www.vox.com/life/503630/modern-dating-combative-apps-tiktok-gender-roles
2•dabinat•24m ago•1 comments

Moderna announced that their cancer mRNA vaccine succeeded in a late-stage trial

https://www.bbc.com/news/articles/c79gpv7v190o
3•codebyaditya•24m ago•0 comments

Sign Up for Tweet.app

https://app.tweet.app/join
1•marc0janssen•26m ago•0 comments

SpaceX given unique access to classified DoD space tracking data, sources say

https://breakingdefense.com/2026/09/exclusive-spacex-given-unique-access-to-classified-dod-space-...
1•TMWNN•26m ago•0 comments

Treating the APK as a database: a decompiler 269x faster than JADX

https://medium.com/@droidasc/droid-asc-a-super-fast-android-decompiler-41-to-269-times-faster-tha...
1•mgaldys4•27m ago•0 comments

Katamari Object Library

https://katamari.andrew-boylan.com/
4•mef•29m ago•5 comments

Book Review: Steve Jobs in Exile by Geoffrey Cain

https://lapcatsoftware.com/articles/2026/9/6.html
1•frizlab•37m ago•0 comments

antigravity-seo: Go engine and token-efficient SEO audits for Antigravity CLI

https://github.com/angelotc/antigravity-seo
1•telecomhacker•37m ago•0 comments

Meta's New Muse AI Agent Read My Private Messages. I Never Asked It To

https://www.inc.com/jason-aten/metas-new-muse-ai-agent-read-my-private-messages-i-never-asked-it-...
1•binarynate•50m ago•0 comments

Tattoos as a risk factor for lymphoma: a population-based case–control study

https://www.thelancet.com/journals/eclinm/article/PIIS2589-5370(24)00228-1/fulltext
1•Teever•51m ago•0 comments

Level Designers Will Love My Engine, Here's Why [video]

https://www.youtube.com/watch?v=CvrETndu76M
1•Starpelly•52m ago•0 comments

Eric Schmidt on the era of AI warfare

https://www.economist.com/insider/inside-defence/eric-schmidt-on-the-era-of-ai-warfare
1•andsoitis•54m ago•0 comments

OpenAI agent 'infiltrated' Australian government website, PM says

https://www.bbc.com/news/articles/c6vgy0333dppo
4•Ozymandias-9•55m ago•2 comments

DoorDash's $131.5M Settlement with the City of New York

https://about.doordash.com/en-us/news/dcwp
1•sizzle•59m ago•0 comments

'Rex Jr.' Could Be Most Important T. Rex Ever Discovered

https://cowboystatedaily.com/2026/09/19/rex-junior-found-on-newcastle-ranch-could-be-most-importa...
1•in-silico•59m ago•0 comments

TSA is rolling out a new scanner – it could be a headache for carry-on travelers

https://www.independent.co.uk/travel/news-and-advice/tsa-new-scanner-carry-on-bags-b3055280.html
2•mikhael•1h ago•0 comments

Contrastive Language Models

https://contrastive-lm.notion.site/
4•erichocean•1h ago•2 comments

Trump White House Press Ban Matches 1933 Nazi Law

https://www.flyingpenguin.com/trump-white-house-press-ban-matches-1933-nazi-law/
6•speckx•1h ago•0 comments

Universities Must Reinvent Themselves for the Intelligent Age

https://time.com/article/2026/04/13/universities-must-reinvent-themselves-for-the-intelligent-age/
2•the-mitr•1h ago•0 comments

Nori LLM: Achieving Over 1M tok / s

https://noriagentic.com/nori-llm.html
2•theahura•1h ago•0 comments