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.

AI Isn't Human. Stop Talking About It Like It Is

https://www.thefp.com/p/artificial-intelligence-not-human
1•arkhiver•7m ago•1 comments

Wither ACM? Publish and Perish?

https://cacm.acm.org/opinion/wither-acm-publish-and-perish/
1•jwstarr•8m ago•0 comments

A high-performance JavaScript/TypeScript compiler toolchain written in Zig

https://yuku.fyi/
1•flashblaze•9m ago•0 comments

The EU is not about to censor access to the internet

https://www.euronews.com/my-europe/2026/07/13/no-the-eu-is-not-about-to-censor-access-to-the-inte...
1•alexey-salmin•10m ago•1 comments

America's Other Elections Problem

https://www.economist.com/united-states/2026/07/13/americas-other-elections-problem
1•andsoitis•13m ago•0 comments

Informing Ourselves to Death (1990)

https://web.archive.org/web/20031029211844/http://www.frostbytes.com/~jimf/informing.html
1•Chronos52•16m ago•0 comments

Show HN: A MCP for Agents to reverse engineer binary code

https://github.com/morluto/rea
1•Mplto•17m ago•0 comments

Stop the GUARD Act and age verification laws worldwide

https://www.fsf.org/blogs/community/stop-the-guard-act
1•smitty1e•24m ago•0 comments

India halts WhatsApp global username feature over cyberfraud risk

https://restofworld.org/2026/india-whatsapp-username-ban-encryption-cyber-fraud/
1•colinprince•29m ago•0 comments

Agents.md – Dumb Human

https://gist.github.com/skorotkiewicz/2d4db4ceaf83aa54eb7f2066fdb961ff
2•modinfo•29m ago•0 comments

Our Amish Language

https://www.thedial.world/articles/news/amish-pennsylvania-dutch
3•NaOH•37m ago•0 comments

Geo‑historical platform reconstructing political entities from 3499 BCE to today

https://www.phersu-atlas.com/
1•alphabetatango•38m ago•0 comments

Electric cars are taking off quickly in Latin America

https://ourworldindata.org/data-insights/electric-cars-are-taking-off-quickly-in-latin-america
3•alphabetatango•44m ago•0 comments

The value of AI is through the programmers

https://blazordata.net/ViewBlogPost/10
1•adefwebserver•44m ago•1 comments

GPT-5.6 Sol, Terra, and Luna: A Real-World Benchmark for Developers

https://qainsights.com/gpt-5-6-sol-terra-and-luna-a-real-world-benchmark-for-developers/
1•qainsights•46m ago•0 comments

DiScoFormer: One transformer for density and score, across distributions

https://huggingface.co/blog/allenai/discoformer
1•gmays•47m ago•0 comments

Every man a VC - On public deep-tech startups

https://msolom.substack.com/p/every-man-a-vc
1•msolomentsev•47m ago•0 comments

Japan develops a method to recover up to 90% of lithium from used EV batteries

https://tech.supercarblondie.com/japan-recovers-up-to-90-of-lithium-from-used-ev-batteries/
14•donohoe•50m ago•0 comments

An interesting statistical example of flaws in a voter impact index

https://statmodeling.stat.columbia.edu/2026/07/13/interesting-statistical-example-of-flaws-in-a-v...
2•zaik•51m ago•0 comments

The Six-Layer Memory Pipeline Behind Our Local-First Agentic Memory in 2026

https://medium.com/@vektormemory/the-six-layer-memory-pipeline-behind-our-local-first-agentic-mem...
1•vektormemory•52m ago•0 comments

7 Private Browsing Myths — Live Scanned: What Incognito Mode Doesn't Hide

https://mysysinfo.com/blog/private-browsing-myths
3•hackstar•54m ago•0 comments

Meta Is Flooding the Market with Smartglasses. Privacy Advocates Are Up in Arms

https://www.wsj.com/tech/ai/meta-is-flooding-the-market-with-smartglasses-privacy-advocates-are-u...
5•fortran77•54m ago•2 comments

Ask HN: What hardware hobby would you recommend to a software engineer?

2•merek•56m ago•2 comments

You can now chat using RSS

https://coywolf.com/news/social-media/you-can-now-chat-using-rss-well-sort-of/
4•twapi•59m ago•0 comments

Ask HN: How has the software industry changed for you personally?

6•brindidrip•1h ago•2 comments

Detecting Malicious Code at Scale

https://www.datadoghq.com/blog/engineering/scaling-malicious-code-detection/
3•crashpn•1h ago•0 comments

Fundamentals of Wireless Communication

https://web.stanford.edu/~dntse/wireless_book.html
26•teleforce•1h ago•2 comments

Sony Nerfs Videogame Ownership

https://www.eff.org/deeplinks/2026/07/sony-nerfs-videogame-ownership
5•Jimmc414•1h ago•2 comments

Show HN: GLM-5.2 is now available via Canopy Wave

https://twitter.com/CanopyWave_AI/status/2076667973616779441
2•Rossmax•1h ago•0 comments

Rubio announces campaign to 'dismantle' International Criminal Court

https://www.upi.com/Top_News/US/2026/07/13/rubio-campaign-dismantle-international-criminal-court/...
6•Bondi_Blue•1h ago•1 comments