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.

The AI Safety community is unfortunately doing more harm than good

https://twitter.com/knowerofmarkets/status/2105330652732125602
1•gmays•28s ago•0 comments

Grok Bot (is really good)

https://jamespember.substack.com/p/grok-bot-is-really-good
1•jep888•4m ago•1 comments

Postgres: Are we reverting patches because of bugs found by AI?

https://vondra.me/posts/are-we-reverting-patches-because-of-bugs-found-by-ai/
1•Shorn•8m ago•0 comments

Show HN: Ramen – self-hosted multi-zone MCP server for Kubernetes(Rust & Python)

https://github.com/bkraad47/ramen
1•bulkguy47•8m ago•0 comments

Nix and Home Manager on the steam frame

https://johns.codes/blog/nix-on-steam-frame
1•jrmurray•9m ago•0 comments

How is your country doing on "AI inside Drones"?

https://dronegpt.ai/
1•laumer•11m ago•0 comments

Florida county discovers mysterious Flock cameras with no obvious owner

https://www.washingtonpost.com/nation/2026/10/01/florida-county-discovers-mysterious-flock-camera...
1•WaitWaitWha•11m ago•0 comments

Calling AI 'other intelligence' better describes the advent of a new lifeform

https://www.abc.net.au/news/2026-10-05/is-artificial-intelligence-a-new-lifeform/107226762
1•jyhrow•13m ago•1 comments

Irrelevant visual details interfere with decisions under uncertainty

https://medicalxpress.com/news/2026-10-irrelevant-visual-decisions-uncertainty-brain.html
1•WaitWaitWha•19m ago•0 comments

Secret Microsoft Layoffs and Maybe Another "Voluntary Exit Program"

https://techrights.org/n/2026/10/04/Secret_Microsoft_Layoffs_and_Maybe_Another_Voluntary_Exit_Pro...
1•amcclure•22m ago•0 comments

AWS European Sovereign Cloud: Demonstrating an Independent Operation

https://aws.amazon.com/blogs/security/aws-european-sovereign-cloud-demonstrating-an-independent-o...
1•Betelbuddy•22m ago•1 comments

Can Data Center Design Choices Change Public Acceptance?

https://www.datacenterknowledge.com/sustainability/can-data-center-design-choices-change-public-a...
1•WaitWaitWha•24m ago•0 comments

Anatomy Unzipped: John of Arderne's Sweden Scroll (Ca. 1425–35)

https://publicdomainreview.org/collection/arderne-scroll/
1•prismatic•24m ago•0 comments

Granola Alternative for iphone and watch, free and on-device

https://dictate.donado.co/
1•donadolabs•28m ago•1 comments

Could a Large Language Model Be Conscious? – David J. Chalmers (2024)

https://arxiv.org/abs/2303.07103
1•the-mitr•29m ago•0 comments

Ask HN: What did you think about Digger (2026)?

1•shannadige•30m ago•0 comments

Show HN: Side-by-side California ADU cost ledger (800 vs. 400 sq ft)

https://everylineitem.com/compare/
1•bdhband•30m ago•0 comments

List of Lessons

https://fi-le.net/list/
1•fi-le•32m ago•0 comments

The empty brain – Your brain does not process information it is not a computer

https://aeon.co/essays/your-brain-does-not-process-information-and-it-is-not-a-computer
1•the-mitr•35m ago•0 comments

DeepSeek Builds for Huawei Ascend

https://www.geopolitechs.org/p/deepseek-builds-for-huawei-ascend
1•gmays•39m ago•0 comments

Decision making is becoming the agentic coding bottleneck

https://twitter.com/backnotprop/status/2106932402350174580
2•ramoz•39m ago•0 comments

Turbomail.ai – AI email that lives on your device, not theirs

https://turbomail.ai/
1•namanpundir•50m ago•0 comments

Topscan.me – a new security platform with a new approach to scanning

1•darius88•52m ago•0 comments

OptChat: An endless chat where the AI remembers everything

https://gist.github.com/VictorTaelin/91837951a5ce5b38f341ec1ba1df6449
1•simonpure•52m ago•0 comments

CounterSteer: Suppressing Indirect Prompt Injection with Activation Steering

https://arxiv.org/abs/2609.36570
1•pykello•52m ago•0 comments

Warner Bros/Paramount to change name to Skydance

https://filmstories.co.uk/news/warner-bros-paramount-to-change-name-to-skydance/
1•andsoitis•53m ago•1 comments

Rust clean-room replacements for Photoshop

https://github.com/storytold/photocraft
1•BonoboIO•54m ago•0 comments

Triple SEC – Simple Digital Security Scheme

https://nau.github.io/triplesec/
1•Hbruz0•56m ago•0 comments

Headless B2B quoting, invoicing, and payments engine

https://cordhq.app/
1•andrevallee•1h ago•0 comments

Building a new path to make medicines with AI

https://www.isomorphiclabs.com/articles/building-a-new-path-to-make-medicines-with-ai
1•codeplay•1h ago•0 comments