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.

Moefit: Fit Qwen 3.8 Flash on your Mac with limited ram

https://github.com/yavarb/moefit
1•ybathaee•1m ago•0 comments

Tracking Singularity

https://trackingsingularity.com/
1•tosh•2m ago•0 comments

Using light-dark() without getting caught out

https://www.tempertemper.net/blog/using-light-dark-without-getting-caught-out
1•surprisetalk•5m ago•0 comments

HashBack – Server-to-Server Authentication without secret keys or tokens

https://www.hashback.dev/
2•billpg•9m ago•0 comments

Simple, rotationally symmetric Venn diagrams exist for 17, 19 and 23 curves

https://twitter.com/ChrisDzoba/status/2107785499268247681
1•zoba•9m ago•0 comments

Show HN: Schema – Visual Git Diffs for Postgres, MySQL and SQLite Schemas

https://github.com/dobrinov/schema
2•dobrinov•9m ago•0 comments

Show HN: Engineering judgment in AI-assisted development [video]

https://www.youtube.com/watch?v=oMd9R_8O6uY
3•Harish_0089•11m ago•0 comments

A stack that fits your project, and keeps fitting as it changes

https://manifestack.com/
2•yuxt•11m ago•0 comments

Doom on the Vectrex Turns the Classic Shooter into Tron-Like Vector Art

https://www.engadget.com/2279239/doom-on-the-vectrex-turns-the-classic-shooter-into-tron-like-vec...
1•adunk•12m ago•0 comments

Show HN: Monolith / an engine-building game about software startups

https://monolithgame.app/
1•chancelloradams•12m ago•0 comments

Can AI Make a Game Engine? [video]

https://www.youtube.com/watch?v=R_uf5OfMGio
1•poly2it•14m ago•0 comments

Loose opinions on future of software, developers and corporations

https://www.akashtandon.in/technology/2026-10-05-loose-opinions-on-software/
1•akashtndn•14m ago•0 comments

Unity Spark

https://unity.com/spark
1•ilreb•15m ago•1 comments

Show HN: Nimblegate – stop Claude Code and Codex pushing leaked API keys

https://github.com/nimblegate/nimblegate
2•nimblegate•15m ago•0 comments

Show HN: Cai:218x fewer tokens than Graphify, 2976x than raw files

https://daidocs.com/results-code.html
1•Amin_Rigi•17m ago•0 comments

Cosmic shuts the door on AI code as GNOME debates letting bug reports in

https://www.theregister.com/software/2026/10/07/cosmic-shuts-the-door-on-ai-code-as-gnome-debates...
2•sbulaev•18m ago•0 comments

Show HN: BuildABrowser – Rendering Engine with CSS Grid, Passes Acid2, in Java

https://github.com/BuildABrowser/BuildABrowser
1•everyos_•19m ago•1 comments

Pharmacological Activation of AMPK Extends Lifespan in Yeast, Worms and Flies

https://onlinelibrary.wiley.com/doi/10.1111/acel.70721
1•geox•19m ago•0 comments

JPEG-XL code golf art gallery

https://jpegxl.info/old/art/
2•gcr•19m ago•0 comments

Show HN: Open-source demo of a wallet punch card that updates itself

https://punchline.passmint.com/
1•alexpate•19m ago•0 comments

Claude for Google Workspace public beta

https://claude.com/resources/articles/claude-now-works-in-google-docs-sheets-and-slides
2•dieortin•19m ago•0 comments

Microbenchmarks in the Age of Clankers

https://mrale.ph/blog/2026-10-06-microbenchmarks-in-the-age-of-clankers.html
1•ingve•19m ago•0 comments

Write Like It's 1866: LLMs Relearn Telegraphese

https://fiveminutesforward.com/post/2026-10-04-telegraph-test/
2•Theory42•20m ago•0 comments

Great Divergence

https://en.wikipedia.org/wiki/Great_Divergence
2•fireflymetavrse•21m ago•0 comments

Show HN: CloudGrip – Open-source AI proxy to cap LLM API budgets

https://github.com/Aliyunazeer/cloudgrip-backend
2•aliyunazeer07•21m ago•0 comments

Show HN: LLM verification pipeline against hallucinations

https://rickinto.place/veriquote
1•rickintoplace•21m ago•1 comments

Nano Banana 2.1 vs. GPT Image 2.5 Flare

https://www.reddit.com/r/consentbar/comments/1wzup5k/nano_banana_21_vs_gpt_image_25_flare/
1•genesem•22m ago•1 comments

Show HN: Cockpit – a live instrument panel for Claude Code sessions

https://github.com/drkokorev/cockpit-for-claude
1•hy4hy•24m ago•0 comments

Adaptive Expertise Is Not a Skill

https://jtpeterson.substack.com/p/adaptive-expertise-is-not-a-skill
1•surprisetalk•25m ago•0 comments

Show HN: Navier-Stokes Equation Explained Colorfully

https://p.migdal.pl/equations-explained-colorfully/#navier-stokes
1•stared•25m ago•0 comments