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.

Mac External Display Support by Chip

https://retinadesk.com/tools/external-display-support/
1•firexcy•1m ago•0 comments

Stephen Hawking's father worried his son 'does not study much', diaries reveal

https://www.theguardian.com/science/2026/may/23/stephen-hawking-father-worried-son-does-not-study...
1•pseudolus•2m ago•0 comments

Show HN: Formally verified polygon intersection – Opus 4.8 oneshots, prev failed

https://github.com/schildep/verified-polygon-intersection
1•permute•7m ago•0 comments

Red went from the #1 to the #5 colour for Japanese schoolgirls' backpacks

https://jivx.com/randoseru
1•momentmaker•18m ago•0 comments

Movwin: My (Unpublished) TUI Framework

https://movq.de/blog/postings/2026-05-29/0/POSTING-en.html
1•zdw•20m ago•0 comments

In situ cryo-ET defines the ultrastructure of ER exit sites in human cells

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

What a 98-Year Old Children's Book Teaches Us About AI

https://angrystaffofficer.com/2026/05/28/what-a-98-year-old-childrens-book-teaches-us-about-ai/
2•caycep•22m ago•0 comments

Textile Markup Language Documentation

https://textile-lang.com/
3•GaryBluto•27m ago•1 comments

Triassic-era crocodile relative walked on 2 legs, had a beaked mouth

https://interestingengineering.com/science/new-triassic-fossil-two-legged-crocodile
1•gmays•29m ago•0 comments

Genomic test could spare millions of breast cancer patients chemotherapy

https://www.theguardian.com/society/2026/may/29/groundbreaking-genomic-test-spare-breast-cancer-p...
3•pseudolus•33m ago•0 comments

Summary of Key Changes in OMB's Proposed Federal Financial Assistance Rule

https://elizabethginexi.substack.com/p/summary-of-key-changes-in-ombs-proposed
1•frigidwalnut•33m ago•0 comments

Key Chemistry Question Answered, No Quantum Computer Required

https://www.quantamagazine.org/key-chemistry-question-answered-no-quantum-computer-required-20260...
2•vi_sextus_vi•36m ago•0 comments

Why we're pivoting away from healthcare

https://saffron.health
2•tanishqkanc•38m ago•0 comments

Goldman's Model Shows Spain as 26% Probable World Cup Winner

https://www.bloomberg.com/news/articles/2026-05-29/goldman-s-model-shows-spain-as-26-probable-wor...
4•vismit2000•43m ago•0 comments

Google Chrome adds session cookie theft protection for all users

https://www.bleepingcomputer.com/news/security/google-chrome-adds-session-cookie-theft-protection...
2•deadbolt•43m ago•0 comments

TokioConf 2026 Talks

https://www.youtube.com/playlist?list=PLgVIJ9TpEgOmHj0ADDpf-qGckYEJs4QCE
3•nomaxx117•45m ago•0 comments

You're Underutilizing Java's Standard Library

https://feds-will-find.you/blog/youre-underutilizing-javas-standard-library
1•onesingleblast•48m ago•0 comments

The largest RC Boeing 777-9X takes flight

https://www.popsci.com/technology/worlds-largest-remote-controlled-boeing7779x/
2•qwertyuiop_•48m ago•0 comments

Release v0.1.0

https://github.com/multigres/multigres/releases/tag/v0.1.0
1•l2dy•50m ago•0 comments

Orbitals from Entanglement: Quantum Information gives rise to Chemical bonds

https://arxiv.org/abs/2501.15699
1•vi_sextus_vi•52m ago•0 comments

Petition in Support of Wikipedia Workers Union

https://en.wikipedia.org/wiki/Wikipedia:Wiki_Workers_United_solidarity
3•ftgregg•54m ago•1 comments

Prompt to Silicon with LangGraph

https://coresmith.ai/
1•ppabench•56m ago•0 comments

Tezcatl: A 2MB alternative to Puppeteer for scraping on macOS

https://george.mand.is/2026/05/tezcatl-a-2mb-alternative-to-puppeteer-for-scraping-on-macos/
1•xrd•59m ago•0 comments

Tokens or Humans? The New AI Cost Trade-Off Reshaping Corporate Budgets [video]

https://www.youtube.com/watch?v=niBP4qhNSWw
2•mgh2•1h ago•0 comments

Britain has crushed immigration, and harmed itself

https://www.economist.com/britain/2026/05/28/britain-has-crushed-immigration-and-harmed-itself
3•Anon84•1h ago•0 comments

How to Think Like a World-Class Marketer – Rory Sutherland

https://fs.blog/knowledge-project-podcast/rory-sutherland-2/
2•walterbell•1h ago•0 comments

A Closer Look at the Damage to New Glenn's Launch Pad

https://www.youtube.com/watch?v=5DAS7i9VD2w
2•busymom0•1h ago•0 comments

US to Appeal Judge's Order for Broad Refund of Trump Tariffs

https://www.bloomberg.com/news/articles/2026-05-29/us-to-appeal-judge-s-order-for-broad-refund-of...
5•petethomas•1h ago•2 comments

Software Architecture After AI

https://brianguthrie.com/p/software-architecture-after-ai/
2•bguthrie•1h ago•0 comments

Russia is being beaten by robots in Ukraine [video]

https://www.youtube.com/watch?v=_9GkUkIaOno
2•breve•1h ago•0 comments