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: BricksChat – Generate Lego builds from images, including Technic

https://brickschat.com/
2•mireklzicar•1m ago•0 comments

Omarchy Gets the Web Browser Launching Faster by Avoiding XDG Overhead

https://www.phoronix.com/news/Omarchy-Faster-Web-Browser
1•mikece•1m ago•0 comments

Negotiation tips for people who hate negotiating

https://coached.com/essays/negotiation-tips-for-people-who-hate-negotiating/
1•rohanm93•1m ago•0 comments

Why we decided to open source Relate

https://viablesystems.ai/writing/why-we-decided-to-open-source-relate
1•dennisy•2m ago•1 comments

Aligning a Personal Site with Indieweb and Web Standards

https://htsh.pl/blog/web-standards-audit/
1•jruohonen•3m ago•0 comments

GhostOS – Lightweight, Offline Desktop AI Assistant (macOS/Win/Linux)

https://github.com/GhostOS-ai/GhostOS
1•GhostOS•6m ago•0 comments

Gnome OS Preview

https://blogs.gnome.org/adrianvovk/2026/10/16/gnome-os-preview/
1•leephillips•7m ago•0 comments

A house on the internet that feels like home

https://cozywww.com/
1•jruohonen•7m ago•0 comments

Metas smart glasses record conversations without the wake phrase, company admits

https://www.techspot.com/news/114214-meta-smart-glasses-secretly-recording-conversations-without-...
2•randycupertino•10m ago•1 comments

Will it be a golden age or a dark age for mathematics (and science)?

https://terrytao.wordpress.com/2026/10/18/will-it-be-a-golden-age-or-a-dark-age-for-mathematics-a...
6•smilelamp•14m ago•1 comments

Websites are closing their doors to AI agents

https://www.theverge.com/ai-artificial-intelligence/1013195/ai-agents-blocked-web
13•evolve2k•16m ago•10 comments

Visual test failed. Is it the page or the capture?

https://skills.seu.pet/blog/visual-tests-that-lie
1•samuelfmedeiros•18m ago•0 comments

ChatGPT Dot Review: Your Chief of Staff Is Still an Intern

https://metedata.substack.com/p/chatgpt-dot-review-your-chief-of
1•young_mete•18m ago•0 comments

Staying off the hot path

https://davide.im/posts/hot-path/
1•vector3•19m ago•0 comments

RentAHuman

https://english.elpais.com/technology/2026-10-18/hire-a-human-the-future-where-ais-get-people-to-...
1•dxs•19m ago•0 comments

How a Computer System Works (1975 book)

https://rarehistoricalphotos.com/1975-computer-guide-photos/
1•dxs•20m ago•0 comments

I tried the vibe coded Fusion 360 (it's disappointing) [video]

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

Show HN: ElNeo, a E2E enabled matrix client for Emacs, inspired by telega

https://github.com/aard-fi/elneo
1•finaard•23m ago•0 comments

The Law of the Instrument

https://reimar-servas.de/writing/2026-07-07/the-law-of-the-instrument/
1•roosgit•25m ago•0 comments

Nordwand Mono – A monospace font for coders and adventurers

https://github.com/tywr/Nordwand-Mono
2•noriax86•26m ago•0 comments

Java sealed classes and exhaustive pattern matching

https://neilmadden.blog/2026/04/24/java-sealed-classes-and-exhaustive-pattern-matching/
2•hnisjafx40•27m ago•0 comments

Why big dogs age faster

https://news.asu.edu/20261008-health-and-medicine-why-big-dogs-age-faster
3•gmays•32m ago•0 comments

Show HN: TaskPocket, a to-do app with an MCP server instead of built-in AI

https://taskpocket.io/
1•bohdanstefaniuk•35m ago•0 comments

World Bank says 'small AI' could transform developing countries

https://www.theguardian.com/technology/2026/oct/18/world-bank-artificial-intelligence-developing-...
4•simonpure•37m ago•0 comments

Nvidia Nemotron 3.5 Super VL Powers Specialized Agents with Multimodal Reasoning

https://developer.nvidia.com/blog/nvidia-nemotron-3-5-super-vl-powers-specialized-agents-with-mul...
2•gmays•37m ago•0 comments

A Note on Content Restrictions

https://blog.zarfhome.com/2026/10/a-note-on-content-restrictions
2•HotGarbage•38m ago•0 comments

Italy's guiltiest food ritual went public

https://www.bbc.com/travel/article/20261015-in-italy-bad-table-manners-can-be-a-compliment
3•tosh•40m ago•0 comments

Nerd Speak

https://www.fgault.com/articles/nerdspk.htm
1•bearseascape•40m ago•0 comments

High performance policy routed IPsec mesh SD-WAN

https://ranet3.com/
2•StepBroBD•43m ago•0 comments

Anthropic's proposed AI safety bill only kicks in if 50 deaths or $1B in damages

https://www.tomshardware.com/tech-industry/artificial-intelligence/anthropics-proposed-ai-safety-...
31•f-serif•44m ago•20 comments