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•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.

Datacenters Are America's National Security Blunder Vulnerable to Small Drones

https://www.flyingpenguin.com/datacenters-are-americas-national-security-blunder-vulnerable-to-sm...
1•berlianta•25s ago•0 comments

All of these tiles are the same

https://henkreuling.nl/applets/tegels.html
1•wise_blood•30s ago•0 comments

AI marketing promotions are similar to female leak-protection products

https://imgur.com/a/rRXpppK
1•fatbrowndog•1m ago•1 comments

Show HN: ContextBridge – Local-first AI reading sidebar using Ollama

https://chromewebstore.google.com/detail/contextbridge-–-local-rag/jokgmcedjecppdfnbicfonbmgjpb...
1•sujalmeena•4m ago•0 comments

Google Maps Ditches Mercator Projection Mapping

https://glassalmanac.com/google-maps-finally-ditches-mercator-projection-mapping/
1•866-RON-0-FEZ•4m ago•0 comments

CIFSwitch: A non-universal Linux local root vulnerability

https://heyitsas.im/posts/cifswitch/
1•cosuhi•4m ago•0 comments

Show HN: Tkcore AI – A multi-model workspace with custom knowledge grounding

https://www.tkcoreai.com/
1•Sharanxxxx•5m ago•0 comments

From Headless to Agent-Native: The New Way for Content Sites

https://www.agntcms.com/manifesto
1•hramovich•10m ago•0 comments

Tantrix

https://en.wikipedia.org/wiki/Tantrix
1•thunderbong•12m ago•0 comments

Warpgate 0.24 (a client-less bastion) adds a web SSH terminal

https://github.com/warp-tech/warpgate/releases/tag/v0.24.0
1•hardex•12m ago•0 comments

Utiq: The new telecom 'Super-Cookie' threatening your privacy

https://arpokrat.com/blog/utiq-supercookie-telecom-privacy/
1•miohtama•12m ago•0 comments

Comment your AI agent below

1•Daniel-Pan•15m ago•1 comments

The Sum-Product conjecture is false for real numbers

https://arxiv.org/abs/2605.28781
1•My_Name•17m ago•0 comments

How I'm using Copilot to not use Copilot

https://kamilgwozdz.substack.com/p/how-im-using-copilot-to-not-use-copilot
1•kamil3141•18m ago•0 comments

Not Every Byte Gets a Vote

https://mitander.xyz/posts/not-every-byte-gets-a-vote/
1•mitander•19m ago•0 comments

Pacific Ocean warming signals the possible return of a strong El Niño

https://www.metoffice.gov.uk/blog/2026/met-office-what-is-el-nino-and-will-we-see-one-this-year
1•tosh•24m ago•1 comments

Taking the Training Wheels Off: Aligning LLMs Without Personas

https://www.lesswrong.com/posts/3wqZwXMzEAkd3mLLM/taking-the-training-wheels-off-aligning-llms-wi...
2•joozio•31m ago•0 comments

Tiiny AI Pocket Lab: The Offline Pocket‑Sized Supercomputer Revolution

https://www.wangdoo.com/tiiny-ai-pocket-lab-offline-supercomputer/
2•timesofireland•34m ago•0 comments

Sovereign Cloud Framework Explained

https://commission.europa.eu/news-and-media/news/sovereign-cloud-framework-explained-2026-06-01_en
3•rbanffy•34m ago•0 comments

You Don't Need Kubernetes

https://green.spacedino.net/you-dont-need-kubernetes/
2•psviderski•36m ago•0 comments

Tell HN: In the old days, computers used to get constantly faster and cheaper

2•wewewedxfgdf•36m ago•0 comments

Social Intelligence Benchmark

https://gertlabs.com/blog/social-intelligence-benchmark
2•gertlabs•40m ago•1 comments

The placeholder name for the Windows 8 experience was "modern"

https://devblogs.microsoft.com/oldnewthing/20260601-00/?p=112373
1•paulmooreparks•40m ago•0 comments

Botnet of more than 17M devices dismantled

https://arstechnica.com/security/2026/05/botnet-of-more-than-17-million-devices-dismantled/
2•damethos•41m ago•0 comments

Thoughts on Intel's Unified Core Project

https://clamtech.org/?dest=intel_unifiedcore&page=0
1•weiran•41m ago•0 comments

Free Fire

1•dcwestern•42m ago•0 comments

what would you say if no one knew it was you

https://justvoiceit.com/
2•whatis1215•51m ago•1 comments

The LLM Job Paradox

https://blog.nilesh.io/post/llms-and-jobs
1•MisterKent•52m ago•3 comments

Yazz Ahmed – Bitches Brew Revisited [video]

https://www.youtube.com/watch?v=YK7SEJKtogY
1•wise_blood•53m ago•0 comments

New all-time high thanks to old video? IBM stock jumps after viral post

https://www.heise.de/en/news/New-all-time-high-thanks-to-old-video-IBM-stock-jumps-after-viral-po...
1•doener•58m ago•0 comments