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.

Learning to Discover Interesting Mathematics

https://arxiv.org/abs/2609.28603
1•E-Reverance•40s ago•0 comments

Research into file-notification attacks on Linux

https://lwn.net/Articles/1096431/
1•xiaoyu2006•1m ago•0 comments

FDA panel endorses first-of-a-kind cancer blood test from Grail

https://apnews.com/article/grail-test-cancer-fda-dna-8fc5480be365b59c450043daa38cad30
1•gmays•3m ago•0 comments

Government considers £11 monthly UK broadband fee to fund BBC TV

https://www.ispreview.co.uk/index.php/2026/09/government-considers-11-monthly-uk-broadband-fee-to...
1•ksec•11m ago•0 comments

Show HN: Today I deployed this Durable Chat application and was impressed

https://durable-chat-template.netly.workers.dev/PghOYV3NHew0fYlhGAUZB
1•DinakarS•12m ago•0 comments

AICore: Exploring an adaptive control layer for heterogeneous PCs

https://github.com/7-hello007/AICore-Showcase
1•Kenny9892•12m ago•0 comments

Scaling Laws for Neural Language Models (first "scaling laws" paper from 2020)

https://arxiv.org/abs/2001.08361
1•thoughtpeddler•13m ago•0 comments

Bad examples can override agent skill files

https://codecut.ai/agent-skills-bad-session-history/
1•khuyentran1401•13m ago•0 comments

Search and Recommender Engines AI

https://github.com/alopatenko/LLMSearchRecommender
1•pltig•14m ago•0 comments

Ask HN: Who is smarter than you that you listen to what they have to say?

1•SMAAART•14m ago•0 comments

Using AI to Contribute to Open Source

https://www.visidata.org/blog/2026/ai/
1•pietroppeter•16m ago•1 comments

Show HN: Apple Ads as Infra as Code

https://github.com/picubedllc/terraform-provider-appleads
1•irdz•17m ago•0 comments

Supreme Court's emergency rulings imposing institutional costs

https://thehill.com/regulation/court-battles/6110805-justice-jackson-critiques-scotus-emergency-d...
1•Alien1Being•18m ago•0 comments

Show HN: Zchyoom - Live-ish Shinkansen Map

https://traingo.nyoom.io
2•qmarchi•21m ago•1 comments

Human Help to Survive AI

https://humanityark.cdtglobal.org/
1•igdiaz•25m ago•1 comments

Spec Vibing with Speccheck

https://github.com/rioffe/speccheck
1•robertioffe•27m ago•1 comments

The End of Apps and Websites

https://debuggerdotbreak.judahgabriel.com/2026/04/14/the-end-of-apps-and-websites/
2•mooreds•31m ago•0 comments

MentalHealthBench

https://openai.com/ru-RU/index/introducing-mentalhealthbench/
1•GloVin•32m ago•0 comments

Some data centers could consume more power than major cities

https://www.visualcapitalist.com/these-data-centers-could-consume-more-power-than-cities/
1•oliculipolicula•33m ago•0 comments

Global bond sell-off deepens, sending borrowing costs higher around the world

https://www.cnn.com/2026/09/24/investing/bond-market-global
2•mooreds•33m ago•0 comments

How to serve trillions of tokens for trillion-parameter coding agents

https://modal.com/blog/trillion-tokens-trillion-parameters
2•birdculture•33m ago•0 comments

YouTube Announces A/B Testing for Video Contents

https://www.reddit.com/r/youtube/comments/1wog7nq/youtube_announces_ab_testing_for_videos/
1•tech234a•35m ago•0 comments

Appointing AIs to manage bitter political divisions

https://spakhm.com/projects/assembly.html
1•duck•35m ago•0 comments

Nike's Phil Knight donates $1B to establish engineering school at U Oregon

https://www.nytimes.com/2026/09/23/us/billion-dollar-donation-university-oregon-phil-knight.html
2•osnium123•37m ago•2 comments

Stripe Link exposes merchants to undefendable fraud risk

2•hberg•38m ago•0 comments

Fagan – frontier models plan and review, open-weight models write code

https://github.com/motock/fagan
1•motock•40m ago•0 comments

Shipledger – verify that release notes match what shipped

https://github.com/kacxx/shipledger-demo
1•kacxx00•40m ago•0 comments

Show HN: Avoid smooth spinners, use low-FPS spinners

https://nh2.me/low-fps-spinners/low-fps-spinners.html
2•nh2•48m ago•0 comments

Sweetwater Sales Engineers are a team of music-gear experts dedicated to you

https://www.sweetwater.com/about/sales-engineers/
1•mooreds•49m ago•1 comments

The End of Programming by Hand

https://debuggerdotbreak.judahgabriel.com/2026/09/24/the-end-of-programming-by-hand/
2•judah•50m ago•0 comments