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.

Placky Explains Slide Rules (2021)

https://randomlyunique.com/plancky/2021/slide-rules/index.html
1•kqr•4m ago•0 comments

SoduWork – Open-source workbench where agents must prove their work

https://github.com/mdiri-ai/SoduWork
1•WavyPeng•5m ago•0 comments

There's a New Disruptor Throwing Terrible AI Slop at Sports Fans

https://defector.com/theres-a-new-disruptor-throwing-terrible-ai-slop-at-sports-fans
1•abbadadda•5m ago•0 comments

Deadweight: What your Claude Code setup costs on every request

https://github.com/msertdev/deadweight
1•msertdev•9m ago•0 comments

Binaryen – compiler and toolchain library for WebAssembly, written in C++

https://github.com/webassembly/binaryen
1•peter_d_sherman•9m ago•1 comments

I Don't Read Code Anymore [video]

https://www.youtube.com/watch?v=RO52GyQQMKg
2•zwischenzug•11m ago•0 comments

Florida man sentenced to 60 months for distributing monkey torture videos

https://www.justice.gov/opa/pr/miami-area-man-sentenced-60-months-prison-distributing-sexual-tort...
1•illidan1000•15m ago•1 comments

Ruby2ẞhell blog by one of the reporters

https://durendal.sh/blog/ruby-case-mapping-bugs
1•realansgar•16m ago•0 comments

Who Made the Strawberry?

https://strawberry-methodology.pages.dev/
1•DeepLogin•18m ago•0 comments

SSD prices will start going down the second half of next year

https://www.drivevault.io/blog/when-will-hard-drive-prices-come-down.html
2•illidan1000•18m ago•3 comments

NGINX2Root: Remote Code Execution vulnerabilities in Nginx

https://lwn.net/Articles/1108362/
3•bashhq_r•19m ago•0 comments

Taylor Swift's favorite restaurants and hotels

https://wherecelebsgo.com/people/taylor-swift
2•ispotcelebs•20m ago•2 comments

Show HN: Drisp – put app screenshots on true-size 3D device models

https://drint.io/drisp
2•Dan96•21m ago•0 comments

The Hidden Geography of AI [video]

https://www.youtube.com/watch?v=K-qll_Yhfms
2•jonbaer•26m ago•0 comments

Do not buy RAM, compress

https://curiousbits.nl/blog/do-not-buy-ram-compress/
3•Ecno92•26m ago•1 comments

Telegram Dictator

https://macos-beta.telegram.org/dictator/
2•SweetSoftPillow•27m ago•0 comments

ICE offers contractor operating deportation flights windfall and secrecy

https://www.theguardian.com/us-news/2026/nov/18/ice-deportation-flights-csi-deal
1•rob74•27m ago•0 comments

AI found more critical bugs in another widely used tech running 225M websites

https://www.theregister.com/security/2026/11/18/ai-found-more-critical-bugs-in-another-widely-use...
2•nephihaha•28m ago•0 comments

0.87.0 – Boot without the card, and a KVM switch – ESP-KVM

https://espkvm.io/blog/0-87-0-boot-without-the-card/
2•dexif•30m ago•0 comments

EU commission hit by cyber attack

https://en.philenews.com/international/european-commission-cyberattack-personal-data-staff-system...
3•lode•33m ago•0 comments

Bloom Exchange – Double-blind negotiation sandbox and Ed25519 receipts for MCP

https://github.com/astyboyy-ship-it/bloom-exchange
1•BloomExchangeAi•33m ago•0 comments

The Codex Sandbox

https://openai.com/index/inside-the-codex-sandbox/
1•giuliomagnifico•34m ago•0 comments

Characterizing LLM Agent Behaviors in Module Shadowing Environments

https://arxiv.org/abs/2610.40716
1•TanZeng•35m ago•0 comments

Inworld TTS looks not bad at all

https://inworld.ai/tts
1•olup•35m ago•0 comments

Redict Deprecated in Favor of Valkey

https://redict.io/posts/2026-11-17-redict-deprecated/
1•DeepLogin•35m ago•0 comments

Anthropic to debut IPO with a valuation of $1.5T

https://apnews.com/article/anthropic-ipo-nasdaq-ai-b6a74b8949021207dc162fcc876c4649
1•armcat•35m ago•0 comments

Show HN: I made PocketTag, forward PocketAI notes with tag to email

https://www.pockettag.link
1•eekay•36m ago•0 comments

Palo Alto Networks to Buy AI-Startup Applied Compute for $4.5B

https://www.wsj.com/tech/ai/palo-alto-networks-to-buy-ai-startup-applied-compute-for-4-5-billion-...
1•ronfriedhaber•38m ago•0 comments

Can you unlock the bootloader on the Motorola G Stylus 2025 from Straight Talk?

1•timtim51251•41m ago•0 comments

Show HN: SJF4J – Treat Java Objects as JSON

https://github.com/sjf4j-projects/sjf4j
1•hannyu•41m ago•0 comments