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.

How to Give Your AI Agent Memory You Can Audit

https://medium.com/@MirArshadTalpur/how-to-give-your-ai-agent-memory-you-can-audit-aec39a5c60ed
1•Arshad-Talpur•15s ago•1 comments

The State of Greenhouse Gases in the Atmosphere

https://library.wmo.int/records/item/69986-no-22-27-october-2026
1•layer8•4m ago•0 comments

Show HN: SkillScout, ranking AI tools by how you work instead of popularity

https://skillscout.si/
2•pepe4chan•5m ago•0 comments

Experimenting with Databases

https://replicated.live/blog/db
1•gritzko•6m ago•0 comments

Seam Cutter

https://simonwillison.net/2026/Oct/25/seam-cutter/
1•hn9zmdcaou•6m ago•0 comments

A suspended user's agent run still wrote a file: an internal pilot

https://scopehaven.dev/ai-agent-suspended-user-finding
1•YusefSyed•7m ago•0 comments

Protobuf in Python and TypeScript is good now

https://buf.build/blog/protobuf-in-python-and-typescript-is-actually-good-now
1•eatonphil•7m ago•0 comments

Show HN: Web-based, super barebones markdown editor

https://github.com/ConorCallanan2003/browsermd
1•conor_callanan•8m ago•0 comments

Stop Vibing, Start Resonating: Pair Programming with LLM Agents

https://alphapixeldev.com/vibe-coding-vs-resonance-coding/
1•XenonofArcticus•9m ago•0 comments

Gilgamesh by Simon Armitage review – an ancient epic is brilliantly translated

https://www.theguardian.com/books/2026/oct/20/gilgamesh-by-simon-armitage-review-an-ancient-epic-...
1•benbreen•9m ago•0 comments

Skip DX

https://skipdx.com/
1•austinallegro•9m ago•0 comments

Muse Referral Code – If you need extra usage credits

1•moizrocky1•10m ago•0 comments

Show HN: UI experiment - Peek and Pop for the macOS Dock

https://www.threads.com/@matthaeuskrenn/post/DfAZSPZiZSi
1•matthaeus•10m ago•0 comments

Show HN: Control the browser directly from TheGitAI Terminal

https://thegit.ai/docs/core-features/browser-control
1•waximabbax•11m ago•1 comments

Why is candy so expensive this Halloween?

https://www.kadoa.com/food-prices/insights/halloween-candy
2•hubraumhugo•11m ago•0 comments

Tell HN: Public Homepage Caching

1•Yukonv•12m ago•0 comments

Ezdraw – Local-first whiteboard app, saves to GitHub

https://ezdraw.net/
2•vadepaysa•12m ago•0 comments

Show HN: 10x faster, 3x cheaper ETL

https://espresso.ai/nitro
1•karamazov•12m ago•0 comments

The Eureka Machine

https://www.amazon.com/dp/154170570X
1•pretext•13m ago•0 comments

Stria – a daily Wordle-style puzzle for identifying minerals

https://stria.pages.dev/
1•wzchao•13m ago•0 comments

Show HN: Wenlan – your LLM wiki that flags what it can't back up

https://github.com/wenlan-app/wenlan
1•h164654156465•13m ago•1 comments

A Jev-style vision model is now OPEN SOURCE

https://github.com/Sivasuthan9/fovea
2•relohar•14m ago•1 comments

She Worried About Cutting Her Medication Dose. ChatGPT Told Her to Push On

https://www.nytimes.com/2026/10/27/well/ai-chatgpt-medication-epilepsy-death.html
1•danso•14m ago•1 comments

CipherTEA

https://ciphertea.com/
1•atift•15m ago•0 comments

Show HN: I built My Own Lore, an MCP game for role-playing in shared worlds

https://myownlore.com
4•pontes•15m ago•2 comments

Tiny Tracking Tags for Big Monarch Journeys

https://blog.cwf-fcf.org/index.php/en/tiny-tracking-tags-for-big-monarch-journeys/
1•rdmuser•16m ago•1 comments

From SaaS to agents: our users' job became the agent's job

https://www.trackingplan.com/blog/from-saas-to-agents
2•krammer•16m ago•0 comments

gron: Make JSON Greppable

https://github.com/TomNomNom/gron
3•theanonymousone•16m ago•0 comments

Norwegian media sue Meta over plans to use their journalism for AI

https://www.euronews.com/2026/10/27/norwegian-media-sue-meta-over-plans-to-use-their-journalism-f...
6•devonnull•17m ago•0 comments

Maine banned phones in schools to help teens focus and connect. It's working

https://apnews.com/article/maine-cellphone-ban-positive-changes-83bb538cf45879ce6ab4639c6cc73b7b
3•jethronethro•17m ago•0 comments