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.

Children Who Died as Newborns Are Often Remembered as Family Members

https://onlinelibrary.wiley.com/doi/10.1111/apa.70341
2•tokai•57s ago•0 comments

Challenge accepted: not a single line of code written by hand

https://yvoschaap.com/weblog/challenge_accepted_not_a_single_line_of_code_written_by_hand
1•yvoschaap•2m ago•0 comments

Lessons for the 21st century from a book by 'Frankenstein' author Mary Shelley

https://worldsensorium.com/lessons-for-the-21st-century-from-a-200-year-old-book-by-frankenstein-...
2•dnetesn•5m ago•0 comments

The Space Between Two Fingers

https://blue-continuum.com/the-space-between-two-fingers
2•dnetesn•6m ago•0 comments

Value: A Verifiable Alignment Layer for Agentic a [pdf]

https://asteris.ai/pdf/verifiable-alignment-layer-for-agentic-ai.pdf
1•ai-mktg-ninja•7m ago•1 comments

Tech in cars can be used to snoop on you, Dutch spy chiefs warn

https://www.theguardian.com/technology/2026/oct/01/cars-smart-features-spy-gps-chinese-imports
1•vinni2•9m ago•0 comments

Show HN: Linux Subsystem Diagrams

1•mipsH•9m ago•0 comments

Ultra-processed food consumption and chronic diseases among 8,819,894 adults

https://fmch.bmj.com/content/14/Suppl_5/e003925
2•geox•10m ago•0 comments

The U.S. just made it much easier for retail investors to access private markets

https://www.cnbc.com/2026/10/01/private-credit-sec-retail-investors.html
1•cramer4next•10m ago•0 comments

The State of Java Desktop

https://sombriks.com.br/blog/0097-state-of-java-desktop/
1•theanonymousone•13m ago•0 comments

How many strings can you create per second?

https://lemire.me/blog/2026/09/25/how-many-strings-can-you-create-per-second/
1•sebg•13m ago•0 comments

The Global Market for Elite $30k Sheepdogs

https://www.bloomberg.com/news/features/2026-10-01/sheepdog-auction-in-skipton-sees-30-000-border...
1•helsinkiandrew•20m ago•2 comments

Aurora PostgreSQL supports direct querying of Apache Iceberg and Parquet data

https://aws.amazon.com/blogs/aws/amazon-aurora-postgresql-now-supports-direct-querying-of-apache-...
2•HatchedLake721•20m ago•1 comments

Codex Users Are Fleeing to Claude Code

https://www.vincentschmalbach.com/codex-users-are-fleeing-to-claude-code/
2•vincent_s•21m ago•1 comments

Extreme layout shift at Lufthansa's profile page

https://rado.bg/12-frames-of-ui-chaos-why-lufthansas-profile-page-suffer-from-extreme-cumulative-...
1•rado•22m ago•3 comments

Show HN: Autobox – Make your agents sandbox themselves

1•freakynit•25m ago•0 comments

First-class design systems on a Ryanair budget

https://statecraftapp.com/field-notes/first-class-on-a-ryanair-budget
1•domstatecraft•26m ago•0 comments

Show HN: Inbox Cleanup – get to inbox zero in Gmail

https://cleanup.upstream.do/
2•jtiret•29m ago•0 comments

AdGuard Home v1.0 Beta

https://adguard-dns.io/en/blog/adguard-home-v1-0-beta.html
1•ilreb•31m ago•0 comments

Show HN: An open-source LLM guardrail powered by Jev

https://github.com/gulbaki/jev-llm-guard
1•bakigul•31m ago•0 comments

Show HN: Dev tools that stay out of your way (JSON, Base64, JWT, etc.)

https://jsonformat.org/
1•stonewf•31m ago•0 comments

What Happened to Horses Is Happening to Us by CGP Grey (2014) [video]

https://www.youtube.com/watch?v=7Pq-S557XQU
1•axelfontaine•35m ago•0 comments

'Things may get ugly': Meta's new AI Muse is about to make the net more annoying

https://www.bbc.com/future/article/20260930-metas-new-ai-is-about-to-break-the-internet
4•ColinWright•36m ago•0 comments

Partial pooling as an answer to the reference class problem

https://sudippaul.substack.com/p/partial-pooling-as-an-answer-to-the
1•sebg•36m ago•0 comments

Mote – private chat rooms from a link, no accounts

https://motemsg.online/
1•robgunner•38m ago•0 comments

GPT-Synopsys: Frontier Intelligence to Revolutionize Chip Design

https://news.synopsys.com/2026-09-30-OpenAI-and-Synopsys-Announce-GPT-Synopsys-Frontier-Intellige...
8•giuliomagnifico•38m ago•1 comments

TanStack Start critical XSS in server functions (CVE-2026-102989)

https://tanstack.com/blog/tanstack-start-security-update-cve-2026-102989
1•joshcsimmons•38m ago•1 comments

Balloon Syndrome (Hedgehogs)

https://en.wikipedia.org/wiki/Balloon_syndrome
1•fidotron•39m ago•0 comments

Bugfix.es Launched

https://bugfix.es
2•Keloran•41m ago•2 comments

Paramount taking over Warner Bros for $110B

https://ir.corporate.discovery.com/news-and-events/financial-news/financial-news-details/2026/Par...
3•HelloUsername•41m ago•0 comments