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.

Show HN: Free Unlimited Virtual Monitors+Watch Claude Work on Them+Community

https://multispace.dev/
1•DanielSystem•5m ago•0 comments

The United Kingdom is committing an act of strategic self harm

https://blog.rodmena.com/entry/event_horizon_machine_standards
3•rodmena•5m ago•2 comments

Federal Bureau of Prisons employees serve as election monitors at polling sites

https://www.corrections1.com/federal-prison/bop-employees-to-serve-as-election-monitors-at-pollin...
1•MadrasTh0rn•9m ago•0 comments

AI changed what I can build

https://tanner.place/blog/how-ai-changed-what-i-can-build
2•vrennat•11m ago•0 comments

Zellic's and V12's Work on x86 Binary Formal Verification

https://v12.sh/blog/x86-formal-verification-intro
1•drdrey•12m ago•0 comments

Anthropic to receive high 'junk' rating from credit agencies following IPO

https://techcrunch.com/2026/10/30/anthropic-expected-to-receive-high-junk-rating-from-credit-agen...
4•jnord•13m ago•0 comments

Worst Halloween candies, according to the data

https://flowingdata.com/2026/10/30/worst-halloween-candies-according-to-the-data/
2•surprisetalk•14m ago•0 comments

Analysts find looming launch crisis is "more severe" than anticipated

https://arstechnica.com/space/2026/10/analysts-find-looming-launch-crisis-is-more-severe-than-ant...
4•jnord•14m ago•0 comments

Reddit shares plunge as Google's AI search squeezes traffic

https://www.reuters.com/business/reddit-pinterest-shares-tumble-weak-user-revenue-growth-2026-10-30/
1•tartoran•18m ago•0 comments

Tell HNN: Pets.com was *not* owned today

2•y1n0•20m ago•0 comments

Hands on the Wheel

https://ryanbigg.com/2026/10/hands-on-the-wheel
2•ryanbigg•20m ago•0 comments

The N64's GPU Is a Technical Marvel [video]

https://www.youtube.com/watch?v=WEoRgQH08MA
3•zdw•24m ago•0 comments

The Thaura Constitution

https://thaura.ai/constitution
2•conferza•27m ago•0 comments

Somoene bets $10M on Reddit stock anad loses half of it

https://old.reddit.com/r/wallstreetbets/s/LWYApzWCQH
1•paulpauper•28m ago•0 comments

The Ground Beneath Them Was Dry

https://lagomor.ph/2026/10/the-ground-beneath-them-was-dry/
2•jfil•28m ago•0 comments

Sndstation will transform cheap gaming consoles into music handhelds

https://cdm.link/sndstation-linux-distro-for-game-handhelds/
2•Blackthorn•28m ago•0 comments

The Commanding Heights

https://commanding-heights.com/
1•emersonmacro•32m ago•0 comments

$20 plans, $1 of Sol costs 7x what $1 of Opus does. A task, only 1.3x

https://twitter.com/AdamHoltererer/status/2115879037893534195
1•marcellosso•32m ago•0 comments

Assure – your AI agent says "done." This checks if it's lying

https://github.com/mgasparin67-cmd/Agent-verification_Assure
2•spaghetti0•33m ago•0 comments

Ukrainian arms manufacturer Fire Point has overcome Starlink restrictions

https://www.reuters.com/business/aerospace-defense/ukrainian-arms-maker-fire-point-says-its-syste...
5•uxhacker•35m ago•0 comments

AI's Bill Is Due – Intelligence or Brand? – Cold Logic – EP01

https://www.youtube.com/undefined
1•LebToki•40m ago•0 comments

Zinc creep in cable spelter sockets brought down the Arecibo telescope in 2020

https://maketecheasier.com/arecibo-zinc-creep-collapse/
3•ohjeez•40m ago•0 comments

The reasons embedded projects get into trouble (2002)

https://www.ganssle.com/articles/jackstoptenlist.htm
2•ohjeez•43m ago•0 comments

Show HN: Fastbrowse, Browser agent that picks clicks with a System One model

https://www.fastbrowse.ai/
3•furqanrydhan•44m ago•2 comments

Defining AI

https://ali-alkhatib.com/blog/defining-ai
2•bediger4000•44m ago•0 comments

Now what? After the AI crash

https://sorathompson.substack.com/p/now-what
4•SorasTuff•45m ago•0 comments

Compromised eMudhra Certificates: Update Your JetBrains IDEs, ReSharper, etc.

https://blog.jetbrains.com/security/2026/10/compromised-emudhra-certificates-ides/
3•MattGaiser•46m ago•0 comments

Show HN

https://www.gallerismuseum.com/
1•Dharkstranger•50m ago•0 comments

Some Memories of Early Anthropic

https://nothinghuman.substack.com/p/some-memories-of-early-anthropic
5•Nition•55m ago•0 comments

CVE 10.0: CVE-2026-112816, no emudhra required

https://www.cve.org/CVERecord?id=CVE-2026-112816
31•paaloeye•55m ago•4 comments