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•11mo ago

Comments

llm-exe•11mo 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•11mo 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.

U.S. and China Pursue Guardrails to Stop AI Rivalry from Spiraling into Crisis

https://www.wsj.com/world/china/u-s-and-china-pursue-guardrails-to-stop-ai-rivalry-from-spiraling...
1•01-_-•1m ago•0 comments

HomeDesignsAI

https://homedesigns.ai
1•bellamoon544•5m ago•0 comments

Progressively Improving a Ball of Mud

https://afilina.com/improving-ball-of-mud
1•luu•6m ago•0 comments

The best ideas come from the arena

https://www.reproof.app/blog/amex-history
1•maguay•9m ago•0 comments

ZAYA1-8B: An 8B Moe Model with 760M Active Params Matching DeepSeek-R1 on Math

https://firethering.com/zaya1-8b-open-source-math-coding-model/
1•steveharing1•11m ago•0 comments

Ask HN: Does a vetted marketplace improve hiring?

1•Sam6late•11m ago•0 comments

Subquadratic claims to have fixes attention scaling with 12M context window

https://twitter.com/alex_whedon/status/2051663268704636937
1•jiwidi•15m ago•0 comments

Who edited the date stamp of this post

https://xcancel.com/iamasoothsayer/status/1535494638391664641?s=46%0A
2•razodactyl•20m ago•0 comments

The Semantic Conception of Truth and the Foundations of Semantics(1944)

https://www.ditext.com/tarski/tarski.html
2•nill0•22m ago•0 comments

My first post scored 1. Karpathy's autoresearch idea helped me repost

https://github.com/meller/laneconductor
2•meller_a•27m ago•0 comments

Has Meta ever provided Qualcomm EDL files for recovery?

1•nar001•35m ago•0 comments

Mapping Project Complexity with AI

https://www.maiobarbero.dev/articles/project-complexity-ai-skills/
1•maiobarbero•35m ago•1 comments

Show HN: Production-Ready MERN Job Board Template

https://auditjobs.up.railway.app/
1•hlymrk•35m ago•0 comments

Show HN: Crypto Cards – 136 debit/credit cards, MIT-licensed list

https://github.com/mbtrilla/awesome-crypto-cards
1•mbtrilla•37m ago•0 comments

Message Brokers Are Modern Grids(2020)

https://yusufaytas.com/message-brokers-are-modern-grids
3•return_null•39m ago•0 comments

Show HN: Modolap, Improve the Reliability of Your Software Systems

https://modolap.com/
1•ronfriedhaber•39m ago•0 comments

I Wrote a Nix Flake for Helium Browser with Home Manager and NixOS Modules

https://github.com/oxcl/nix-flake-helium-browser
2•oxcl•39m ago•0 comments

Show HN: Social Network for Corporate Cringe

https://CringeOut.com
3•CringeOut•41m ago•0 comments

Plimpton 322 – Babylonian Clay table of triangles 1k years before Pythagoras

https://en.wikipedia.org/wiki/Plimpton_322
1•lifeisstillgood•41m ago•1 comments

Show HN: Uvx privacy-steward for PII removal in texts

https://github.com/AI-Colleagues/privacy-steward
1•NeuralNotwork•42m ago•0 comments

Show HN: Imagev2.me – Tired of juggling AI image subs, so I built one studio

https://imagev2.me/
1•billy42•44m ago•0 comments

SEO-Friendly Public Pages for Confluence

https://marketplace.atlassian.com/apps/356517983/public-pages-for-confluence
1•MaxBabenko•45m ago•0 comments

AI Agent Drained for $200K with This One Tweet Hack

https://www.ccn.com/news/crypto/ai-agent-drained-for-200k-with-this-one-tweet-hack-heres-how/
2•aledevv•49m ago•0 comments

SpaceX IPO gives Musk power and curbs shareholder rights

https://www.reuters.com/sustainability/boards-policy-regulation/spacex-ipo-gives-musk-sweeping-po...
3•denis1•50m ago•2 comments

USB-Vault v1.0.0 – Deterministic Password Generator

https://github.com/emilianosolazzi/USB-Vault
1•emilianosolazzi•51m ago•0 comments

DeepSeek-v4-Pro and Hermes: Unauthorized Modification of Security Controls

https://www.eddieoz.com/deepseek-v4-pro-hermes-unauthorized-modification-of-security-controls/
1•eddieoz•53m ago•0 comments

Rapid: Property-Based Testing for Go

https://github.com/flyingmutant/rapid
1•ThierryBuilds•56m ago•0 comments

How long does it take you to get back into a project after a few days away?

1•mahi_01•57m ago•0 comments

Microsoft in Talks to Ax Energy Pledge Amid Data Center Boom

https://www.bloomberg.com/news/articles/2026-05-06/microsoft-clean-power-target-on-chopping-block...
1•zekrioca•59m ago•0 comments

15 things I learnt launching AI projects in Government (4-part blog post)

https://puntofisso.net/blog/posts/things-i-learned-ai-summary/
1•puntofisso•59m ago•1 comments