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.

Laid-Off Developers Create AI Model to Replace CEOs and Other Executives

https://uk.pcmag.com/ai/167048/laid-off-developers-create-ai-model-to-replace-ceos-and-other-exec...
2•taubek•3m ago•0 comments

BSX market stats now with Nostr relay and skynet

https://markets.basicswapdex.com
1•dRK-U•4m ago•0 comments

YC founders, I see you

https://skop.finitynetwork.com/p/18916c3c-f6ae-4902-ba1c-7cbceb31ed31
1•tosh•4m ago•0 comments

I Made a Non-Wi-Fi Mitsubishi AC Smart with an ESP32

https://medium.com/@ivangomezarnedo/how-i-added-a-non-wi-fi-mitsubishi-ac-to-home-assistant-22770...
1•ichacas•7m ago•0 comments

0x024 – X402

https://unzip.dev/0x024-x402/
1•vismit2000•10m ago•0 comments

The Human Is Becoming Latency

https://www.gonzocapital.net/the-human-is-becoming-latency/
1•gonzocapital•12m ago•0 comments

Zynthoro

https://zynthoro.ai/
1•Zynthoro•13m ago•0 comments

My Interesting Conversation with Jared Diamond

https://marginalrevolution.com/marginalrevolution/2026/09/my-very-interesting-conversation-with-j...
1•smitty1e•14m ago•0 comments

How to Sequence Fundamental Biophysics

https://blog.escalante.bio/how-to-sequence-fundamental-biophysics/
1•magni121•19m ago•0 comments

Deobfuscation in the Age of Agentic Reverse Engineering [video]

https://www.youtube.com/watch?v=3-gJ6EUFoKM
2•nicolodev•23m ago•0 comments

Monitor AI visibility with n8n in five nodes

https://heeb.ai/blog/monitor-ai-visibility-with-n8n
1•cabrian•23m ago•0 comments

Hepburn Romanization: How to Read Japanese in the Latin Alphabet

https://www.fink-translate.com/blog/hepburn-romanization.html
1•miuraboy•25m ago•0 comments

Finding Slow Code with Wrapture

https://grahamdumpleton.me/posts/2026/09/finding-slow-code-with-wrapture/
2•lumpa•26m ago•0 comments

Instagram CEO warns against turning off algorithm

https://www.abc.net.au/news/2026-09-10/instagram-ceo-adam-mosseri-algorithm-laws/107136992
3•Raouel•27m ago•1 comments

Reducing cost and improving performance with Claude Platform

https://claude.com/blog/reducing-cost-and-improving-performance-with-claude-platform
1•lumpa•30m ago•0 comments

Agentic Automation: Skills and MCP That Evolve with Our Product

https://medusajs.com/blog/agentic-automation-skills-and-mcp-that-evolve-with-our-product
1•shahednasser•31m ago•0 comments

Analysis of 88,975 HN Who Is Hiring Job Posts

https://mljar.com/blog/remote-python-data-job-hacker-news/
1•pplonski86•32m ago•0 comments

Iran likely to reverse-engineer captured US underwater drone

https://www.reuters.com/world/middle-east/iran-likely-reverse-engineer-captured-us-underwater-dro...
2•geox•32m ago•0 comments

Show HN: Stroq – a firewall that knows why your AI agent ran that command

https://github.com/AGGIB/Stroq
1•Agybay•34m ago•0 comments

Show HN: Starkomand – Mission Control for Your Agents. One Canvas

https://starkomand.com/
2•thedevtimeline•34m ago•0 comments

What algorithm did Windows XP use to choose your initial user picture?

https://devblogs.microsoft.com/oldnewthing/20260909-00/?p=112683
2•soheilpro•35m ago•0 comments

An alignment assessment of recent cybersecurity incidents

https://www.anthropic.com/research/alignment-assessment-cybersecurity-incidents
1•lumpa•35m ago•0 comments

Shot Ease – Capture, Annotate and Share Screenshots in One Flow

https://chromewebstore.google.com/detail/shot-ease-screen-capture/cejbjpbkachlmgbphckaikicmnpmfjdn
1•lucakk•36m ago•0 comments

Home Hardware, Part 2: Width Matters

https://blog.jessfraz.com/post/home-hardware-part-two/
1•tosh•36m ago•0 comments

Show HN: Autark – a self bootstrapping build system

https://autark.dev/
1•adamansky•37m ago•0 comments

Crazy Cursor – Magical Particle Mouse Effects for Chrome

https://chromewebstore.google.com/detail/crazy-cursor-magical-part/eejfljdgkaanachdckmpmfgjhncihfmd
1•lucakk•37m ago•0 comments

AI-Translation-Stack

https://github.com/antonihabek/AI-translation-stack
1•antonihabek•37m ago•0 comments

Some remarks on being stuck, with digressions on David Hockney

https://www.henrikkarlsson.xyz/p/creative-block
2•jger15•42m ago•0 comments

Are credit rating agencies getting fed up with hyperscalers?

https://www.ft.com/content/623c286b-c973-4488-83f3-97e9016e85f6
1•Betelbuddy•45m ago•0 comments

"When I Created Raspbian for the Raspberry Pi..."

https://twitter.com/OfMikeAndMen/status/2097894902201790904
3•notRobot•48m ago•0 comments