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.

EchoPitch analyses emotional credibility in presentations before you deliver

https://echopitch.io
1•cavefishAI•2m ago•0 comments

Ask HN: Is Java the ideal language for LLM-assisted coding?

1•fragmede•2m ago•0 comments

New Design for the FreeBSD Website

https://cgit.freebsd.org/doc/commit/?id=c9c518d9dbb70240c23810f300ce4a5ba60442c6
1•vintagedave•3m ago•1 comments

Nobody's negotiating for the people here: Charlie Berens takes on AI datacenters

https://www.theguardian.com/us-news/ng-interactive/2026/may/17/comedian-charlie-berens-ai-datacen...
1•beardyw•4m ago•0 comments

Electric Clojure: Differential Dataflow for UI [video]

https://www.youtube.com/watch?v=ML8cFrWkWeg
1•farhanhubble•4m ago•0 comments

AI Foundry – Flat-Fee Unlimited LLM Inference on Blackwell GPUs in NZ

https://app.aifoundry.co.nz/auth/login?redirectTo=%2F
1•itsjpv•4m ago•0 comments

TechForges – Zero-Infra Software via Flux AI and Vibe-Mesh

https://sites.google.com/view/techforges/
1•SharavFounder•5m ago•0 comments

Human Code Reviews Are Dead

https://craftbettersoftware.com/p/human-code-reviews-are-dead
1•TheAnkurTyagi•9m ago•0 comments

OpenClaw creator burns through $1.3 mio in OpenAI API tokens in a single month

https://www.tomshardware.com/tech-industry/artificial-intelligence/openclaw-creator-burns-through...
2•m0do1•11m ago•0 comments

The Mercury logic programming system

https://github.com/Mercury-Language/mercury
1•Antibabelic•14m ago•0 comments

AI Won't Run Your Company by Itself

https://www.caimito.net/en/blog/2026/05/18/ai-wont-run-your-company-by-itself.html
3•berlianta•15m ago•0 comments

Grills and Smokers of 2026: Smart, Portable, Pellet

https://www.wired.com/story/best-grills-and-smart-grills/
1•joozio•16m ago•0 comments

Why the Spotify icon is a disco ball

https://mashable.com/article/spotify-disco-ball-icon-20-anniversary
1•doppp•16m ago•0 comments

Surprise AI bills leave AWS and Google Cloud users aghast

https://www.theregister.com/ai-ml/2026/05/18/surprise-ai-bills-leave-aws-and-google-cloud-users-a...
4•medalblue•17m ago•0 comments

Designskill.co

https://designskill.co/
2•anoopbln•21m ago•0 comments

Slimbook Linux Laptops

https://slimbook.com/en/
1•maelito•26m ago•0 comments

How to Think About AI in Your Product

https://abgoyal.com/posts/how-to-think-about-ai-in-your-product/
1•ghoul2•27m ago•0 comments

Dots and Boxes – real-time multiplayer, no signup

https://dotsandboxes.aeonic.earth/
1•AmartyaMandal•33m ago•0 comments

Curated list of resources on testing distributed systems

https://github.com/asatarin/testing-distributed-systems
2•jinqueeny•35m ago•0 comments

GateGraph – deterministic governance for AI agents

https://github.com/humancoreai/Gategraph
1•humancore•40m ago•0 comments

How to Learn Agentic AI in 2026 – Without Getting Lost in Hype

https://simplai.ai/blogs/how-to-actually-learn-agentic-ai-in-2026/
3•shanmugarajsk•41m ago•0 comments

I put Codex and Claude into a tank arena. Codex is winning 55% so far

https://old.reddit.com/r/codex/comments/1tgbb28/comment/omfo1by/
2•mazzystar•56m ago•0 comments

KiviDB – In Memory Store

https://kividb.io/
1•_nvp•58m ago•0 comments

Nobody understands the point of hybrid cars [video]

https://www.youtube.com/watch?v=KnUFH5GX_fI
1•CHB0403085482•59m ago•0 comments

Show HN: A CLI command to test internet speed

https://pypi.org/project/tracerate
1•rushil_b_patel•1h ago•0 comments

Litterbox: Somewhat Isolated Development Environments [video]

https://www.youtube.com/watch?v=OMCWs7qmKFc
1•Gerharddc•1h ago•1 comments

I built an AI vulnerability scanner with Claude and Codex. It failed

https://github.com/janitor-security/the-janitor
1•GhrammR•1h ago•0 comments

RCE and arbitrary file write in Vitess vtbackup via untrusted MANIFEST fields

https://neurowinter.com/security/2026/05/18/RCE-and-arbitrary-file-write-in-Vitess-vtbackup-via-u...
1•NeuroWinter•1h ago•0 comments

The Infinite Policeman – Preliminary Movement

https://medium.com/luminasticity/the-infinite-policeman-preliminary-movement-5038a293c1f2
2•bryanrasmussen•1h ago•0 comments

Playing with Jupyter style playbooks that work with Claude Code

https://old.reddit.com/r/ClaudeCode/comments/1tgdvex/playing_with_jupyter_style_playbooks_that_work/
2•bgnm2000•1h ago•0 comments