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.

Psychological stress catalyses free activation of coagulation in humans

https://physoc.onlinelibrary.wiley.com/doi/10.1113/JP290576
1•austinallegro•1m ago•1 comments

Flux Turns 10

https://fluxcd.io/blog/2026/07/flux-turns-10/
1•backlit4034•1m ago•0 comments

Gordon Wood's Proust

https://thelampmagazine.com/blog/gordon-woods-proust
1•keiferski•3m ago•0 comments

Show HN: A UML drawing skill for your coding agent docs

https://github.com/BESSER-PEARL/uml-drawing-skill
2•softmodeling•3m ago•0 comments

Lucas' Laws of Project Management

https://www.lucasfcosta.com/blog/laws-of-software-project-management
2•lucasfcosta•3m ago•0 comments

DuckDuckGo browser now blocks YouTube video ads

https://www.bleepingcomputer.com/news/software/duckduckgo-browser-now-blocks-youtube-video-ads/
1•ilreb•3m ago•0 comments

Waymo car delivers misbehaving teen passengers to San Mateo police

https://www.mercurynews.com/2026/07/07/waymo-car-reports-drinking-teens/
1•mooreds•4m ago•0 comments

Describing All My Photos

https://alexwlchan.net/2026/describing-my-photos/
1•surprisetalk•4m ago•0 comments

Proposal would allow drivers to trade personal data for lower insurance rates

https://calmatters.org/economy/2026/07/telematics-car-insurance-bill/
1•cdrnsf•6m ago•0 comments

Scaling Loop Engineering to the Team

https://twitter.com/etticat/status/2074731559941259659
2•etticat•6m ago•0 comments

France orders Meta to resume talks with media groups over publishing fees

https://www.reuters.com/world/french-antitrust-watchdog-orders-meta-resume-talks-with-media-group...
1•1vuio0pswjnm7•7m ago•0 comments

Manage Your Claude Code Config with Dotfiles and GNU Stow

https://www.yurikoval.com/blog/manage-ai-config-with-dotfiles.html
1•yurikoval•8m ago•0 comments

GLM-5.2 (max) matches Claude Opus 4.8 on Harvey LAB-AA benchmark

https://artificialanalysis.ai/evaluations/harvey-lab-aa
1•bogdiyan•8m ago•0 comments

EU top court dismisses Google fight against record €4.1B EU antitrust fine

https://www.irishtimes.com/technology/2026/07/02/eu-top-court-dismisses-google-fight-against-reco...
1•1vuio0pswjnm7•9m ago•0 comments

Cinchor – Control what an AI agent can do, and prove what it did

https://cinchor.com
1•foh_quarters•10m ago•0 comments

Show HN: Whentofly – flexible-date flight search that says if the price is good

https://whentofly.io
3•dimabalony•11m ago•1 comments

Is AI making us dumber?

https://www.businessinsider.com/ai-making-us-dumber-research-2026-7
1•amichail•12m ago•0 comments

The Social Tier: Remembering Who Said What

https://pentad.ai/PLRN/017/
1•kendallgclark•15m ago•2 comments

Sipeed NanoXray

https://sipeed.com/nanoxray
1•serhack_•17m ago•1 comments

Backdoor security alert over Anthropic's Claude Code

https://www.reuters.com/legal/litigation/china-issues-backdoor-security-alert-over-anthropics-cla...
3•Alien1Being•18m ago•0 comments

The Most Familiar Mystery in Physics

https://www.loofwired.com/p/the-most-familiar-mystery-in-physics
1•surprisetalk•19m ago•0 comments

Show HN: Squishy Billiards – A daily pool game with squishy physics

https://squishybilliards.com
2•jpohalloran•19m ago•0 comments

Fable wrote a .NET GC in C#, got within range of the stock GC in 2 days

https://github.com/kevingosse/ManagedDotnetGC/tree/claude/experiments
1•kookiz•22m ago•1 comments

How AI Embeddings Cut Cloud Costs by 50% While Boosting Matching by 65%

https://tech.wmg.com/breaking-the-black-box-how-ai-embeddings-cut-cloud-costs-by-50-while-boostin...
1•wmg•23m ago•0 comments

Funding open-source software without compromising it

https://yorickpeterse.com/articles/funding-open-source-software-without-compromising-it/
1•YorickPeterse•24m ago•0 comments

The $2T question: Will knowledge-work complexity scale with model capability?

https://twitter.com/__josh_harris__/status/2074824864288919945
1•jah242•26m ago•1 comments

Show HN: GhostedWatch, an extension that detects silent removals on patriots.win

https://ghostedwatch.com/
2•rhaksw•28m ago•0 comments

China warns about AI risks with Anthropic's Claude Code

https://www.cnbc.com/2026/07/08/china-anthropic-ai-claude-code-backdoor-security-threat.html
2•cramer4next•28m ago•1 comments

Robots available for rent: But what can they do?

https://www.bbc.com/news/articles/c4gymkg9lr2o
1•monkeydust•29m ago•0 comments

Show HN: I built the NAS drive comparison table I couldn't find

https://www.nasdisks.com/
4•deeddy•29m ago•3 comments