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.

Show HN: SafeRun – Replay debugging and inline prevention for AI agents 2

1•Tidianez•1m ago•0 comments

Small note on solving x^(n/m) = a

https://12000.org/my_notes/solving_equation/index.htm
1•oliverkwebb•2m ago•0 comments

Stop paying $360/year to access your own email history

https://mailvaulty.com
1•khaledsabae•5m ago•0 comments

Show HN: My custom Statusline for Claude Code (Python wrapper around claudeline)

https://gist.github.com/Reebz/741c5647c860fe0b5214f39d9d887240
1•Reebz•13m ago•0 comments

San José State leaped to No. 2 in national computer science ranking

https://edsource.org/2026/san-jose-state-coding-skills-ranking/758707
1•littlexsparkee•13m ago•0 comments

Ask HN: How to make the best of the Mega IPO/ Index fund debacle?

2•jppope•21m ago•2 comments

Professional Scripted product demos with GSAP with Claude

https://spanthi.com/blog/gsap-choreography/
1•vein05•22m ago•0 comments

Experimenting with graph-based semantic memory for AI agents

https://github.com/AEndrix03/Graft
2•AEndrix03•24m ago•0 comments

Intuit to lay off over 3k employees to refocus on AI

https://techcrunch.com/2026/05/20/intuit-to-lay-off-over-3000-employees-to-refocus-on-ai/
2•wapasta•24m ago•0 comments

Technology creates an illusion of control that risks robbing us of meaning

https://www.punkt.ch/blogs/editorials/punkt-losing-traction
5•James72689•31m ago•0 comments

How not to care online: Survival guide for staying human

https://www.jpost.com/health-and-wellness/article-884204
1•heavydevil•31m ago•0 comments

White House briefs AI firms on plans for model review

https://www.reuters.com/legal/litigation/white-house-briefs-ai-firms-plans-model-review-informati...
2•petethomas•37m ago•0 comments

Did AI Game the Commonwealth Prize?

https://unherd.com/2026/05/invasion-of-the-literary-bots/
1•627467•44m ago•1 comments

LAN-LOK: The Antarctic DOS Sabotage Game Lost for 34 Years

https://alphapixeldev.com/lan-lok-the-antarctic-dos-sabotage-game-lost-for-34-years-part-1/
1•miffe•45m ago•0 comments

What Models? Helps Match Local AI Models to Your Hardware

https://whatmodelscanirun.com/
1•javatuts•46m ago•0 comments

SecretScanner is an open-source tool for discovering passwords, API, tokens

https://github.com/deepfence/SecretScanner
2•javatuts•48m ago•0 comments

Open-source Discord alternative GoofCord has been released

https://github.com/Milkshiift/GoofCord
4•javatuts•50m ago•0 comments

The hype literacy toolkit for journalists

https://akademie.dw.de/hype-literacy/
2•johnshades•50m ago•0 comments

Regarding what ever happened to Cohere's Command-A series of models

https://old.reddit.com/r/LocalLLaMA/comments/1tizmar/re_what_ever_happened_to_coheres_commanda_se...
1•Terretta•51m ago•1 comments

Elon Musk's X admits noncompliance with Australia child protection request

https://www.reuters.com/legal/litigation/elon-musks-x-admits-noncompliance-with-australia-child-p...
3•1vuio0pswjnm7•52m ago•0 comments

Physicists confirm 'negative time' is real by asking the atoms themselves

https://www.livescience.com/physics-mathematics/quantum-physics/physicists-confirm-negative-time-...
2•cpncrunch•54m ago•0 comments

Creating Feedback Loops with Snapshotting [video]

https://vimeo.com/1194170218
1•Austin_Conlon•54m ago•0 comments

Convicted Felon Gets $1M/Year to Sell Obsolete Internet Service. You Pay for It

https://www.propublica.org/article/alaska-telecom-subsidies-roger-shoffstall
2•1vuio0pswjnm7•55m ago•1 comments

Pokemon Gen2 Compression Myth

https://old.reddit.com/r/TruePokemon/comments/hwluk9/while_it_is_true_that_iwata_did_write_a_new/
1•birdculture•59m ago•0 comments

The Letter S, by Donald Knuth [pdf]

https://gwern.net/doc/design/typography/1980-knuth.pdf
3•bambax•1h ago•0 comments

Parameter-Efficient Fine-Tuning Methods for Pretrained Language Models

https://www.computer.org/csdl/journal/tp/2026/06/11364256/2dAZTYlgxVu
1•teleforce•1h ago•0 comments

Vollebak alters emotions with new sonic jacket

https://www.designboom.com/technology/vollebak-sonic-jacket-emotional-resonance-chamber-body/
1•thunderbong•1h ago•0 comments

An AI system to help scientists write expert-level empirical software

https://www.nature.com/articles/s41586-026-10658-6
2•anigbrowl•1h ago•0 comments

I reverse engineered Apple's video wallpapers

https://github.com/kageroumado/phosphene
26•kageroumado•1h ago•2 comments

Show HN: Remote Job Board

https://www.remotejobs.place
2•beefive•1h ago•0 comments