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.

Account Deactivated Due to Biological Research

https://www.reddit.com/r/OpenAI/comments/1wd5kpp/account_deactivated_due_to_biological_research/
1•bithammerthunde•4m ago•0 comments

Show HN: VideoHighlighter – offline self-hosted video analyzer

https://github.com/Aseiel/VideoHighlighter
2•Aseiel•6m ago•0 comments

Why is a Nix rollback just a symlink flip?

https://www.labcraft.dev/blog/nix-profiles-generations
2•anandsuresh•10m ago•0 comments

Veilid for Everyone

https://veilid.com/why-use-veilid/
2•Bluestein•12m ago•0 comments

Interpreting Pangram

https://lucumr.pocoo.org/2026/9/14/interpreting-pangram/
2•swah•14m ago•0 comments

Autopoietic Ethics Constitution

https://www.guidavid.com/writing/autopoietic-ethics-constitution.txt
2•gdss•15m ago•0 comments

Personal Statement on AI Risk (Daniel Selsam, OpenAI capabilities)

https://docs.google.com/document/d/e/2PACX-1vQNl3SEX5IyA6d9qHjjFZN-qzGRZNFI6b63g-yu1Fy-ZYkVfCWm7i...
2•yurivish•15m ago•0 comments

Charts Built for Chat

https://dbtcharts.com/blog/charts-built-for-chat/
4•thingsilearned•16m ago•2 comments

One Android app. Why so many processes?

https://returnzero.dev/articles/one-android-app-why-so-many-processes
2•theanonymousone•16m ago•0 comments

Land Is Scarce, Just Burn Your Trash

https://www.governance.fyi/p/land-is-scarce-just-burn-your-trash
2•guardianbob•16m ago•0 comments

Tell HN: iOS 27 does not allow Apple Intelligence to be disabled

6•nunez•17m ago•0 comments

Echo: A shader editor shader editor

https://echo.hughsk.io/docs/reference
2•hughsk•18m ago•0 comments

Show HN: DevRecap – reconstruct what you worked on from Codex and Git

https://github.com/jquinteiroo/devrecap
3•jquint•19m ago•0 comments

O Empire Ward Off Thy Rot [video]

https://www.youtube.com/watch?v=ehPDch6mAFw
2•pusewicz•19m ago•0 comments

Nobody's safe from misaligned AI-not even the people building it

2•causal-alignmen•20m ago•0 comments

Not the Glue They Thought It Was

https://www.science.org/content/blog-post/not-glue-they-thought-it-was
1•EA-3167•22m ago•0 comments

Mark Zuckerberg: A profile of history's largest non-territorial empire

https://colossus.com/article/mark-zuckerberg-profile/
1•IshanMi•23m ago•0 comments

DeepSeek Is Down

https://openrouter.ai/deepseek/deepseek-v4.1-flash
2•dofi4ka•23m ago•0 comments

Why Beyond Vanilla RAG?

https://chandula7.gumroad.com/l/AgenticRAGFundamentals
4•lokizzz•23m ago•2 comments

A single firm is behind OpenAI, Anthropic, and Meta hacking scandals

https://www.effort.news/irregular
9•yusufozkan•23m ago•0 comments

Ollama 0.33.3 changed what prompt_eval_duration measures

https://lognebudo.github.io/llmxray/docs/en/articles/ollama-prefill-metrics.html
1•lognebudo•24m ago•0 comments

Fathom (YC W21) is being acquired by Superhuman

https://www.fathom.ai/superhuman
1•jorts•26m ago•1 comments

Personal Statement on AI Risk

https://docs.google.com/document/u/0/d/e/2PACX-1vQNl3SEX5IyA6d9qHjjFZN-qzGRZNFI6b63g-yu1Fy-ZYkVfC...
1•mellosouls•26m ago•1 comments

California lawmakers urge criminal penalties emergency legislation to rein in AI

https://www.latimes.com/california/story/2026-09-13/rogue-ai-concerns-prompt-ca-lawmakers-to-dema...
1•1vuio0pswjnm7•27m ago•0 comments

SWE-Bench Multimodal: Do AI Systems Generalize to Visual Software Domains?

https://www.swebench.com/multimodal.html
1•matt_d•29m ago•0 comments

New EU Repair Rules [video]

https://www.youtube.com/watch?v=N66XA9UwaRA
1•franczesko•30m ago•0 comments

A Generalizable Light Transport 3D Embedding for Global Illumination

https://dl.acm.org/doi/full/10.1145/3799902.3811095
1•ibobev•32m ago•0 comments

RoofLang: Enabling AI-Driven Architecting of LLM Inference Systems

https://arxiv.org/abs/2609.12551
2•matt_d•32m ago•0 comments

DLSS 5: Generative Neural Rendering

https://research.nvidia.com/labs/adlr/DLSS5/
1•ibobev•32m ago•0 comments

Amazon vs. Perplexity – U.S. Court of Appeals for the Ninth Circuit

https://law.justia.com/cases/federal/appellate-courts/ca9/26-1444/26-1444-2026-08-04.html
73•neom•33m ago•53 comments