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

Comments

llm-exe•8mo 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•8mo 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 truth behind the 2026 J.P. Morgan Healthcare Conference

https://www.owlposting.com/p/the-truth-behind-the-2026-jp-morgan
1•crescit_eundo•41s ago•0 comments

PutHouse – Earn income automatically with risk management built-in

https://puthouse.com
1•jansonlau•1m ago•0 comments

Apple Foundation Models will be based on Gemini

https://blog.google/company-news/inside-google/company-announcements/joint-statement-google-apple/
2•spott•2m ago•0 comments

Deft: A new replacement for Clojure objects using plain maps

https://github.com/sstraust/deft
1•sammy0910•3m ago•1 comments

Framework: Memory and Storage Pricing Updates

https://frame.work/at/en/blog/in-stock-on-framework-desktop-and-updates-on-the-industry-wide-sili...
1•tosh•4m ago•0 comments

I spent my winter break teaching an LLM to play Diplomacy with RL

https://www.benglickenhaus.com/blog/diplomacy_rl_part_1
1•bglick13•4m ago•0 comments

Forget about crop diseases and try this

https://apps.apple.com/us/app/agrisense-field/id6738309189
1•dasorto•5m ago•0 comments

Yellowstone Bison Herd

https://en.wikipedia.org/wiki/Yellowstone_bison_herd
1•thunderbong•6m ago•0 comments

Show HN: Image0.dev – image tools that run in the browser

https://image0.dev/
1•ayushpawar•6m ago•0 comments

Telegram recovery model allows permanent lockout after phishing

https://bugs.telegram.org/c/58477
1•saloed•7m ago•1 comments

1X World Model – From Video to Action: A New Way Robots Learn

https://www.1x.tech/discover/world-model-self-learning
1•yusufozkan•7m ago•0 comments

Apple picks Google's Gemini AI for its big Siri upgrade

https://www.theverge.com/news/860521/apple-siri-google-gemini-ai-personalization
2•erex78•8m ago•0 comments

All the rovers heading to the Moon over the next 10 years

https://jatan.space/moon-monday-issue-256/
1•freediver•9m ago•0 comments

Mac OLM File to PST Converter"

https://apps.microsoft.com/detail/9n7jk7z3546j?hl=en-US&gl=US
1•tieanderson•10m ago•1 comments

iPhone 4 is having a TikTok revival

https://appleinsider.com/inside/iphone/tips/iphone-4-is-having-a-tiktok-revival-heres-how-to-use-...
1•ksec•10m ago•0 comments

They Want You to "Quit Demonstrating"

https://www.motherjones.com/politics/2026/01/trump-renee-good-ice-roger-williams-wesley-hunt-firs...
1•wahnfrieden•10m ago•0 comments

In Defense of the New York City Transit Strike

https://jacobin.com/2026/01/nyc-2005-twu-strike-toussaint
1•wahnfrieden•11m ago•0 comments

Pi Monorepo: AI agent toolkit

https://github.com/badlogic/pi-mono
2•pretext•11m ago•0 comments

How to Build a Habit

https://dogdogfish.com/blog/2026/01/12/building-a-habit/
1•matthewsharpe3•13m ago•0 comments

Show HN: Java In-Memory search using Forage

https://livetheoogway.github.io/forage/
1•tusharnaik•13m ago•0 comments

Kavia AI now supports Bitbucket (agent-driven code analysis and regression diff)

https://www.youtube.com/watch?v=r3la8vo_G0E
1•kavitha_kavia•14m ago•1 comments

Keeping Power Utilities in Corporate Hands Doesn't Make Sense

https://jacobin.com/2025/12/hudson-valley-public-power/
1•PaulHoule•15m ago•0 comments

Show HN: Gdocs-CLI – Fetch Google Docs as Markdown for AI Coding Agents

https://github.com/famasya/gdocs-cli
1•pacific01•15m ago•0 comments

Big Tech 'DRAM Beggars' Scramble for Scarce Inventory

https://www.chosun.com/english/industry-en/2026/01/09/KWC26UZIENDUBIPRVLRLTCINPY/
2•ksec•16m ago•0 comments

Show HN: Server for Pydantic-AI Agents

https://github.com/caesarnine/lattis
2•binalpatel•16m ago•0 comments

Ask HN: Erratic HN front page algorithm

2•7777777phil•18m ago•0 comments

Show HN: Subtle – Local, open-source analytics for Claude Code sessions

2•itsderek23•23m ago•0 comments

Neo Is Starting to Learn on Its Own (1X World Model – From Video to Action)

https://www.youtube.com/watch?v=lS_z60kjVEk
1•fadedlight•24m ago•1 comments

Review: How to Solve It by George Pólya

https://www.thepsmiths.com/p/review-how-to-solve-it-by-george
1•jger15•24m ago•0 comments

Ask HN: How do you automate your release notes?

1•dustfinger•25m ago•2 comments