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.

It doesn't matter what's right, it matters what's left

https://minhanhday.substack.com/p/it-doesnt-matter-whats-right-it-matters
1•mday404•7s ago•0 comments

Arx2V: A compiler for Arx, a Python-like HDL (transpiles to Verilog)

1•uppmpt•12s ago•0 comments

Arx2V: A compiler for Arx, a Python-like HDL (transpiles to Verilog)

https://github.com/uppmpt/Arx2V
1•uppmpt•24s ago•0 comments

Anthropic now lets Claude users jump out of plane without parachute

https://www.theregister.com/ai-and-ml/2026/10/27/anthropic-now-lets-claude-users-jump-out-of-plan...
1•DemiGuru•28s ago•0 comments

Show HN: I made an interactive Sakura tree that runs in the browser

https://nozomi-xi.vercel.app
1•mohabbat_vlx•56s ago•0 comments

Musk's xAI offered to buy homes if they don't sue over datacentre noise

https://uk.news.yahoo.com/elonville-mississippi-residents-musk-xai-113001859.html
1•nephihaha•57s ago•0 comments

The New Age of Reading

https://www.newyorker.com/magazine/2026/10/26/james-daunt-profile
2•Amorymeltzer•1m ago•0 comments

A world that no longer exists: preserving family legacy and travel experience

https://arceri.netlify.app/?lang=en
1•tcsenpai•2m ago•1 comments

A safety checklist in the prompt didn't measurably help frontier models

https://theagentforge.io/lab/4/results
1•djayamaha•2m ago•0 comments

China rushes to shore up markets as AI trade sours

https://www.ft.com/content/2bb82c45-04b2-4ccc-9002-f54483fb044e
1•JumpCrisscross•2m ago•0 comments

Show HN: Chopstick – Mac notch widgets built by your coding agent

https://chopstick.sh/
1•joshuaknauber•3m ago•0 comments

Show HN: Parley – coding-agent sessions that collaborate over IRC

https://github.com/colinsurprenant/parley
1•colinsurprenant•4m ago•1 comments

Studio 3e8: Mesa 1, Metal 3D Printer

https://www.studio3e8.com/post/studio-3e8-launch
1•danthompson41•4m ago•0 comments

Is It O.K. To Be a Luddite?

https://archive.nytimes.com/www.nytimes.com/books/97/05/18/reviews/pynchon-luddite.html
1•lifeisloving•4m ago•0 comments

Show HN: Algeon – Compose GPU graph, vector, and ML algorithms in SQL

https://github.com/algeon-dev/algeon
1•morristai•5m ago•0 comments

Gta.js – The Original 1997 Grand Theft Auto Engine in JavaScript and WebG

https://gtajs.wtf/#demo
1•rmason•5m ago•0 comments

Opus 5.5 is awesome

https://alexkras.com/opus-5-5-is-awesome/
1•akras14•5m ago•0 comments

The AI cost of JavaScript frameworks

https://nolanlawson.com/2026/10/28/the-ai-cost-of-javascript-frameworks/
1•notfried•5m ago•0 comments

Show HN: Arketum – MCP server that makes coding agents stop for human approval

https://www.npmjs.com/package/@rlabs-cl/arketum
1•rlabbe•5m ago•0 comments

Keep the Changelog, Avoid the Conflicts

https://devenv.sh/blog/2026/10/28/keep-the-changelog-avoid-the-conflicts/
1•domenkozar•6m ago•0 comments

Psychometrics, vaccines, meat, Kowloon, luggage destruction

https://dynomight.net/shorts-8/
1•surprisetalk•7m ago•0 comments

Size matters: South Korea spared iPad mini image's potentially offensive gesture

https://appleinsider.com/articles/26/10/28/size-matters-south-korea-spared-ipad-mini-images-poten...
1•docdeek•7m ago•0 comments

GPU vs. CPU. How to Cut Live Streaming and AI Processing Costs?

https://www.red5.net/blog/gpu-vs-cpu-how-to-cut-live-streaming-ai-processing-costs/
1•mondainx•8m ago•0 comments

Show HN: Goxlint, custom linting rule engine for Go inspired by oxlint

https://github.com/egoisutolabs/goxlint
1•generalist_dev•9m ago•0 comments

Show HN: Achive – 12y/O built commitment app, 95% of failed stakes to hospice

https://achive-app.vercel.app/
3•SlovakGuy•13m ago•0 comments

CNC Stone Carving

https://carmelitegothic.com/cnc-stone-carving/
4•bschne•14m ago•0 comments

Museum of Music Technology

https://themmt.org/
1•gregsadetsky•14m ago•0 comments

Show HN: Interview your analysts instead of auto-generating a semantic layer

https://github.com/nodal-data/nodal-context
1•ronpotok•17m ago•0 comments

Ask HN: MCP vs. AI integrated in your software

1•lorinab•17m ago•0 comments

Jeanette Winterson on AI and the future of humanity

https://www.theguardian.com/books/2026/oct/28/no-inevitable-dystopia-jeanette-winterson-ai-future...
1•Archelaos•17m ago•0 comments