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.

ChatGPT Space: a dystopia of centralised context

https://sentientsands.substack.com/p/chatgpt-space-a-dystopia-of-centralised
1•richardcrng•38s ago•0 comments

Shipping JPEG XL in Chrome

https://developer.chrome.com/blog/jpeg-xl-in-chrome
1•ledoge•56s ago•0 comments

Remove revenue tax on Kotlin, Swift, TypeScript and Go based apps

1•pcvetkovski•1m ago•0 comments

Which is the Best Linux terminal? Alacritty, Kitty, Ghostty, Foot, it's not easy

https://grigio.org/which-is-the-best-linux-terminal-alacritty-kitty-ghostty-foot-its-not-easy/
1•grigio•1m ago•0 comments

Credit Crunch

https://www.wheresyoured.at/credit-crunch/
2•crescit_eundo•3m ago•0 comments

OpenAI uses substantially different model for subs vs. API?

https://github.com/johnmu/codex-reasoning-token-experiment
1•jmu1234567890•3m ago•0 comments

A Jekyll theme that turns your blog into a macOS desktop

https://github.com/wlswo/macos-style-blog-theme
1•wlswo•3m ago•0 comments

Show HN: Aether: Check and fix web accessibility issues from your coding agent

https://github.com/allchemylabs/aether-wcag-scanner
1•samy_patra•4m ago•0 comments

What keeps documentation in sync with code changes

https://amendary.com/blog/tools-that-keep-documentation-in-sync-with-code
1•higeorge13•5m ago•0 comments

Show HN: Octri.dev – Generate customizable docs, 10 SDKs, and get an MCP server

https://octri.dev
1•EmadKhair•6m ago•0 comments

Show HN: Scrbbl – Underline your handwritten notes on iPad to get AI answers

https://github.com/AdamProbolsky/scrbbl
1•probolsky•6m ago•0 comments

A searchable collection of Seth Godin's book recommendations

https://www.thisisbroken.co.uk/
1•thetwopct•7m ago•1 comments

100 Best Articles of 2026

https://www.readponder.com/best-of-2026
1•colinbolin•7m ago•1 comments

Show HN: Best Prompt Generator Extension

https://chromewebstore.google.com/detail/gpt-prompt-maker-prompt-g/njpoaipglodaefkcinilkpicepdlimoo
1•sanathbhat•8m ago•0 comments

My first trading models knew which companies would survive

https://redgeoff.com/posts/trading-model-leakage/
1•redgeoff•9m ago•0 comments

Show HN: Session-continuity, cryptographic proof of session chains

https://github.com/mohammeddevsec-sys/session-continuity
1•devsec_moh•10m ago•0 comments

TasteVal: Does AI have research taste?

https://pzeroresearch.com/work/tasteval/
1•lukaspetersson•10m ago•0 comments

How environment variables work (and why you should delete your .env file)

https://infisical.com/blog/how-environment-variables-work
1•dangtony98•12m ago•0 comments

AI Is Now Si: Super Intelligence Isn't Superior

https://tej.as/blog/super-intelligence-isnt-superior
1•kesor•13m ago•2 comments

Emergence of pan-drug resistant virus in Kenya. Second globally documented case [PDF]

https://www.nature.com/articles/s41598-026-70653-9
1•thunderbong•14m ago•0 comments

GTA V compressed to 700MB and made playable in the browser via WebAssembly

https://www.tomshardware.com/video-games/pc-gaming/gta-v-playable-in-browser-immediately-nuked-un...
2•jamesgrimshaw•16m ago•0 comments

Show HN: Langgraph-harness - self-hosted AI agent for GitLab merge requests

https://github.com/vrajpal-jhala/langgraph-harness
2•vrajpal-jhala•16m ago•0 comments

Vibecoding isn't as fun as writing code by hand

https://www.autodidacts.io/vibecoding-isnt-as-fun-as-writing-code-by-hand/
23•Curiositry•17m ago•4 comments

Are Prediction Markets Politically Biased?

https://www.nber.org/papers/w35846
1•paulpauper•17m ago•0 comments

The Great Accretion and the Great Depression

https://www.nber.org/papers/w35816
1•paulpauper•18m ago•1 comments

Paul Graham versus the Pope

https://marginalrevolution.com/marginalrevolution/2026/10/the-pope-v-graham.html
1•paulpauper•19m ago•0 comments

Show HN: Mevali – Agile project management without the process theater

https://mevali.lamdera.app
1•johnsuder•19m ago•1 comments

Using Claude to design 74 homepages

https://wallxack.github.io/kiln-homepage-designs/
1•yehudabrick•20m ago•0 comments

Mods in Claude Code [video]

https://www.youtube.com/watch?v=yUuFvL1lK4k
1•nvmdbljstm•21m ago•1 comments

Show HN: Popular Claude Code skills vs. a placebo: 2 beat it, 1 did worse

https://github.com/simonether/skill-placebo
1•simonether•23m ago•0 comments