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.

The CIA's Family Jewels (2007)

https://nsarchive2.gwu.edu/NSAEBB/NSAEBB222/index.htm
1•robtherobber•25s ago•0 comments

Societal Impacts: Claude's values across models and languages

https://www.anthropic.com/research/claude-values-models-languages
1•taubek•53s ago•0 comments

Cyber Resilience Act

https://digital-strategy.ec.europa.eu/en/policies/cyber-resilience-act
2•Rygian•3m ago•0 comments

Anthropic's state-by-state plan to ratchet up AI rules

https://www.politico.com/news/2026/07/15/inside-anthropics-state-by-state-plan-to-ratchet-up-ai-r...
1•JumpCrisscross•5m ago•0 comments

Show HN: PromptMan: A native macOS app for saving and reusing AI prompts

https://promptman.app/
1•Karym09•6m ago•0 comments

Never procrastinate again. Stick to TaskLoco super smart sticky notes

https://www.taskloco.com/
1•taskloco_nyc•6m ago•0 comments

FOSDEM 2026: Multi-relay msging & cryptographic identities w/ DeltaChat/Chatmail

https://fosdem.org/2026/schedule/event/3F9VTU-deltachat-chatmail-relays-multi-transport/
2•xeonmc•8m ago•0 comments

ChatGPT Subagents 2

1•217•8m ago•0 comments

Show HN: AI-CLI – tiny C terminal assistant powered by local LLM

https://github.com/vkataev/ai-cli
1•novaRom•11m ago•0 comments

Show HN: RazerStream – Reviving the Orphaned Razer Stream Controller on macOS

https://github.com/ShoelessTim/RazerStream
1•ShoelessTim•11m ago•0 comments

Add a waitlist form without a back end

https://lanes.sh/use-cases/waitlist-form-without-a-backend
4•s-xyz•12m ago•0 comments

Festo: Bionic Learning Network

https://www.festo.com/de/en/e/about-festo/research-and-development/bionic-learning-network-id_31842
1•iamanatom•12m ago•0 comments

Bionic flying objects – Future concepts from the Bionic Learning Network

https://www.festo.com/de/en/e/about-festo/research-and-development/bionic-learning-network/bionic...
1•iamanatom•13m ago•0 comments

How Agentic Is Agentic Commerce? Measuring X402 Adoption and Authenticity

https://arxiv.org/abs/2607.12575
1•sbulaev•17m ago•0 comments

One Tactical Unlock at a Time: How Tesla Built Powerwall

https://coleashman.substack.com/p/one-tactical-unlock-at-a-time-how
1•shafyy•21m ago•0 comments

After record heat, could the Atlantic make Britain's weather more extreme?

https://www.bbc.co.uk/news/articles/c992e8g10nmo
1•ljf•21m ago•0 comments

German startup offers solar awnings

https://www.pv-magazine.com/2026/07/14/german-startup-offers-solar-awnings/
1•DamonHD•23m ago•0 comments

Low Resource Computing 2026

https://lrc.cs.dartmouth.edu/
1•christoph-heiss•23m ago•0 comments

A Beginner's Guide to the True Order of SQL Operations

https://blog.jooq.org/a-beginners-guide-to-the-true-order-of-sql-operations/
2•rzk•28m ago•0 comments

IdeaPanda: Find business ideas worth building

https://www.getideapanda.com
2•welsenesbros•28m ago•1 comments

Show HN: SeaTicket – AI-powered issue management platform

2•Daniel-Pan•28m ago•1 comments

Making My Rust Program Space-Flight Ready

https://w4g1.dev/blog/making-my-rust-program-space-flight-ready
4•hruvhwe•29m ago•0 comments

Build an AI Phone Story Hotline – Interactive Storytelling with Telnyx Voice AI

https://lowlatencyclub.ai/blog/posts/ai-phone-story-hotline-python
1•harpreetseehra•31m ago•0 comments

Unjica

https://unjica.com
1•unjica•33m ago•0 comments

Understanding Map of Content (MOC) in Zettelkasten

https://publish.obsidian.md/johndray/020+Zettelkasten/Understanding+Map+of+Content+(MOC)+in+Zette...
1•ankitg12•34m ago•0 comments

Boss – Dependency Manager for Delphi and Lazarus

https://github.com/HashLoad/boss
2•TheWiggles•39m ago•0 comments

Image Converter/Compressor

https://filelite.app
1•gintokinx•43m ago•0 comments

Show HN: Modern Robotics Registry – mapping the new robotics ecosystem

https://roboticsregistry.net
1•make_it_sure•45m ago•1 comments

DSLs Enable Reliable Use of LLMs

https://martinfowler.com/articles/llm-and-dsls.html
2•SirOibaf•46m ago•0 comments

America stands on the shoulders of Soviet engineers

https://write.as/cxgd70ai1rc57
1•garn810•48m ago•1 comments