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.

We Stopped Using SDKs

https://twitter.com/alvinsng/status/2077114275412512868
1•alvsng•5m ago•0 comments

I Talk to My Deceased Grandparents Every Day Using This AI App

https://medium.com/@chatbrat.ai/how-i-talk-to-my-grandparents-who-passed-in-a-car-accident-using-...
2•henrypissler•7m ago•0 comments

1X's NEO hand is genuinely impressive. The economics are brutal

https://dotient.com/blog/1x-neo-hand-analysis
1•localdeclan•7m ago•0 comments

Looking for developers with high-token AI workflows

https://canopywave.com/events/unlimited-token-plan-200m
2•Timmyzzz•11m ago•0 comments

LinkedIn is a cesspool of scammers and identity theft

1•lbpdev•13m ago•0 comments

Helsing's 'crazy' valuation raises defence tech bubble concerns

https://www.ft.com/content/958e8dd4-52b1-425b-9e05-5d20bde416f8
1•petethomas•19m ago•0 comments

Show HN: Workaround – review and clean up your GitHub stars

https://workaround.run/dashboard
2•yusveng•30m ago•0 comments

The Math Behind "AI Will Take Your Job" Is Laughably Wrong [video]

https://www.youtube.com/watch?v=sQGZXrzykpU
2•jv22222•31m ago•0 comments

Lobste.rs is now running on SQLite

https://lobste.rs/s/ko1ji1/lobste_rs_is_now_running_on_sqlite
5•subset•35m ago•0 comments

Meta used AI to tag workers who took leave to be laid off, lawsuit claims

https://www.theguardian.com/technology/2026/jul/14/meta-ai-mass-layoffs-lawsuit
4•sandebert•36m ago•0 comments

You can write in LLMese, but you don't have to

https://passo.uno/write-docs-llms-language/
2•eigenBasis•43m ago•0 comments

Job Hunters Are Using AI to Cheat in Interviews, and Failing at the Office

https://www.bloomberg.com/news/articles/2026-07-14/ai-tools-can-help-job-hunters-cheat-on-intervi...
4•petethomas•43m ago•0 comments

Electron isAccessibilitySupportEnabled broken when running JAWS since v34

https://github.com/electron/electron/issues/45856
1•shakna•43m ago•0 comments

How Brands Sneak in Cheaper Ingredients to Protect Their Profit Margins

https://www.bloomberg.com/news/articles/2026-07-14/from-chocolate-to-orange-juice-more-brands-sne...
2•petethomas•44m ago•0 comments

Show HN: I turned lender underwriting criteria into a 7-question quiz

https://fundingexplained.com/business-funding-quiz/
2•FE_com•48m ago•0 comments

Telstra outage blamed on known bug in obsolete server

https://ia.acs.org.au/article/2026/telstra-outage-blamed-on-known-bug-in-obsolete-server.html
2•shakna•54m ago•0 comments

We don't let the LLM decide what's clinically allowed

https://www.hamo.ai/blog/taking-the-clinical-decision-out-of-the-llm/
3•chrischengzh•55m ago•1 comments

Trust but Verify? Uncovering the Security Debt of Autonomous Coding Agents

https://arxiv.org/abs/2607.12428
2•Timofeibu•57m ago•0 comments

Xtree Fan Page

https://www.xtreefanpage.org/
2•razodactyl•57m ago•0 comments

Google and Epic stop fighting – third-party Android app stores coming next week

https://www.theverge.com/policy/965792/google-epic-withdraw-injunction-third-party-app-stores-com...
1•OuterVale•1h ago•0 comments

Show HN: I open-sourced the portal I built for a client's vibe-coded apps

https://github.com/menagerai/menagerai
1•tipani•1h ago•1 comments

Threading the AI in the UI for a personal app

https://millfolio.app/blog/millwright-ui-layers/
2•winding•1h ago•0 comments

Colombian Public School Reaches Top in Best School Prizes 2026

https://colombiaone.com/2026/07/13/colombian-public-school-reaches-top-10-in-worlds-best-school-p...
1•thunderbong•1h ago•0 comments

Poland begins construction of €2.3B deepwater port on Baltic coast

https://notesfrompoland.com/2026/07/14/poland-begins-construction-of-e2-3bn-deepwater-port-on-bal...
3•cromka•1h ago•0 comments

Is this the end of the once-mighty GoPro?

https://amateurphotographer.com/latest/photo-news/going-going-gone-is-this-the-end-of-the-once-mi...
2•aanet•1h ago•1 comments

Using One Agent Across Multiple Machines

https://syncless.ai/articles/let-syncless-across-your-environments
1•mountainview•1h ago•0 comments

The Matter of Taste(2018)

https://www.callum.website/the-matter-of-taste
2•num42•1h ago•0 comments

AgentCall – turn any coding agent into a live meeting participant

https://agentcall.dev
3•Marium_zehra•1h ago•0 comments

From Sawdust to Paw Patrol: The Spin Master Story (With Ronnen Harary) [audio]

https://www.econtalk.org/from-sawdust-to-paw-patrol-the-spin-master-story-with-ronnen-harary/
1•mooreds•1h ago•0 comments

Stripe, Advent offer to buy PayPal for more than $53B

https://www.reuters.com/business/finance/stripe-advent-offer-buy-paypal-more-than-53-billion-sour...
13•rvz•1h ago•7 comments