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.

Reddit Stock Collapses 23% as AI Eats Away at User Growth

https://www.barchart.com/story/news/3584357/reddit-stock-collapses-23-as-ai-eats-away-at-user-growth
2•u1hcw9nx•6m ago•1 comments

Investigation into the Re-Appearance of Agent 9

https://medium.com/luminasticity/investigation-into-the-re-appearance-of-agent-9-a9a9a3a17393
1•bryanrasmussen•8m ago•0 comments

IBM CEO says quantum computing will have impact on earnings by 2028 or 2029

https://www.cnbc.com/2026/07/30/ibm-ceo-quantum-computing-measurable-impact-earnings-2028-2029.html
2•mrkO99•10m ago•0 comments

Continuous Architecture Evolution with Team Habits

https://www.youtube.com/watch?v=xO0__3gRWoI
1•aoma_conference•11m ago•0 comments

Some of us will never have careers [video]

https://www.youtube.com/watch?v=lFxvf4qcJL4
1•Gecko4072•12m ago•0 comments

Show HN: utils.foo > developer utilities that run client-side without ads

https://utils.foo/
1•zodvik•12m ago•0 comments

The midlife crisis castle (Kendra Gaylord) [video]

https://www.youtube.com/watch?v=hiQ3mZA_byY
1•zeristor•13m ago•0 comments

Ten Advances in Mathematics and Theoretical Computer Science [pdf]

https://cdn.openai.com/pdf/ten-proofs-oai.pdf
2•ahlCVA•14m ago•1 comments

Norway's first adventure games (2025)

https://spillhistorie.no/2025/09/11/norways-first-adventure-games-part-1/
2•kqr•17m ago•0 comments

Sunsetting New.email

https://resend.com/blog/sunsetting-new-email
2•vednig•20m ago•0 comments

Stacked Diffs (and why you should know about them) (2023)

https://newsletter.pragmaticengineer.com/p/stacked-diffs
2•theanonymousone•24m ago•0 comments

Simon Willison on DeepSeek-V4-Flash-0731

https://simonwillison.net/2026/Jul/31/deepseek-v4-flash-0731/
9•theanonymousone•30m ago•3 comments

The Kurzgesagt Situation is Insane [video]

https://www.youtube.com/watch?v=OX1yHmeLPy8
4•wrxd•30m ago•0 comments

RamenHaus

https://ramen.haus/
22•oler•30m ago•3 comments

Unifeyn – upload any content and get notes, flashcards, and quizzes from it

https://www.unifeyn.app/
2•securemepro•35m ago•0 comments

1 in 10 comments across 40 subreddits disappeared within 36 hours

https://growtika.com/blog/reddit-comment-removal-study
2•Growtika•38m ago•0 comments

Show HN: SendPage – Paste AI-generated HTML, get a link clients can open

https://sendpageapp.com
3•jack714•40m ago•1 comments

The Obligatory AI Post

https://lapcatsoftware.com/articles/2026/7/15.html
3•latexr•42m ago•0 comments

"Last month, you watched TV for less than an hour per day on average"

https://twitter.com/oohweehuman/status/2083162929369878606
2•turrini•45m ago•1 comments

Multi-Paxos vs. Strong-Sync vs. Raft

https://medium.com/from-zero-to-seekdb/multi-paxos-vs-strong-sync-primary-replica-vs-raft-which-h...
2•jinqueeny•50m ago•0 comments

EU will mandate labels on authentic-looking AI content starting August 2

https://www.engadget.com/2227966/eu-mandate-labels-on-authentic-looking-ai-content/
3•vrganj•52m ago•0 comments

Free tools for Etsy sellers, podcasters, and indie devs

https://thesellermind.com/tools/fee-calculator
2•haimo•54m ago•0 comments

FBI gets voter's IP address in new fraud probe tactic

https://www.axios.com/2026/07/31/fbi-voter-ip-address-investigation
5•_tk_•57m ago•1 comments

How to Do Great Work

https://paulgraham.com/greatwork.html
2•tosh•1h ago•0 comments

The Chatbot Act Forces One Parenting Model on Every Family

https://www.eff.org/deeplinks/2026/07/chatbot-act-forces-one-parenting-model-every-family
3•mdp2021•1h ago•0 comments

Leopold Aschenbrenner Built a Hot A.I. Hedge Fund. Then It Melted Down

https://www.nytimes.com/2026/07/31/business/situational-awareness-leopold-aschenbrenner.html
5•sbulaev•1h ago•2 comments

Google Just Ruined One of Its Most Important Tools

https://www.theatlantic.com/technology/2026/07/google-earth-ai-images/688145/
4•eloisius•1h ago•2 comments

Perplexity AI loses bid to toss Reddit lawsuit over data scraping

https://www.reuters.com/legal/litigation/perplexity-ai-loses-bid-toss-reddit-lawsuit-over-data-sc...
2•thm•1h ago•0 comments

What makes good magnet programs attractive?

https://www.educationprogress.org/p/what-makes-good-magnet-programs-attractive
2•barry-cotter•1h ago•0 comments

Ask HN: How did your boss's behavior change with the rise of AI?

3•aredirect•1h ago•1 comments