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.

Kubernetes v1.37: Hardening emptyDir and bind mounts

https://kubernetes.io/blog/2026/09/16/kubernetes-v1-37-hardening-container-storage/
1•iamsyr•3m ago•0 comments

Fender Is Making Enemies with a Messy Fight over Its Iconic Strat

https://www.bloomberg.com/news/features/2026-09-17/fender-takes-on-the-electric-guitar-industry-o...
1•ilamont•8m ago•0 comments

Show HN: PortButler – send files from macOS to a device with no way to receive

https://portbutler.sshlab.dev
3•swq115•9m ago•0 comments

How often people say a habit, therapy, diet or supplement changed their life

https://www.jeravalue.com/en/life-changing
1•nreece•12m ago•0 comments

Fingerprinting Network Honeypots with Weighted Behavioral Scoring Engine

https://meetcyber.net/fingerprinting-network-honeypots-with-weighted-behavioral-scoring-engine-86...
2•ls1911•17m ago•0 comments

Claude Code from Source

https://claude-code-from-source.com/
2•pykello•17m ago•0 comments

SEC Issues "Innovation Exemption" to Facilitate Trading of Tokenized NMS Stock

https://www.sec.gov/newsroom/press-releases/2026-90-sec-issues-innovation-exemption-facilitate-tr...
2•BiraIgnacio•18m ago•0 comments

Hackers Used Anthropic's Claude to Break into OpenAI

https://www.wsj.com/tech/ai/hackers-used-anthropics-claude-to-break-into-openai-b40ba883
1•impish9208•19m ago•1 comments

Jev means structured output is interesting again

https://www.seangoedecke.com/jev-means-structured-output-is-interesting-again/
3•iacguy•20m ago•0 comments

Hypercomb – AI open software platform

https://hypercomb.io
2•jwizestackz•22m ago•0 comments

Type Declaration Syntax

https://citrons.xyz/journal/2026-09-09
2•birdculture•25m ago•0 comments

Telstra outage: The night a network decided the year was 2006

https://www.netnod.se/blog/telstra-outage-night-network-decided-year-was-2006
2•TMWNN•26m ago•0 comments

Goose: 1.16x faster than C++ and 1.12x than safe Rust, while memory safe

https://github.com/aardappel/goose/tree/master
7•bobbydigitales•26m ago•1 comments

Today we're releasing Helix 2.5

https://twitter.com/Figure_robot/status/2100657350952779925
3•MrBuddyCasino•29m ago•0 comments

AI agents can modify themselves without humans telling them to do so

https://www.theregister.com/security/2026/09/16/ai-agents-can-modify-themselves-without-humans-te...
2•myth_drannon•38m ago•1 comments

When A.I. Becomes an Enemy [video]

https://www.youtube.com/watch?v=wzgkc6Iegx8
1•danielmorozoff•42m ago•1 comments

Lakera – Test your AI hacking skills

https://play.lakera.ai/agent-breaker
3•nmarinov•53m ago•0 comments

From Operations to a Robot Arm

https://huggingface.co/blog/TheMuz/from-operations-to-a-robot-arm
3•gmays•55m ago•0 comments

GrapheneOS accuses Google of gatekeeping Android 17 features and security fixes

https://www.androidauthority.com/grapheneos-android-17-qpr1-security-patches-comments-3712218/
11•vilasa•1h ago•1 comments

Apprentice: A Slim, Extensible Coding Harness (Written in Common Lisp)

https://github.com/skarnati20/apprentice
4•skarnati20•1h ago•2 comments

Getting Outbound Email to Work on DigitalOcean

https://mailfully.com/blog/digitalocean-blocks-smtp-ports-ses-2587
3•mailfully•1h ago•0 comments

Anthropic says Claude now leads a quarter of work building its next AI models

https://www.businesstimes.com.sg/companies-markets/telcos-media-tech/anthropic-says-claude-now-le...
4•dr_scully•1h ago•1 comments

Mini-Jev – typesafe's Jev implemented on top of an LLM locally

https://github.com/r-ms/mini-jev
3•phyrex•1h ago•0 comments

Inside Microsoft and OpenAI, Worry About Damaging the Publishing Industry

https://www.nytimes.com/2026/09/17/technology/microsoft-openai-publishing-industry.html
2•0in•1h ago•0 comments

Richard Feynman – The World from another point of view [video]

https://www.youtube.com/watch?v=GNhlNSLQAFE
2•binyu•1h ago•0 comments

Talk to JEV

https://jev-grug-chat.mkotlikov.chatgpt.site
3•mkotlikov•1h ago•2 comments

Muse for macOS

https://ai.meta.com/muse/download/
3•mfiguiere•1h ago•0 comments

Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash

https://cactuscompute.com/needle
3•HenryNdubuaku•1h ago•0 comments

Where Awareness Is Not the Problem

https://medium.com/@gurvinder372/article-20-where-awareness-is-not-the-problem-5b9d03c925f2
2•gps372•1h ago•0 comments

Microsoft exec called AI scraping 'the largest theft of labor in human

https://techcrunch.com/2026/09/17/microsoft-exec-called-ai-scraping-the-largest-theft-of-labor-in...
10•sbulaev•1h ago•2 comments