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.

Show HN: Chitra Studio – Your AI Media Workstation for Macs

https://chitra.studio/
1•anand_murugan•1m ago•0 comments

Show HN: Yila – A Codex for Scientific Research

https://yila.ai
2•blacktechnology•4m ago•0 comments

Lobste.rs Deactivates "Vibecoding" Tag

https://lobste.rs/s/h0eate/updates_site_guidelines_ai_llm_tags
2•droidjj•7m ago•0 comments

Show HN: Open Artifacts – host AI artifacts on your own Cloudflare account

https://open-artifacts.com/
1•leourbina•9m ago•0 comments

Measuring Intelligence Beyond Human Scale

https://www.lesswrong.com/posts/avtquSx2PkWsxXW6T/how-to-measure-intelligence-beyond-human-scale
1•nicholascarolan•12m ago•0 comments

Man arrested after discussing plans for childcare mass shooting with [Claude]

https://www.smh.com.au/national/nsw/sydney-man-allegedly-discussed-plans-for-childcare-mass-shoot...
2•milderworkacc•16m ago•1 comments

Xyzzy

https://xyzzy.com
1•sans_souse•25m ago•0 comments

Chip Hall of Fame: The Signetics NE555

https://spectrum.ieee.org/chip-hall-of-fame-signetics-ne555
1•mindcrime•26m ago•0 comments

AI Is Not a Race

https://www.nitinpai.in/2026/10/19/ai-is-not-a-race
2•nitin-pai•28m ago•1 comments

A small model with a review loop matches a larger one at 58% of the cost

https://theopenengine.com/blog/review-loop/
1•eivindmeyer•29m ago•0 comments

I made tiny robot eyes

https://www.youtube.com/watch?v=GbcN0bPs-Ig
1•oliculipolicula•29m ago•0 comments

Ask HN: New Outlook` sends everything through Microsoft Servers

2•NicoJuicy•30m ago•1 comments

Zepto Scales Customer Support on Databricks and MLflow

https://www.databricks.com/blog/evaluation-first-ai-agents-how-zepto-scales-customer-support-data...
1•akbarnama•37m ago•0 comments

Who lives without a car in the Bay Area

https://maxmautner.com/2026/10/16/sf-car-free.html
1•mslate•42m ago•2 comments

Calling all GPUs: help us benchmark SonicBoom v0.0.3

https://github.com/hardenedlinux/SonicBoom/issues/2
1•nalaginrut•42m ago•0 comments

Remade.Wiki

https://remade.wiki/
1•beatthatflight•44m ago•0 comments

Dead German Guys

https://blog.coredump.cx/p/dead-german-guys
1•surprisetalk•44m ago•0 comments

China Plans to Tighten Export Controls on AI Technologies

https://wallhop.io/https://www.theepochtimes.com//china/china-plans-to-tighten-export-controls-on...
3•jamiesonbecker•47m ago•2 comments

If you want to make a bajillion dollars, solve agent identity

https://12gramsofcarbon.com/p/agentics-agent-identity-is-a-really
2•theahura•50m ago•0 comments

Gaming's all‑digital future doesn't include Sonic the Hedgehog 3 and Pikmin 2

https://sethmlarson.dev/gaming-all-digital-future-and-creative-constraint
1•aray07•53m ago•0 comments

"The AI bubble is about to burst and a big market correction's coming" – NY Post

https://nypost.com/2026/10/17/business/the-ai-bubble-is-about-to-burst-much-like-the-infamous-dot...
4•MilnerRoute•54m ago•2 comments

Mathematics, Science and Artificial intelligence by Prof. Weinan E [video]

https://www.youtube.com/watch?v=70oUM-TdRds
1•belleville•56m ago•0 comments

Why Humanity Might Have to Declare War on AI (By: William Spaniel) [video]

https://www.youtube.com/watch?v=OAU3lAadXLM
1•4diii•57m ago•0 comments

Designing LLM failover as a route change, not a retry loop

https://modelflare-blog.static.hf.space/model-groups-and-failover.html
1•Matthewmodelfla•57m ago•0 comments

Can AI Automate Epoch?

https://epoch.ai/publications/can-ai-automate-epoch
3•gmays•1h ago•0 comments

The most powerful and free local AI note taking app I've ever used

https://github.com/seacen/meetcap
2•seacen•1h ago•2 comments

Show HN: Fan Transition – Generate outfit transition videos from a single photo

https://fantransition.com/
1•humphrey_liu•1h ago•0 comments

Show HN: Stream Reducer – Audio AI Summarization at Scale

https://reducer.xgoose.org/
3•lobstey•1h ago•0 comments

Show HN: PredixLab – my personal system to discover investment opportunities

https://github.com/predixlab/predixlab-infra
1•unliftedq•1h ago•0 comments

Show HN: See diffs of Wikipedia over time

https://memoryhole.app/wiki-timeline
1•flippant•1h ago•0 comments