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.

Beyond Visibility: The Linkage Gap

https://zenodo.org/records/20761232
1•tas101•1m ago•0 comments

NVFP4 Blockscaled GEMM on NVIDIA RTX Pro Blackwell GPUs (SM12x)

https://research.colfax-intl.com/cutlass-tutorial-nvfp4-blockscaled-gemm-on-nvidia-rtx-pro-blackw...
1•matt_d•2m ago•0 comments

The Minimum Viable Unit of Saleable Software

https://brandur.org/minimum-viable-unit
1•brandur•2m ago•0 comments

Thoughts

https://felleisen.org/matthias/Thoughts/index.html
1•jruohonen•4m ago•0 comments

OpenDroneMap's Documentation

https://docs.opendronemap.org/
1•mooreds•4m ago•0 comments

Zither – paste JSON/CSV/a spreadsheet table, stats instantly, no AI

https://zither-zeta.vercel.app/
1•bluecomputing•4m ago•0 comments

Bonfires in the Dark: Ritual, Science, and AI as Compression Interfaces

https://bartoszlenart.com/blog/bonfires-in-the-dark
1•grasant•6m ago•0 comments

Can I offer "login with yahoo" using FusionAuth?

https://fusionauth.io/community/forum/topic/3013/can-i-offer-login-with-yahoo-using-fusionauth
1•mooreds•7m ago•0 comments

Show HN: Fupio – Social RSS Reader

https://fupio.com/
1•mehmetkose•7m ago•0 comments

Electrek Drives the Sun-Powered EV from Aptera

https://electrek.co/2026/06/17/we-finally-got-to-drive-the-aptera-solar-electric-car/
1•TeaVMFan•8m ago•0 comments

Seth Larson on Making Things

https://digitalseams.com/blog/seth-larson-on-making-things
1•bobbiechen•9m ago•0 comments

Designing a Better strcpy (2020)

https://saagarjha.com/blog/2020/04/12/designing-a-better-strcpy/
1•GalaxySnail•13m ago•0 comments

Trained a small language model for just generating question

https://huggingface.co/aungkomyint/tara1.2-quest
1•aungkomyint•16m ago•0 comments

Peter H. Diamandis, MD on X: "The Next 5 Years: A Supersonic Tsunami" / X

https://twitter.com/PeterDiamandis/status/2068716115941834885
1•bilsbie•18m ago•0 comments

Show HN: Open-Source Legends

https://opensourcelegends.com/
1•buffer_overlord•18m ago•0 comments

The Next Generation of Distrobox

https://distrobox.it/posts/announcing_distrobox_next/
2•birdculture•19m ago•0 comments

Show HN: A TypeScript Pokémon Crystal TUI for Agent Benchmarking

https://github.com/TheCulliganMan/crystal-llm/
1•theculliganman•20m ago•0 comments

Show HN: Jacobi–IDE for Abaqus subroutine with analytical tests and AI diagnosis

https://jacobee.netlify.app/
6•white_tiger•23m ago•4 comments

New Postgres Language Server: postgres-lsp

https://www.postgresql.org/about/news/new-postgres-language-server-postgres-lsp-3322/
3•soheilpro•23m ago•0 comments

AkaRouter – Flat per-call LLM API gateway (20x cheaper than Claude Max)

https://akarouter.dev
1•mrdedatn•23m ago•0 comments

Tesla plans to sell modular AI data center hardware called 'Megapod'

https://electrek.co/2026/06/21/tesla-megapod-ai-data-center-hardware/
5•dabinat•26m ago•0 comments

The Trap of Pushing Harder

https://quixoticnomad.blog/the-trap-of-pushing-harder/
2•mmarian•28m ago•0 comments

US Grid Energy Price Map

https://www.gridstatus.io/map
2•cwmoore•28m ago•0 comments

AI Has Broken Hiring

https://hbr.org/2026/06/ai-has-broken-hiring-heres-how-to-fix-it
8•ChrisArchitect•28m ago•2 comments

Genuinely impressed, almost shocked, at how good GLM-5.2

https://twitter.com/rauchg/status/2068517095818809770
2•wslh•28m ago•0 comments

Learning to work (very) remotely (2023)

https://borischerny.com/tech/2023/12/10/Working-Remotely.html
4•saikatsg•31m ago•0 comments

Show HN: Atizar-AI agents where the server runs approved actions, not the model

https://atizar.io
2•Yarashuk•34m ago•0 comments

Neuralwatt: Energy-based pricing for AI inference. Efficient prompts cost less

https://portal.neuralwatt.com/
2•ethanpil•34m ago•0 comments

Code duplication is far cheaper than the wrong abstraction

https://sandimetz.com/blog/2016/1/20/the-wrong-abstraction
17•rafaepta•35m ago•4 comments

Googles specification (and tooling) for the LLM wiki

https://github.com/GoogleCloudPlatform/knowledge-catalog/tree/main/okf
2•Parkkeeper•37m ago•1 comments