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.

SparSEEty: Extracting Tokens from Sparsity-Exploiting LLM Serving Systems

https://arxiv.org/abs/2608.02995
1•sbulaev•42s ago•0 comments

Decisive Action Training Environment [pdf]

https://paxsims.wordpress.com/wp-content/uploads/2016/05/312855400-decisive-action-training-envio...
1•gmays•2m ago•0 comments

Show HN: Muuted – I built a feed that knows when to shut up

https://muuted.com/
1•Caldwellone•7m ago•1 comments

Himalaya – CLI to Manage Emails

https://github.com/pimalaya/himalaya
1•tangue•10m ago•0 comments

Simple app to keep creativity ALIVE

https://www.theideasgarden.com/
1•matejsimko•11m ago•0 comments

Foomflops: Three Decades of AI Predictions

https://foom.hyperplex.org/
1•blfr•15m ago•0 comments

Trump administration to pay German firm $1.22B to cut offshore wind leases

https://www.theguardian.com/us-news/2026/aug/06/rwe-deal-wind-leases
2•leonidasrup•16m ago•0 comments

Summary of Changes – Lovable Privacy Policy

https://lovable.dev/legal/privacypolicyaugust2026
1•doener•19m ago•0 comments

Manticore Search authentication rollout checklist for production

https://medium.com/@s_nikolaev/manticore-search-authentication-rollout-checklist-for-production-e...
1•snikolaev•20m ago•0 comments

Emacs Arbitrary Code Execution Returns

https://eshelyaron.com/posts/2026-08-06-emacs-arbitrary-code-execution-returns.html
2•eshelyaron•21m ago•0 comments

Accurate Measurement of Time [pdf]

https://tf.nist.gov/general/pdf/1011.pdf
2•andsoitis•24m ago•0 comments

Mark Twain Predicts the Internet in 1898

https://www.openculture.com/2026/08/mark-twain-predicts-the-internet-in-1898.html
3•theanonymousone•24m ago•0 comments

From Sundials to Atomic Clocks [pdf]

https://tf.nist.gov/general/pdf/1796.pdf
1•andsoitis•25m ago•0 comments

Meta enters the coding-agent race with Muse Code

https://developer.meta.com/ai/products/muse-code/
2•x7ikmet•26m ago•1 comments

I've succesfully compiled Netscape 3.0.2 on a 64 Debian

https://www.reddit.com/r/netscape/comments/1ve7wkm/ive_succesfully_compiled_netscape_302_on_a_64/
4•zekrioca•28m ago•0 comments

The German Mittelstand

https://kieranvelasquez.substack.com/p/on-the-german-mittelstand
2•osnium123•28m ago•0 comments

Quantum entanglement generated by sunlight for the first time

https://www.uottawa.ca/about-us/news-all/quantum-entanglement-generated-sunlight-first-time
2•giuliomagnifico•30m ago•0 comments

Common knowledge shapes our lives and societies

https://theconversation.com/how-does-common-knowledge-shape-our-individual-lives-and-our-societie...
2•andsoitis•30m ago•0 comments

Being given a 100% AI generated score for your own mental work hurts

https://mastodon.thi.ng/@toxi/117031237659514917
3•rapnie•34m ago•0 comments

Battery on Wheels Makes Any Diesel Truck Electric in 5 Minutes [video]

https://www.youtube.com/watch?v=Idhfl-2FHJw
1•thelastgallon•35m ago•0 comments

A new Git diff tool

https://github.com/aymanbagabas/drift
2•stillmatic•35m ago•0 comments

Taste is all you need

https://iam.mt/taste-is-all-you-need/
2•thallavajhula•38m ago•0 comments

OBASE: Object-Based Address-Space Engineering to Improve Memory Tiering

https://www.usenix.org/conference/osdi26/presentation/banakar
1•matt_d•39m ago•0 comments

Kalman Filter: The Tour

https://www.staszewski.xyz/blog/kalman-filter/
1•kamilstaszewski•39m ago•0 comments

Bigos (Polish Hunter's Stew) Recipe Builder

https://chefsbinge.com/bigos-recipe-builder/
1•doublepg23•40m ago•0 comments

The em-dash em-beds in Congress

https://arxiv.org/abs/2608.05889
1•jruohonen•40m ago•1 comments

AI-generated vulnerability patches still require expert human review

https://1password.com/blog/why-ai-generated-patches-still-require-human-review
1•jmmv•41m ago•0 comments

$1B of iPhone 18 Pro chips 'awaiting packaging' due to DRAM shortages

https://www.tomshardware.com/pc-components/dram/usd1-billion-of-iphone-18-pro-chips-on-the-shelve...
1•kristianp•42m ago•0 comments

Bacterial supplements may boost female fertility

https://medicalxpress.com/news/2026-08-bacterial-supplements-boost-female-fertility.html
1•OutOfHere•44m ago•0 comments

FDA Approves First Drug to Treat the Full Range of Narcolepsy Type 1 Symptoms

https://www.fda.gov/news-events/press-announcements/fda-approves-first-drug-treat-full-range-narc...
1•OutOfHere•44m ago•0 comments