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.

Harness Handbook

https://ruhan-wang.github.io/Harness-Handbook/
1•handfuloflight•38s ago•0 comments

Amazon's New Debt Deal Puts Its AI Spending Story on Trial

https://www.marketbeat.com/articles/amazons-new-debt-deal-puts-its-ai-spending-story-on-trial/
1•smn1234•1m ago•0 comments

Burning the 3:40 AM Window

https://www.kevinlondon.com/2026/07/07/burning-the-3-40-am-window/
1•Kaedon•1m ago•0 comments

Engineering technique- Stop Drilling [video]

https://www.youtube.com/shorts/LG-qDttgQUE
1•lifeisstillgood•2m ago•0 comments

Christopher Nolan says younger audiences are utterly rejecting AI-generated slop

https://twitter.com/DiscussingFilm/status/2075611671243194588
2•amrrs•4m ago•1 comments

Why AI Is Collapsing: How China Is Winning [video]

https://www.youtube.com/watch?v=JXJf7vL8k94
1•Bender•7m ago•0 comments

Ask HN: What was the last task where only a frontier model could do it?

5•thedebuglife•9m ago•2 comments

Relax with Coax

https://coaxtheapp.com/
1•ndr42•10m ago•1 comments

Head to Head: Muse Spark 1.1 vs. DeepSeek-V4-Pro

https://runtimewire.com/article/head-to-head-muse-spark-1-1-vs-deepseek-v4-pro
1•ryanmerket•10m ago•0 comments

Filipino virtual assistants behind LinkedIn's "thought leadership" content mill

https://restofworld.org/2026/virtual-assistant-linkedin-engagement/
3•_tk_•12m ago•0 comments

Bluesky Names Toni Schneider CEO

https://bsky.social/about/blog/07-10-2026-toni-schneider-ceo
1•ilreb•13m ago•0 comments

Show HN: Willow Voice – Free AI Dictation

https://willowvoice.com/
1•LiuLawrence45•13m ago•0 comments

How to think about span of control

https://www.rubick.com/span-of-control/
1•sciurus•16m ago•0 comments

Typocalypse – A free online game I made

https://typocalypse.fun/
1•Aurelius101•17m ago•0 comments

War Atlas: An interactive cartography of every named war in human history

https://waratlas.org
2•NaOH•18m ago•0 comments

SpaceX wants to launch 100k more Starlink satellites – for 100x the bandwidth

https://www.zdnet.com/home-and-office/networking/spacex-wants-to-launch-100000-more-starlink-sate...
14•CrankyBear•20m ago•5 comments

Uiua - A tacit array programming language

https://www.uiua.org/
1•weinzierl•20m ago•0 comments

Train the Agent, Then Replace It

https://allthesethings.substack.com/p/train-the-agent-then-replace-it
1•taubek•22m ago•0 comments

"Disk Not Ejected Properly": What It Means

https://bombich.com/blog/2026/07/07/disk-not-ejected-properly
1•speckx•22m ago•0 comments

Generating Effects

https://othermeans.substack.com/p/generating-effects
1•Tomte•22m ago•0 comments

Bun vs. Deno vs. Node.js 2026: Real Benchmarks Mislead

https://byteiota.com/bun-vs-deno-vs-node-js-2026-real-benchmarks-mislead/
3•h1696UOuk•23m ago•0 comments

The Work of Helping A.I. Destroy Work

https://www.nytimes.com/2026/07/10/business/ai-white-collar-jobs.html
1•apparent•23m ago•0 comments

The 2025–2026 Evolution of Generative Spatial AI

https://hal9.com/articles/the-2025-2026-evolution-of-generative-spatial-ai
1•javierluraschi•24m ago•0 comments

Alarm over launch of facial recognition in UK shops that instantly alerts police

https://www.theguardian.com/technology/2026/jul/10/facewatch-facial-recognition-uk-shops-instantl...
3•pseudolus•25m ago•0 comments

Why Stone-Faced Fascists Keep Getting Antiquity Wrong

https://www.thebulwark.com/p/why-stone-faced-fascists-keep-getting-antiquity-wrong-x-twitter-elon...
3•Tomte•28m ago•0 comments

Property Graphs in PostgreSQL

https://www.postgresql.org/docs/19/ddl-property-graphs.html
1•throwaway7783•29m ago•0 comments

Boom Prize: $750k to the first amateur RC plane that breaks the sound barrier

https://boomsupersonic.com/prize
2•dwwoelfel•29m ago•1 comments

Disable autoplay and infinite scroll or risk fines, EU tells Meta

https://arstechnica.com/tech-policy/2026/07/disable-auto-play-and-infinite-scroll-or-risk-massive...
3•OptionOfT•30m ago•0 comments

I Think I Know How to Solve the Video Game Industry's Problems

https://ggtribune.com/2026/07/10/opinion-i-think-i-know-how-to-solve-the-video-game-industrys-pro...
1•qdot76367•31m ago•0 comments

MagicView Advertising for Startups

https://www.magicview.com/
1•wesley-zheng•31m ago•0 comments