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.

Why reviewing AI-generated code is devilishly hard

https://www.spinellis.gr/blog/20260523/
1•DSpinellis•3m ago•0 comments

The Forgotten Art of the LAN Party (2023)

https://www.superjumpmagazine.com/the-forgotten-art-of-the-lan-party/
1•susam•5m ago•0 comments

Italian authorities shut down major streaming piracy network

https://www.engadget.com/2180075/italian-authorities-shut-down-major-streaming-piracy-network-cin...
2•01-_-•9m ago•0 comments

ANCI: The Agent Infrastructure for Scheduling

https://meetanci.com
1•rajl•10m ago•0 comments

What's in a Codebase?

https://www.moderndescartes.com/essays/codebase_spec/
1•brilee•10m ago•0 comments

Elon, stop trying to make Grok happen

https://www.theverge.com/ai-artificial-intelligence/936219/elon-stop-trying-to-make-grok-happen
3•01-_-•11m ago•1 comments

Verytis – shared error memory for AI coding agents (MCP)

https://www.verytis.com
1•TychiqueY•11m ago•0 comments

Show HN: A satirical idle game about running an AI startup

https://game.trae.academy/
2•haebom•11m ago•0 comments

Show HN: Running BitNet b1.58 inside DRAM by breaking DDR4 timing rules

1•pcdeni•12m ago•0 comments

A Mysterious Children's Search Engine Is Misleading Kids

https://www.city-journal.org/article/kiddle-search-engine-kids
2•bushwart•13m ago•0 comments

NeuralNote

https://github.com/DamRsn/NeuralNote
1•hyperific•15m ago•0 comments

Kanban board web app powered by the Redmine API

https://ricardoborges.github.io/RedKanban/
1•r2ob•15m ago•0 comments

Diátaxis: A systematic approach to technical documentation authoring

https://diataxis.fr/
2•ZeroCool2u•17m ago•0 comments

The Banal Horror of Jimmy Fallon

https://www.currentaffairs.org/news/the-banal-horror-of-jimmy-fallon
3•ZeroCool2u•19m ago•2 comments

User Story

https://beyondloom.com/blog/userstory.html
1•tosh•19m ago•0 comments

It's time to talk about my writerdeck

https://veronicaexplains.net/my-first-writerdeck/
2•hggh•20m ago•0 comments

SafeDB MCP – safer read-only database access for AI agents

https://github.com/narekmalk/safedb-mcp
1•Narek88•21m ago•0 comments

D. Murray: I see dangers of AI firsthand – as people make doppelgangers of me

https://nypost.com/2026/05/21/opinion/douglas-murray-i-see-dangers-of-ai-firsthand-as-people-make...
1•bushwart•22m ago•0 comments

CC-Wiki: Turn Claude Code sessions into a shareable knowledge base wiki

https://github.com/tejpalv/cc-wiki
1•tejpalv•23m ago•1 comments

Tesla's Newest Electric Vehicle Could Jolt the Trucking Industry

https://www.nytimes.com/2026/05/19/business/energy-environment/teslas-semi-truck.html
2•bookofjoe•28m ago•2 comments

Show HN: pack-src – pack source code into clean shareable ZIP

https://github.com/muhammadmuzzammil1998/pack-src
1•muzzammildotxyz•30m ago•0 comments

AI Is Being Used to Resurrect the Voices of Dead Pilots

https://techcrunch.com/2026/05/22/ai-is-being-used-to-resurrect-the-voices-of-dead-pilots/
2•Brajeshwar•31m ago•0 comments

Bespoke AI Curriculum to Become AI Operator

https://aios.perabytelabs.com
1•ubp•31m ago•1 comments

Tick Architecture

https://kx.com/blog/tick-architecture-simplicity-and-speed-the-kdb-way/
2•tosh•32m ago•0 comments

There's No Reason to Fear an Invasion of Chinese Electric Vehicles

https://spectator.org/theres-no-reason-to-fear-an-invasion-of-chinese-electric-vehicles/
1•bushwart•33m ago•2 comments

OpenSessions – real time agent tracking in tmux using hooks and process trees

https://github.com/Ataraxy-Labs/opensessions
1•rohanucla•33m ago•1 comments

Anthropic's coordinated vulnerability disclosure dashboard

https://red.anthropic.com/2026/cvd/
2•Levitating•35m ago•0 comments

Cache hit rates of Inference are more meaningful than the headline costs

https://dirac.run/posts/cache-hit-rates-agents
1•GodelNumbering•35m ago•0 comments

Tank leaking toxic chemicals in Orange County will spill or explode

https://abc7.com/live-updates/garden-grove-chemical-tank-emergency-leaking-toxic-chemicals-orange...
10•panda88888•39m ago•2 comments

Aube – Node.js package manager in Rust

https://aube.en.dev/
1•brianzelip•40m ago•0 comments