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.

ArcBrush 1.7 – Materials Lit in 3D, Real Depth of Field, and Pixel Art

https://arcbrush.com/press/arcbrush-1-7/
1•albiabia•1m ago•0 comments

Playing in the Sandbox

https://theconsensus.dev/p/2026/10/18/playing-in-the-sandbox.html?focus=1
1•tosh•1m ago•0 comments

Show HN: Piola – A new Mac menu bar timer with pull, dial, and keyboard control

https://piola.ideascollective.com
1•triplux•1m ago•0 comments

Superlogical Public Testing

https://www.superlogical.com/updates/public-testing-beginning
1•hmokiguess•4m ago•0 comments

Show HN: CLI for Vedic Astrological Charts (local calculations)

https://github.com/dhruvkar/kundali
1•dhruvkar•5m ago•0 comments

The New Age of Reading

https://www.newyorker.com/magazine/2026/10/26/james-daunt-profile
1•gmolau•5m ago•0 comments

ECS, ECS or ECS? What's the Difference?

https://www.immibis.com/blog/ecs-vs-ecs
2•immibis2•6m ago•0 comments

Deepfake of Washington County, Oregon, Candidate Goes Viral Nationwide

https://www.oregonjournalismproject.org/deepfake-of-washington-county-oregon-candidate-goes-viral...
3•aliasxneo•9m ago•0 comments

Bringing AI into business is hard

https://pindexis.github.io
2•pindexis•10m ago•0 comments

I Built a Stereo Vision Board for Hardware Hackers

https://rootkitlabs.com/2026/10/06/i-built-a-stereo-vision-board-for-hardware-hackers/
1•machinehum•10m ago•0 comments

Customer Service Chatbots Must Be Stopped

https://www.nytimes.com/2026/10/20/opinion/mamdani-ai-rule-customer-service-doom-loop.html
1•motionlessveloc•11m ago•0 comments

ChatGPT Dot Review: Your Chief of Staff Is Still an Intern

https://metedata.substack.com/p/chatgpt-dot-review-your-chief-of
1•young_mete•12m ago•0 comments

US bans DeepSeek from federal agencies, prompting angry response from China

https://www.techspot.com/news/114269-us-bans-deepseek-ai-tools-built-models-federal.html
1•messpoiun•16m ago•1 comments

Lectronz – marketplace for DIY/open electronic music instruments

https://lectronz.com/
1•gregsadetsky•17m ago•0 comments

Certifi bundles emSign root CAs with compromised intermediate CA keys

https://github.com/advisories/GHSA-6q48-6c7w-9gw2
1•codingjoe•18m ago•1 comments

Relagram: Story of RL Research

https://nevolodia.com/thoughts/001/
1•nevolodia•19m ago•0 comments

Prometheus: Meta's Journey to a Gigawatt-Scale Supercluster

https://engineering.fb.com/2026/10/19/data-center-engineering/inside-prometheus-meta-gigawatt-sca...
1•gmays•19m ago•0 comments

Xkcd: Random Number

https://xkcd.com/221/
1•hasheddan•20m ago•1 comments

Despite Spyware Attacks on Its Own Officials, EU Response Falls Short

https://www.techpolicy.press/despite-spyware-attacks-on-its-own-officials-eu-response-falls-short/
3•jruohonen•21m ago•0 comments

Show HN: TapRev – Your phone rings for every sale, across 11 payment platforms

https://apps.apple.com/us/app/taprev-saas-revenue-tracker/id6758924195
1•yazeedaloyoun•22m ago•0 comments

Show HN: Classic Ads – A Chrome extension I made to make ads look like ads again

https://classic-ads.com/
1•sampenny•23m ago•0 comments

Judge Orders Meta to Name Employees Who Approved Torrenting

https://torrentfreak.com/judge-orders-meta-to-name-employees-who-approved-torrenting-annas-archiv...
12•franczesko•24m ago•1 comments

SpaceX's data centre deals boost revenue by 161%

https://www.ft.com/content/f2a2a578-5a2e-42ff-b4c9-8bafff271b37
2•JumpCrisscross•25m ago•0 comments

Musk Ordered Starlink Slowdown That Blindsided Ukraine

https://www.wsj.com/world/ukraine-starlink-elon-musk-trump-dbc49193
18•jaredwiener•26m ago•1 comments

Devvit – Release 0.15.0: API Updates and Expanded Mode Improvements

https://www.reddit.com/r/Devvit/comments/1xau8ru/release_0150_api_updates_expanded_mode/
1•katzenberg•26m ago•0 comments

Learn everything about protein engineering

https://grimoire.bio/protein-engineering
1•ibobev•28m ago•0 comments

How Much of a Harness Does a Strong Agent Need for Autonomous ML Engineering?

https://arxiv.org/abs/2609.40303
1•ibobev•30m ago•0 comments

Current policy might be harmful for the representation of constituents

https://civicpivot.blogspot.com/2026/10/protocol-over-bureaucracy-replacing.html
2•civicpivot•31m ago•0 comments

Ask HN: Will AI = extreme concentration of power?

1•atleastoptimal•33m ago•3 comments

Show HN: Agent-Zero – Starter template for AI-native coding projects

https://github.com/amorey/agent-zero
1•andres•34m ago•0 comments