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

Comments

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

Chord: Open-Source Prototype for PBR Material Estimation Debuting at Siggraph

https://www.ubisoft.com/en-us/studio/laforge/news/1i3YOvQX2iArLlScBPqBZs/generative-base-material...
1•klaussilveira•52s ago•0 comments

Military's new AI: 'Hypothetical' boat strike scenario 'unambiguously illegal'

https://san.com/cc/the-militarys-new-ai-says-hypothetical-boat-strike-scenario-unambiguously-ille...
1•doener•1m ago•0 comments

LZ dark matter experiment spots neutrinos from the sun's core

https://www.llnl.gov/article/53711/lz-dark-matter-experiment-sets-worlds-best-spots-neutrinos-sun...
1•gmays•1m ago•0 comments

Meta's Pivot from Open Source to Money-Making AI Model

https://www.bloomberg.com/news/articles/2025-12-10/inside-meta-s-pivot-from-open-source-to-money-...
2•peterbonney•2m ago•0 comments

EU-US Data Transfers: Time to prepare for more trouble to come

https://noyb.eu/en/eu-us-data-transfers-time-prepare-more-trouble-come
3•tomwas54•2m ago•0 comments

Heuristics vs. RAG: Shrinkflation as a Policy Driver

https://www.unite.ai/heuristics-vs-rag-shrinkflation-as-a-policy-driver/
1•50kIters•3m ago•0 comments

Ask HN: Is there a "good" (non-privacy horror) aftermarket HUD for your car?

1•xrd•3m ago•0 comments

German unions call for French Dassault's expulsion from EU fighter jet program

https://www.reuters.com/business/aerospace-defense/powerful-german-union-calls-dassaults-expulsio...
2•alephnerd•3m ago•0 comments

Show HN: Wirebrowser – A JavaScript Debugger with Breakpoint-Driven Heap Search

https://github.com/fcavallarin/wirebrowser
2•fcavallarin•4m ago•0 comments

Explaining weird stuff via Python's compilation pipeline – UMich guest lecture [video]

https://www.youtube.com/watch?v=G2yPbg2fgQY
1•vismit2000•5m ago•0 comments

Why Tagged PDF Matters for AI

https://opendataloader.org/docs/tagged-pdf
1•Julia_Katash•6m ago•1 comments

Decide What's Human

https://kupajo.com/decide-whats-human/
1•kolyder•7m ago•0 comments

Preventing Resource Leaks in Go: How GoLand Helps You Write Safer Code

https://blog.jetbrains.com/go/2025/12/09/preventing-resource-leaks-in-go-how-goland-helps-you-wri...
1•Annprots•7m ago•1 comments

Pedantle

https://pedantle.certitudes.org/
1•knuckleheads•8m ago•0 comments

Storing OAuth Tokens

https://fusionauth.io/articles/oauth/oauth-token-storage
1•mooreds•9m ago•0 comments

Pompeii Time Capsule Reveals Secrets to Durable Ancient Roman Cement

https://www.scientificamerican.com/article/pompeii-house-frozen-mid-renovation-reveals-secrets-of...
2•Brajeshwar•9m ago•0 comments

Starlink Became the Internet Alternative

https://restofworld.org/2025/starlink-musk-internet-expansion/
2•Brajeshwar•10m ago•0 comments

James Webb Telescope detects 13B-year-old supernova with gamma-ray burst

https://www.space.com/astronomy/james-webb-space-telescope/the-james-webb-space-telescope-just-fo...
1•Brajeshwar•10m ago•0 comments

Calif. tech saddest invention has been bleeding cash

https://www.sfgate.com/food/article/california-tech-world-soylent-scrambling-adapt-21219237.php
1•deegles•10m ago•1 comments

201 Stories by Anton Chekhov

https://web.archive.org/web/20070630223838/http://chekhov2.tripod.com/
1•bookofjoe•10m ago•0 comments

Legacy Code, Live Risk: Empirical Evidence of Malware Detection Gaps

https://www.mdpi.com/2076-3417/15/22/11862
1•PaulHoule•10m ago•0 comments

39C3 Fahrplan 2025

https://fahrplan.events.ccc.de/congress/2025/fahrplan/
2•birdculture•10m ago•0 comments

Show HN: Stridewars – A team step competition with Mario Kart-style power-ups

https://www.stridewars.com
1•nugzbunny•10m ago•0 comments

Relational AI vs. Constitutional AI: Are we focusing on the right question?

1•buttersmoothAI•13m ago•0 comments

Former GitLab CEO raises money for Kilo to compete in crowded AI coding market

https://www.cnbc.com/2025/12/10/former-gitlab-ceo-raises-8-million-for-kilo-to-compete-in-vibe-co...
1•lngzl•14m ago•0 comments

How to Write Your LinkedIn

https://taylordesseyn.substack.com/p/how-to-write-your-linkedin
1•mooreds•14m ago•0 comments

Retraction of key roundup study from 2000 in Regul. Toxicol. Pharm

https://www.sciencedirect.com/science/article/pii/S0273230025002387
1•kla-s•15m ago•0 comments

Data Infrastructure for All: Free Kafka and $5 PostgreSQL

https://aiven.io/blog/data-infrastructure-for-all
2•alanfranz•16m ago•0 comments

Show HN: Shellican – A CLI to organize, document, and share shell scripts

https://github.com/brsyuksel/shellican
2•brsyuksel•19m ago•0 comments

Laid off from my dream job, what now?

https://debbie.codes/blog/laid-off-what-now/
2•tamnd•19m ago•0 comments