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.

Trump DOJ Folds, Agrees to Permanent Ban on Censoring ICE Tracking Group and App

https://www.techdirt.com/2026/11/16/trump-doj-folds-agrees-to-permanent-ban-on-censoring-ice-trac...
1•cdrnsf•42s ago•0 comments

California Sues OpenAI over A.I. Safety Issues

https://www.nytimes.com/2026/11/16/technology/california-openai-ai-safety.html
1•ot•1m ago•0 comments

New CSIRO technique confirms iconic black hole image

https://www.csiro.au/en/news/All/News/2026/November/confirm-black-hole
1•atombender•1m ago•0 comments

The optogenetic tool ASAP acutely inhibits autophagy

https://www.nature.com/articles/s41556-026-02124-2
1•bookofjoe•1m ago•0 comments

Corma raises $125M at $1B valuation three months out of stealth

https://www.businesswire.com/news/home/20261116743982/en/Corma-Raises-%24125M-Series-A-at-%241B-V...
1•dvaplima•3m ago•0 comments

Cyber giant Infoblox confirms security incident

https://techcrunch.com/2026/11/16/cyber-giant-infoblox-confirms-security-incident-after-hackers-a...
2•cdrnsf•3m ago•0 comments

The New York Times on the Web: AOL Keywords

https://archive.nytimes.com/www.nytimes.com/info/help/aol-keywords.html
1•mmoogle•3m ago•0 comments

BIS Issues Rule Addressing Remote Access to American AI

https://www.bis.gov/press-release/bis-issues-rule-addressing-remote-access-american-super-intelli...
2•fosco•5m ago•0 comments

Show HN: NOS x86-64 hypervisor, written in Rust

https://nos-os.tech/en/demo
1•irqlevel•6m ago•0 comments

Claude vs. Dino [video]

https://www.youtube.com/watch?v=iUqU4Xe2D4E
1•mughu12345•6m ago•0 comments

Jensen Huang Passed Billions in Nvidia Stock to His Heirs Months Before Downfall

https://www.barrons.com/articles/jensen-huang-nvidia-stock-trust-grat-estate-tax-357c1fd3
2•madihaa•8m ago•0 comments

United Halts Flights as It Addresses 'Widespread System Outage'

https://www.nytimes.com/2026/11/16/business/united-airlines-outage-flights.html
3•jbredeche•8m ago•1 comments

FBI warns ARTEX AI hacking tool is powering global cyberattacks

https://www.bleepingcomputer.com/news/security/fbi-warns-artex-ai-hacking-tool-is-powering-global...
2•fosco•10m ago•0 comments

Improving the Wii U's Wii Mode

https://garyodernichts.blogspot.com/2026/11/improving-wii-us-wii-mode.html
1•GaryOderNichts•11m ago•0 comments

All code is slop (except mine) [video]

https://www.youtube.com/watch?v=O_zcc6Xl12g
1•jebarker•12m ago•0 comments

Show HN: Brewlet – Patch golden images across Kubernetes without rebuilding apps

https://brewlet.sh/
1•brunoborges•12m ago•0 comments

Disaster recovery efforts temporarily boosted health for some men

https://news.northwestern.edu/stories/2026/10/disaster-recovery-efforts-temporarily-boosted-healt...
1•sieste•16m ago•0 comments

[SPLASH'26] Mojo: Towards One Systems Language for All Hardware [video]

https://www.youtube.com/watch?v=9-97SB5XJh4
1•melodyogonna•17m ago•0 comments

Suitcase does more than one job

https://usefulls.com/
1•channusingh1424•17m ago•1 comments

United Airlines has a widespread system outage

https://apnews.com/article/united-airlines-outage-5a5e5f75bb07f11ffb8750901f0076ff
20•tedd4u•21m ago•2 comments

United Airlines experiencing 'widespread system outage'

https://www.nbcchicago.com/news/local/united-airlines-experiencing-widespread-system-outage/4017556/
4•scapecast•21m ago•0 comments

Marlow – an AI app builder that deploys to your own server

https://marlow.app
3•morzanius•21m ago•0 comments

Xcode now includes skills for performance profiling

https://developer.apple.com/documentation/xcode-release-notes/xcode-27_3-release-notes
1•Austin_Conlon•22m ago•0 comments

A Collage Showing 49 Drill Holes Made by NASA's Curiosity Mars Rover

https://science.nasa.gov/photojournal/a-collage-showing-49-drill-holes-made-by-nasas-curiosity-ma...
1•wawayanda•24m ago•0 comments

How to Break into Security, Ptacek Edition

https://krebsonsecurity.com/2012/06/how-to-break-into-security-ptacek-edition/
29•ronfriedhaber•24m ago•3 comments

US datacenters emit as much CO2 as Denmark

https://www.nature.com/articles/s41893-026-01985-7
5•28304283409234•24m ago•2 comments

United Airlines Widespread System Outage

https://www.cnn.com/2026/11/16/us/united-airlines-outage
37•bearsyankees•28m ago•1 comments

Adding MCP Support to PgDog

https://pgdog.dev/blog/mcp
1•levkk•28m ago•0 comments

Agent remote control in LM Studio Bionic

https://lmstudio.ai/blog/agent-remote-control
4•yags•30m ago•0 comments

Diamane OS: Graphene for the Fairphone

https://diamaneos.de/
1•maelito•31m ago•0 comments