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

Comments

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

Thoughts on AI

https://vega.rd.no/writing/ai
1•vegardlarsen•2m ago•1 comments

A foundation for building tools on the AT Protocol using Unison

https://notes.kaushikc.org/3m6kc5nudgc2x?auth_completed=true
1•PaulHoule•6m ago•0 comments

The Economics of Duke University

https://dontaylor13.substack.com/p/duke-university
2•paulpauper•9m ago•0 comments

When A.I. Took My Job, I Bought a Chain Saw

https://www.nytimes.com/2025/12/28/opinion/artificial-intelligence-jobs.html
1•colesantiago•10m ago•0 comments

Ask HN: Best ways to create and stay on track with New Year's resolutions?

1•orenlindsey•10m ago•0 comments

The Fed admits it can't easily fix an economic problem it helped create

https://www.cnn.com/2025/12/27/business/fed-k-shaped-economy-interest-rates
1•sipofwater•11m ago•1 comments

Show HN: VoicePatch – Voice feedback to merged PRs, no developer in the middle

https://voicepatch.app
1•davekiss•11m ago•1 comments

Derek Thompson on 2025

https://twitter.com/DKThomp/status/2006047834819219779
1•paulpauper•13m ago•0 comments

Underwater Chess Championship

https://www.bbc.com/news/videos/cd9ed29vg2eo
1•shomp•13m ago•0 comments

Octopus Energy to sell stake in software spin-off Kraken at $8.65B valuation

https://www.theguardian.com/business/2025/dec/30/octopus-energy-sell-stake-kraken-valuation-fodel...
1•johneth•14m ago•0 comments

Show HN: HexoRama – client-side crypto address decoder and debugger

https://hexorama.com/
1•the_raccoon•15m ago•1 comments

Leonardo's wood charring method predates Japanese practice

https://arstechnica.com/science/2025/12/did-one-line-in-a-leonardo-codex-anticipate-yakisugi/
1•perpil•15m ago•0 comments

What We Got Wrong This Year

https://www.thefp.com/p/what-we-got-wrong-this-year
1•paulpauper•19m ago•0 comments

Look Back at Robotics in 2025

https://www.youtube.com/watch?v=40uus_BSP38
1•neoshmt•19m ago•0 comments

Web engine CI on a shoestring budget

https://www.azabani.com/2025/12/18/shoestring-web-engine-ci.html
1•todsacerdoti•20m ago•0 comments

Celebrate HN: Happy New Year

1•Sharanxxxx•22m ago•0 comments

Show HN: Bill My Cloud, a simple no-nonsense AWS cost estimator

https://billmycloud.org
2•loanjoe•23m ago•0 comments

France seeks to ban social media for children under 15

https://www.lemonde.fr/en/france/article/2025/12/31/france-seeks-to-ban-social-media-for-children...
2•2OEH8eoCRo0•26m ago•0 comments

Show HN: Digital Rain Matrix Screensaver for Windows 10/11

https://apps.microsoft.com/detail/9nd4mdxv97gs?hl=en-US&gl=US
1•cybesisdev•27m ago•0 comments

Knight's tour with fewest obtuse angles

https://www.johndcook.com/blog/2025/12/31/knights-tour-minimum-obtuse/
1•ibobev•31m ago•0 comments

Practical std:chrono Calendar Examples (C++20)

https://www.cppstories.com/2025/chrono-calendar-examples/
1•ibobev•31m ago•0 comments

Using AI for Personal Data

https://zoputer.substack.com/p/using-ai-for-personal-data
2•kousun12•34m ago•0 comments

Show HN: A web-based lighting controller built because my old became a brick

https://github.com/Arian-Ott/hyperion
1•arianott•35m ago•0 comments

The GDB JIT Interface

https://bernsteinbear.com/blog/gdb-jit/
1•ibobev•35m ago•0 comments

Israel's multi-ton truck bombs ripped through Gaza City

https://www.reuters.com/graphics/ISRAEL-PALESTINIANS/DEMOLITION/jnvwkkxdlvw/
9•xenocratus•36m ago•0 comments

AI tooling challenges in Data Engineering

https://philippeoger.com/pages/ai-in-data-engineering-context-challenge
1•jeanloolz•36m ago•0 comments

2025 AI Retrospective, What Went Wrong

https://future.forem.com/om_shree_0709/the-ai-hype-reckoning-a-2025-retrospective-on-the-bubble-t...
1•OmShree0709•38m ago•0 comments

Whiskey Prices

https://blog.engora.com/2025/12/whiskey-prices.html
1•Vermin2000•38m ago•1 comments

The Vibe Coding Hangover: What Happens When AI Writes 95% of Your Code?

https://sayna.ai/blog/the-vibe-coding-hangover-what-happens-when-ai-writes-95-percent-of-your-code
1•tigranbs•40m ago•1 comments

The Ridiculous Engineering of the Most Important Machine [video]

https://www.youtube.com/watch?v=MiUHjLxm3V0
2•vlachen•41m ago•0 comments