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.

Mistral is serving GLM 5.2

https://docs.mistral.ai/models/zai-glm-5-2
1•Vaskivo•2m ago•1 comments

New DeepSeek Pricing Published (Peak and Off-Peak)

1•mittermayr•2m ago•0 comments

The Importance of Whimsy

https://christiansafka.com/blog/the-importance-of-whimsy/
1•christiansafka•3m ago•0 comments

Let's not call it "tech debt," it's just "mess"

https://www.simplermachines.com/lets-not-call-it-tech-debt-its-just-mess/
2•birdculture•4m ago•0 comments

Drift Anchor -quick access to your proven AI prompts

https://microsoftedge.microsoft.com/addons/detail/dpedbbcbfmpjjonjolngjjpclkgahlpm
1•ballista2026•6m ago•0 comments

The Reason Data Center Gas Power Plants Are So Dirty

https://www.wired.com/story/real-reason-data-center-gas-power-plants-are-so-dirty/
1•beardyw•10m ago•0 comments

Building a practical path to post-quantum cryptography

https://www.technologyreview.com/2026/08/13/1141041/building-a-practical-path-to-post-quantum-cry...
1•theanonymousone•11m ago•0 comments

There Is Still No Silver Bullet

https://cekrem.github.io/posts/there-is-still-no-silver-bullet/
1•theanonymousone•12m ago•1 comments

Predictions for the Era of Continual Learning

https://www.dwarkesh.com/p/era-of-continual-learning
1•ronfriedhaber•14m ago•0 comments

ECS Lua

https://nidorx.github.io/ecs-lua/
1•kqr•15m ago•0 comments

How much time do you spend collecting invoices from websites? WICG proposal

https://github.com/WICG/proposals/issues/196
1•collimarco•18m ago•1 comments

Multi-Player Snake

https://multi-snake.michielborkent.nl/
1•Borkdude•18m ago•0 comments

OpenAI's Rumored Speaker Belongs on Keychains

https://ryanspahn.substack.com/p/openais-rumored-speaker-belongs-on
1•paul7986•19m ago•0 comments

Ableton Live and Push can now run on Linux, unofficially

https://cdm.link/ableton-live-on-linux/
1•dyzone•20m ago•0 comments

Working on Economics with Fable 5

https://wilsoniumite.com/2026/08/03/working-on-economics-with-fable-5/
1•Wilsoniumite•20m ago•0 comments

Critical theory engaging with discourse about nervous systems (2025)

https://www.reddit.com/r/CriticalTheory/comments/1oe78lz/critical_theory_engaging_with_current_me...
1•toilet•26m ago•0 comments

Ironic-Python-Agent: Container HardwareManager Security Model Misimplemented

https://seclists.org/oss-sec/2026/q3/488
1•runningmike•30m ago•0 comments

Show HN: I turned X's ranking algorithm into a game video

https://x-algorithm-weights.vercel.app
1•lime66•33m ago•0 comments

Are You Using AI? Do Not Forget Your Whip

https://skyecleary.substack.com/p/are-you-using-ai-do-not-forget-your
1•plastic-enjoyer•35m ago•0 comments

Roadmaps to Unicode Plane 1: Supplementary Multilingual Plane

https://www.unicode.org/roadmaps/smp/
1•Bluestein•36m ago•0 comments

OpenRouter: Unified LLM API with Routing and Fallbacks

https://trpevski.com/blog/openrouter-unified-llm-api-with-routing-and-fallbacks/
1•dzugumot•37m ago•1 comments

Multi-model chatbot back ends: contracts, routing, and fallbacks

https://medium.com/@CometAPI_/choose-the-best-backend-api-for-a-multi-model-ai-chatbot-b1e843f9cbf4
1•WavyPeng•39m ago•0 comments

Beyond Source: An Empirical Study of Python Bytecode Security Risks

https://arxiv.org/abs/2608.12853
1•runningmike•41m ago•0 comments

Of felt hats, feathers, macaroni, and weasels

https://languagelog.ldc.upenn.edu/nll/?p=24590
1•Bluestein•41m ago•0 comments

NASA Swift Boost Spacecraft Prepares to Continue Mission

https://science.nasa.gov/blogs/swift/2026/08/11/nasa-swift-boost-spacecraft-prepares-to-continue-...
2•croes•46m ago•0 comments

Show HN: Security scanner for SaaS build with AI

https://sentrint.com/sample
1•Gourabdg•46m ago•0 comments

Not Even Taste Would Be Left (Probably)

https://sebastian.graphics/blog/not-even-taste-would-be-left-probably.html
1•kasumispencer2•47m ago•0 comments

DeepSeek Harness developer preview: Everything is a plugin

https://www.deepseek.com/harness/en/
2•fernvenue•51m ago•0 comments

Spain extends Almaraz nuclear plant operations through 2030

https://www.reuters.com/business/energy/spain-extends-almaraz-nuclear-plant-operations-through-20...
5•mpweiher•51m ago•0 comments

Gitlawb Node, Federated Git server in Rust

https://github.com/Gitlawb/node
2•amrit_mirch•55m ago•0 comments