frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•10mo ago

Comments

llm-exe•10mo 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•10mo 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.

Isrib

https://en.wikipedia.org/wiki/ISRIB
1•keepamovin•4m ago•0 comments

Gold, a 'safe haven' in uncertain times: Why is it crashing amid a war?

https://theconversation.com/gold-is-meant-to-be-a-safe-haven-in-uncertain-times-why-is-it-crashin...
1•defrost•5m ago•0 comments

Disney cancels $1B OpenAI partnership amid Sora shutdown plans

https://arstechnica.com/ai/2026/03/the-end-of-sora-also-means-the-end-of-disneys-1-billion-openai...
2•herpderperator•6m ago•0 comments

The AI skills gap is here, says AI company, and power users are pulling ahead

https://techcrunch.com/2026/03/25/the-ai-skills-gap-is-here-says-ai-company-and-power-users-are-p...
1•makerdiety•6m ago•0 comments

Show HN: Monetization layer – new product category (for SaaS)

https://www.revturbine.com
1•millereffect•9m ago•0 comments

Vivaldi 7.9: Immerse yourself in the web with every pixel

https://vivaldi.com/blog/vivaldi-on-desktop-7-9/
1•thunderbong•11m ago•0 comments

Obsolete Sounds

https://citiesandmemory.com/obsolete-sounds/
1•benbreen•12m ago•1 comments

Show HN: Kbot – AI agent that forges its own tools at runtime (MIT, $0)

https://github.com/isaacsight/kernel
1•isaacsight•12m ago•0 comments

The Last Contract: William T. Vollmann's Battle to Publish an Epic (2025)

https://www.metropolitanreview.org/p/the-last-contract
1•benbreen•12m ago•0 comments

When Do We Become Adults, Really?

https://www.newyorker.com/culture/annals-of-inquiry/when-do-we-become-adults-really
1•benbreen•12m ago•0 comments

The Loneliness of a Room of One's Own

https://newrepublic.com/article/206731/loneliness-room-one-virginia-woolf-hold-up
1•prismatic•13m ago•0 comments

Desperately Seeking Space Friends

https://reviewcanada.ca/magazine/2026/04/desperately-seeking-space-friends-review-the-pale-blue-d...
1•benbreen•13m ago•0 comments

The Cassandra of 'The Machine'

https://www.thenewatlantis.com/publications/the-cassandra-of-the-machine
1•Hooke•13m ago•0 comments

The US's largest offshore wind farm just produced its first power

https://electrek.co/2026/03/25/us-largest-wind-farm-just-produced-power-for-the-first-time/
1•toomuchtodo•17m ago•1 comments

Show HN: The Million Dollar Homepage, but for AI Agents

https://milliondollarbotpage.com/
1•pejmanjohn•19m ago•0 comments

When Humanoid Robots Come to a Small-Town Factory

https://www.wsj.com/business/south-carolina-schaeffler-plant-robots-d56c91d0
1•rguiscard•22m ago•1 comments

The world we live in was born of a 3,000-year old catastrophe [video]

https://www.youtube.com/watch?v=_ZGbsWKz_ns
1•slater•24m ago•0 comments

AI will optimize everything except your life. That's still on you

https://indignified.substack.com/p/ai-will-optimize-everything-except
1•ZguideZ•31m ago•0 comments

A Choice of Deadly Drones Is Only a Few Clicks Away

https://www.nytimes.com/2026/03/23/world/europe/ukraine-drones-marketplace-military-russia.html
1•lxm•35m ago•0 comments

LLM autonomously runs physics research across 5 PDE systems

https://github.com/michK/Autoresearch-for-Research
1•mike_krugs•36m ago•1 comments

Researchers at CERN transport antiprotons by truck in world‑first experiment

https://physicsworld.com/a/researchers-at-cern-transport-antiprotons-by-truck-in-world-first-expe...
1•oopsiremembered•41m ago•0 comments

WildClawBench

https://github.com/InternLM/WildClawBench
1•yhzan•41m ago•0 comments

AcademySoftwareFoundation DNA

https://github.com/AcademySoftwareFoundation/dna
1•qainsights•42m ago•1 comments

Meta's May Day

https://om.co/2026/03/25/metas-may-day/
2•gz5•46m ago•0 comments

Scammers have virtual smartphones on speed dial for fraud

https://www.theregister.com/2026/03/25/virtual_smartphones_fraud/
1•Brajeshwar•47m ago•0 comments

Show HN: Nit – I rebuilt Git in Zig to save AI agents 71% on tokens

https://justfielding.com/blog/nit-replacing-git-with-zig
18•fielding•52m ago•9 comments

Let's Not Confuse Labor's Problems with White-Collar AI Doomerism

https://www.damagemag.com/p/lets-not-confuse-labors-problems
1•abetusk•53m ago•0 comments

The personal relation between Phil K. Dick and Robert Heinlein

https://scifi.stackexchange.com/questions/1555/on-the-personal-relation-between-phil-k-dick-and-r...
1•wslh•55m ago•1 comments

Toggle macOS battery icon with plug/unplug

https://github.com/dceddia/battery-icon-toggle
1•dceddia•58m ago•0 comments

Show HN: Ultrahuman Ring API Dashboard (E-Ink)

https://github.com/Jay9185/TRMNL-ULTRAHUMAN
1•jerr9185•1h ago•1 comments