frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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.

Ask HN: JumpCloud Billing and Cancellation

1•sgammon•5m ago•0 comments

2028: Two scenarios for global AI leadership

https://www.anthropic.com/research/2028-ai-leadership
2•gmays•7m ago•0 comments

Multi-Agent Orchestration System: Hermes (Windows) ↔ OpenClaw (WSL)

https://github.com/YOUR_USERNAME/hermes-openclaw-orchestration
2•theG0DSMACKED•9m ago•0 comments

Austrian Power Giants

https://www.apg.at/en/projects/austrian-power-giants-1/
1•Kaibeezy•11m ago•0 comments

Learn Anything with Lesson Generator Skill

https://github.com/dair-ai/dair-academy-plugins/blob/main/plugins/lesson-generator/skills/lesson-...
1•omarsar•11m ago•0 comments

AI writes x86_64 asm and eBPF for fractals on /dev/fb0, in a browser VM

https://zozo123.github.io/wolfram-fb0/
1•zozo123-IB•12m ago•0 comments

Squares in Squares

https://kingbird.myphotos.cc/packing/squares_in_squares.html
1•carlos-menezes•15m ago•0 comments

Stop Wasting Tokens on Android Automation

https://handsets.dev/blog/stop-wasting-tokens-on-android-automation/
1•gaojiuli•16m ago•0 comments

Kysely 0.29

https://github.com/kysely-org/kysely/releases/tag/v0.29.0
1•bundie•16m ago•0 comments

Bursting the AI Bubble: Fed Could Take Away the "Who Could Have Known?" Defense

https://deanbaker22.substack.com/p/bursting-the-ai-bubble-the-fed-could
3•bediger4000•17m ago•1 comments

Show HN: Pro Health Ledger – An open-source, net-neutral reputation system

1•muglikar•17m ago•0 comments

Microsoft's 6502 BASIC is now Open Source (2025)

https://opensource.microsoft.com/blog/2025/09/03/microsoft-open-source-historic-6502-basic/
1•GTP•19m ago•0 comments

I Made the Same Game in Unity and Godot, Which Engine Is Better [video]

https://www.youtube.com/watch?v=WB7v-ezqcJM
1•HelloUsername•22m ago•0 comments

25 years, 793,199 fashion records: non-White models 4.5× more likely plus-size

https://www.pnas.org/doi/10.1073/pnas.2602380123
9•falconer2vi•23m ago•4 comments

Lupine: A GPU-over-IP Bridge

https://github.com/lupinemachines/lupine
1•kevmo314•30m ago•0 comments

Oxia ― Metadata Store and Coordination System

https://oxia-db.github.io/
1•mooreds•31m ago•0 comments

Getting the (staff) title where you are

https://staffeng.com/guides/getting-the-title-where-you-are/
2•mooreds•31m ago•1 comments

DeepSeek reasonix, DeepSeek native coding agent with high caching and low cost

https://esengine.github.io/DeepSeek-Reasonix/
4•Alifatisk•33m ago•0 comments

Mouthwords

https://everythingchanges.us/blog/mouthwords/
1•mooreds•35m ago•0 comments

OpenAI co-founder Andrej Karpathy joins Anthropic

https://www.axios.com/2026/05/19/anthropic-openai-karpathy-andrej-claude
2•synapsehub_ai•35m ago•1 comments

Russell's Paradox [video]

https://www.youtube.com/watch?v=ymGt7I4Yn3k
2•stormdennis•37m ago•0 comments

'He refused to quit:' 27-year walk around the world

https://www.rmoutlook.com/mountain-guide/he-refused-to-quit-fundraiser-for-man-on-27-year-walk-ar...
2•Kaibeezy•37m ago•0 comments

Constraint Decay: The Fragility of LLM Agents in Back End Code Generation

https://arxiv.org/abs/2605.06445
3•wek•39m ago•0 comments

Show HN: A picker that maps local LLMs to hardware, hardware to LLMs

https://llmrequirements.com/
2•truetotosse•43m ago•1 comments

Alyx – Crypto Portfolio Dashboard on New Tab

https://chromewebstore.google.com/detail/alyx-—-crypto-portfolio-d/nmchlndcajncggcpeokebegjhlje...
2•Teyz•49m ago•0 comments

Your Clippy Config Should Be Stricter

https://emschwartz.me/your-clippy-config-should-be-stricter/
2•blenderob•52m ago•0 comments

The guide to RL environments: building and scaling them in the LLM era

https://huggingface.co/spaces/AdithyaSK/rl-environments-guide
2•kunalsin9h•54m ago•0 comments

PromptVC

https://www.promptvc.io/blog/introducing-promptvc
2•justicea83•54m ago•0 comments

Charging power bank left in checked baggage diverts easyjet flight

https://simpleflying.com/easyjet-flight-diverted-power-bank-charging-luggage/
3•giuliomagnifico•54m ago•3 comments

AI Proves Mathematicians Wrong

https://www.heise.de/en/news/AI-proves-mathematicians-wrong-11303022.html
2•NicoHartmann•54m ago•1 comments