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.

Jaab – AI Job Hunt Copilot

https://chromewebstore.google.com/detail/jaab-ai-job-hunt-copilot/anpjlacmlihooopakbogefcdffpibpll
1•cheikhdev•4m ago•0 comments

"Why Tailscale? (Open-sourcing my cover letters)"

https://thoward37.me/blog/articles/why-tailscale/
1•thoward37•5m ago•0 comments

The Coming Patent Storm in AI Hardware

https://www.troutman.com/insights/the-coming-patent-storm-in-ai-hardware-what-the-capital-flows-t...
1•peter_d_sherman•6m ago•0 comments

From Object to Infrastructure: Apple's Rhetorical Canon

https://medium.com/@smoking2man/from-object-to-infrastructure-apples-rhetorical-canon-and-the-str...
1•Aldus551•9m ago•0 comments

Ask HN: Dropbox privacy policy, cause for concern?

3•herodoturtle•11m ago•0 comments

Remote work increases sleep and reduces physical activity

https://www.utu.fi/en/news/press-release/remote-work-increases-sleep-and-reduces-physical-activit...
2•rohanm93•12m ago•0 comments

Patch clock now starts before disclosure

https://buttondown.com/nclawdev/archive/your-patch-clock-now-starts-before-disclosure/
1•nadiasora•13m ago•0 comments

Free the Software: M68K Genesis ROM Tracing and CC0 Album

https://archive.org/details/full_album
1•Assembly_LKE•13m ago•1 comments

Lawyer upgrades eight-V100 private AI server to run 80% of DeepSeek v4.1 Flash

https://www.tomshardware.com/tech-industry/artificial-intelligence/lawyer-upgrades-eight-v100-pri...
1•peter_d_sherman•20m ago•0 comments

Stonebrook Quill: full-featured AI-authored fantasy font

https://swordcoastmap.com/font
1•elliotbnvl•22m ago•0 comments

Show HN: Quilt – a bright, modern take on identicons

https://quilt.id/
1•carlsverre•23m ago•0 comments

IBM Spyre AI Accelerator Card (75W PCIe Card with 128GB of LPDDR5)

https://www.ibm.com/docs/en/systems-hardware/zsystems/9175-ME1?topic=introduction-spyre-accelerator
1•peter_d_sherman•25m ago•0 comments

Made a Firefox addon to swap and inspect fonts

https://addons.mozilla.org/en-US/firefox/addon/typeshift-font-inspector/
1•DarthSisyphus•28m ago•0 comments

My Quest to Find the Crispest Apple in America

https://www.wsj.com/arts-culture/food-cooking/crisp-apple-varieties-test-c12940ba
4•impish9208•40m ago•1 comments

How the cure for scurvy was found, then lost(2010)

https://idlewords.com/2010/03/scott_and_scurvy.htm
1•somat•40m ago•0 comments

Beau – An AI boyfriend app focused on everyday conversations

https://play.google.com/store/apps/details?id=com.beau.aiboyfriend&hl=en_US
2•prevanisupport•44m ago•0 comments

A Perfect SimCity

https://www.jeffquast.com/post/a-perfect-simcity/
2•mariuz•44m ago•0 comments

Bill Gates has earned billions investing in climate-polluting landfills

https://www.cnn.com/2026/11/14/climate/bill-gates-landfills-propublica
4•rawgabbit•50m ago•0 comments

I borrowed the query planner from databases to fix a multi-index RAG agent

https://medium.com/@sankeerthan.kasilingam/i-borrowed-the-query-planner-from-databases-to-fix-a-m...
1•sankeerthan•51m ago•0 comments

BrowserDo·Embiody – a browser built for AI agents

https://embiody.com/blog/embiody-0-9-preview/
1•junlongzhai•51m ago•0 comments

Human land use drives microplastic abundance in terrestrial wildlife

https://www.nature.com/articles/s41586-026-11285-x
2•bryanrasmussen•1h ago•0 comments

Disk encryption on NetBSD – achieving secrecy

https://netbsd.org/~nia/disk-encrypt/
2•jaypatelani•1h ago•0 comments

The elites just went into hiding [video]

https://www.youtube.com/watch?v=qAd1myPXrRk
2•Bender•1h ago•1 comments

Reading and Working for Salon

https://www.typebarmagazine.com/on-reading-and-working-for-salon/
2•rdmuser•1h ago•1 comments

B.C. arbitrator imposes first union contract for Amazon workers in North America

https://www.cbc.ca/news/canada/british-columbia/amazon-union-contract-b-c-first-north-america-9.7...
10•Teever•1h ago•2 comments

96.0% on LongMemEval: what retrieval does for long-term memory

https://www.papr.ai/blog/papr-longmemeval-96
1•amirkabbara•1h ago•0 comments

Confessions of an AI Skeptic

https://daniel-azuma.com/blog/2026-11-12-ai-skeptic/
3•gashad•1h ago•0 comments

Show HN: Four bite-sized chess puzzle games built on micro-boards

2•navalsaini•1h ago•0 comments

Turing Complete: Learn CPU architecture with puzzles

https://store.steampowered.com/app/1444480/Turing_Complete/
2•totallymike•1h ago•1 comments

Show HN: Hazel – Declarative schema management for SQLite

https://github.com/winebarrel/hazel
2•winebarrel•1h ago•0 comments