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

Comments

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

Cybertruck in Autopilot mode tried to drive off Houston bridge, suit says

https://www.chron.com/culture/article/cybertruck-houston-lawsuit-21965298.php
1•zzzeek•35s ago•0 comments

LLM Integrity During Inference in Llama.cpp

https://bednarskiwsieci.pl/en/blog/integrity-llm-inference-tampering/
1•piotrbednarsalt•3m ago•1 comments

The iPhone 17e

https://daringfireball.net/2026/03/the_iphone_17e
1•chmaynard•5m ago•0 comments

The Requirements Layer Your AI System Is Missing

https://kiln.tech/blog/requirements_layer_your_ai_system_is_missing
1•samfierro•6m ago•1 comments

Simulating Catalog and Table Conflicts in Iceberg

https://cdouglas.github.io/posts/2026/03/catalog
1•eatonphil•9m ago•0 comments

Run PostgreSQL on AKS High‑Performance, Flexible, Cloud Native Postgres on Azure [video]

https://www.youtube.com/watch?v=KEApG5twaA4
1•RaouleDuke•9m ago•0 comments

Show HN: OxiGDAL – A pure Rust replacement for GDAL with zero C/C++ dependencies

https://github.com/cool-japan/oxigdal
1•kitasan•12m ago•0 comments

Newcomb's Paradox Needs a Demon

https://samestep.com/blog/newcombs-paradox/
1•sestep•12m ago•0 comments

ClaudeAI's Review of "Do Androids Dream of Electric Sheep"

https://old.reddit.com/r/ClaudeAI/comments/1rnio7s/had_claude_read_do_androids_dream_of_electric/
1•lisper•14m ago•0 comments

GPS jamming: The invisible battle in the Middle East

https://www.bbc.com/news/articles/c3ewwlx9e1xo
1•1659447091•14m ago•0 comments

Moonforge: A Yocto-Based Linux OS

https://www.igalia.com/2026/03/09/Introducing-Moonforge-A-Yocto-Based-Linux-OS.html
2•microflash•15m ago•0 comments

Lucid Dreaming (1995)

https://www.aphextwin.nu/learn/98336584377199.shtml
1•carlos-menezes•17m ago•0 comments

DuckDB 1.5.0

https://duckdb.org/2026/03/09/announcing-duckdb-150
2•erikcw•17m ago•0 comments

ChatJC – chatbot for resume/LinkedIn/portfolio info

https://joshuacurry.dev/
2•ogou•21m ago•1 comments

FreeBSD 14.4-Release Announcement

https://www.freebsd.org/releases/14.4R/announce/
2•todsacerdoti•22m ago•0 comments

AgentOps – The Discipline That Didn't Exist Last Year

https://doneyli.substack.com/p/agentops-the-discipline-that-didnt
1•hn247dj•22m ago•0 comments

It looks like the “JVG algorithm” only wins on tiny numbers

https://scottaaronson.blog/?p=9615
5•jhalderm•23m ago•0 comments

I built an app to replace the DAGR – $3.99 instead of $2,500

https://github.com/RedGridTactical/RedGridMGRS
1•redgridtactical•24m ago•1 comments

Convert Any API Documentation into a CLI for AI Agents

https://github.com/giorgioleonardi/pug
2•giorgiolc•29m ago•1 comments

Many US states planning or have operating system age verification laws

https://www.gamingonlinux.com/2026/03/many-more-us-states-are-planning-or-already-have-operating-...
3•20after4•30m ago•0 comments

A retention mechanic for intrinsic learning that isn't Duolingo manipulation?

https://www.dailylabs.co/
1•aidanadd•32m ago•1 comments

Xkcd: Change in Slope

https://xkcd.com/2701/
4•ravenical•38m ago•2 comments

TLAi+ Benchmarks for Evaluating LLMs

https://github.com/tlaplus/TLAiBench
2•alhazrod•39m ago•0 comments

The Unison Language – The Big Idea

https://www.unison-lang.org/docs/the-big-idea/
3•deterministic•40m ago•0 comments

Two Years of Emacs Solo: 35 Modules, Zero External Packages, and a Full Refactor

https://www.rahuljuliato.com/posts/emacs-solo-two-years
7•celadevra_•42m ago•0 comments

Anthropic sues Pentagon claiming supply chain risk label could cost billions

https://www.ft.com/content/af404e0a-7abc-49bc-9584-cd4690152f86
2•Jimmc414•43m ago•1 comments

Iran's attacks on Amazon data centers in UAE, Bahrain signal a new kind of war

https://fortune.com/2026/03/09/irans-attacks-on-amazon-data-centers-in-uae-bahrain-signal-a-new-k...
15•rawgabbit•47m ago•7 comments

I will pay you if you ship a bug

https://www.getautonoma.com
1•Escafati•48m ago•2 comments

Trump says Iran war is 'complete, pretty much'

https://www.theguardian.com/world/2026/mar/09/us-israel-strikes-iran-supreme-leader
3•hedayet•51m ago•1 comments

Anti-stringing device for a coin acceptor (1996)

https://patents.google.com/patent/US5511645A/en
2•exvi•51m ago•0 comments