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.

When 'if' slows you down, avoid it

https://easylang.online/blog/branchless
2•signa11•3m ago•0 comments

Agent memory that forgets and distorts on purpose

https://github.com/jbsalles/Selmem
1•Jibs79•4m ago•0 comments

IKEA Hacks and DIY Ideas – IKEA Hackers

https://ikeahackers.net
1•thunderbong•5m ago•0 comments

Forge: Go Library and CLI for Working with GitHub, GitLab, Forgejo

https://github.com/git-pkgs/forge
1•joooscha•7m ago•0 comments

Understanding Inference and the Economics of Enterprise AI

https://www.vistaequitypartners.com/insights/inference-economics-enterprise-ai/
1•nlpnerd•7m ago•1 comments

Show HN: Crew — Let Claude/Codex/OpenCode agents talk to each other

https://github.com/0xmmo/crew/
2•mmoustafa•10m ago•1 comments

Show HN: Mailward – Open Outlook PST/OST files in the browser, nothing uploaded

https://pst.aivismonitor.com
1•xsxs89757•10m ago•0 comments

A World Away from Family

https://www.ajarn.com/blogs/bangkok-phil/world-away-family
1•rzk•13m ago•0 comments

Should You Buy a ThinkPad?

https://www.rubenerd.au/should-you-buy-a-thinkpad/
2•Tomte•14m ago•0 comments

Outrageously Small Neural Networks: 6,616 tok/s on One Intel AMX Core [pdf]

https://huggingface.co/gdiamos/amx-reasoning-v1-instruct/blob/main/paper.pdf
2•gdiamos•17m ago•1 comments

AI economics. OpenAI financials leaked ahead of IPO

https://nixie.substack.com/p/ai-economics-openai-financials-leaked
1•u1hcw9nx•18m ago•0 comments

Show HN: DiskBuddy – Visualize Your Mac Storage in 8 Different Ways

https://www.diskbuddy.com
1•mohitvaswani•32m ago•0 comments

The purpose of DNS is to spread scams

https://shkspr.mobi/blog/2026/09/the-purpose-of-dns-is-to-spread-scams/
3•CoderLim110•34m ago•1 comments

Version Control Second Coming

https://psantosl.github.io/posts/version-control-second-coming/
1•sasham•39m ago•0 comments

Work hard – nobody cares how good you used to be

https://www.theguardian.com/fashion/2026/sep/07/work-hard-nobody-cares-how-good-you-used-to-be-pa...
2•teleforce•41m ago•0 comments

Show HN: Free Spotify Canvas Maker

https://www.neuralframes.com/tools/spotify-canvas-maker
1•nicollegah•44m ago•0 comments

Show HN: GPT-5.1 returned 0 bytes, שָׁרְט isn't Hebrew, AGI criterion defined

https://www.reddit.com/r/ArtificialInteligence/comments/1w9kgcl/gpt51_returned_0_bytes_gpt52_surf...
1•rayanpal_•44m ago•0 comments

Show HN: Free Song to Lyrics

https://www.neuralframes.com/tools/song-to-lyrics
1•nicollegah•45m ago•0 comments

NATO Is Losing the Information War. Here Is How to Win

https://foxandlion.pub/analysis/nato-is-losing-the-information-war.-here-is-how-to
5•agrantic•46m ago•1 comments

AI Escape Incident Tracker

https://ai-escape.watch/#registry
1•FinAck-Sec•49m ago•1 comments

Look, Mom, I pressed a button

https://galoisrepresentations.org/2026/09/05/look-mom-i-pressed-a-button/
2•robinhouston•51m ago•0 comments

The Evolution of Coding Agents

https://twitter.com/kushbhuwalka/status/2096856441063870969
1•kushbhuwalka•51m ago•0 comments

LG smart TVs caught logging audio with screen off and snooping on local devices

https://www.notebookcheck.net/LG-smart-TVs-caught-logging-audio-with-screen-off-and-snooping-on-l...
2•chris_overseas•51m ago•0 comments

Show HN: I wrote a guide to rendering video from plain HTML/CSS/GSAP

https://sidheart.gumroad.com/l/lyudd
2•SifatAhmed•52m ago•1 comments

Who Cares If AI Is Conscious–It's Basically Alive

https://www.wired.com/story/who-cares-if-ai-is-conscious-its-basically-alive/
1•joozio•52m ago•1 comments

ORM experience, Redis speed, PostgreSQL durability,functions without boundaries

https://github.com/orbsh/okm
1•orbsh•53m ago•0 comments

Show HN: Plethora, Social platform and SDK around games and interactive content

https://plethora.studio/
1•pratt3000•54m ago•2 comments

Show HN: Open-source agent memory layer, 96% on LongMemEval, local-first

https://github.com/everest-an/Awareness-Market
1•AwarenessAI•56m ago•0 comments

PC Tweaker – Windows settings with per-change restore, built in Rust

https://github.com/AurelioAvila/pc-tweaker-app
1•Aurelioavila•1h ago•0 comments

Necessist, a tool to identify broken tests

https://github.com/trailofbits/necessist
1•mkhq•1h ago•0 comments