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

Comments

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

Predictions as a Substitute for Reviews (2020)

https://acesounderglass.com/2020/08/06/predictions-as-a-substitute-for-reviews/
1•kqr•2m ago•0 comments

LogLeak: Composer GitHub Actions token disclosure in error messages, patched

https://blog.packagist.com/composer-2-9-8-and-2-2-28-fix-github-actions-token-disclosure-in-error...
1•damienwebdev•2m ago•0 comments

Live facial recognition to be used across county [Cambridgeshire, UK]

https://www.bbc.co.uk/news/articles/cedpgz9w22zo
1•saltwatercowboy•4m ago•0 comments

Show HN: TTP 0.3.0 – A transparent Tor proxy running in RAM

https://github.com/onyks-os/TransparentTorProxy
1•onyks•5m ago•0 comments

AI Defense Matrix: an open framework for defending AI systems

https://aidefensematrix.com/
2•escargot•6m ago•1 comments

Erlang/OTP 29.0

https://www.erlang.org/news/188
1•nifoc•6m ago•0 comments

Choosing the Right Agentic Design Pattern: A Decision-Tree Approach

https://machinelearningmastery.com/choosing-the-right-agentic-design-pattern-a-decision-tree-appr...
1•eigenBasis•6m ago•0 comments

A Rails proxy to enforce hard dollar caps on OpenAI usage

https://github.com/naurisSeglins/ai_budget_proxy
1•nseglins•7m ago•0 comments

Fragnesia

https://github.com/v12-security/pocs/tree/main/fragnesia
2•_ikke_•10m ago•0 comments

Show HN: MCPSafe – Free security scanner for MCP servers using 5-LLM consensus

https://mcpsafe.io
1•nhattruongadm•10m ago•0 comments

Forty Watts to Think With

https://atomsfrontier.substack.com/p/forty-watts-to-think-with
1•jpatel3•11m ago•0 comments

Subvert. The music platform owned by its community

https://www.subvert.fm/
1•riffraff•11m ago•0 comments

Red and Black Knights (extraordinary result) [video]

https://www.youtube.com/watch?v=UiX4CFIiegM
1•marvinborner•11m ago•0 comments

We Built a Custom Transport for Vercel's AI SDK

https://ably.com/blog/custom-transport-vercel-ai-sdk
1•zknill•12m ago•0 comments

Mojang adds Friends List and peer-to-peer multiplayer to Minecraft: Java Edition

https://www.minecraft.net/en-us/article/minecraft-26-2-snapshot-7
2•ObviouslyFlamer•15m ago•0 comments

The Physics–and Physicality–Of Extreme Juggling (2018)

https://www.wired.com/story/the-physicsand-physicalityof-extreme-juggling/
1•ColinWright•17m ago•0 comments

SaaS/DevTools Founders: Would You Acquire a Niche Tech Community?

http://towardsaws.com
1•kisanpakhreen•18m ago•1 comments

AI will soon be capable of telling convincing lies

https://www.theregister.com/ai-ml/2026/05/13/ai-will-soon-be-capable-of-telling-convincing-lies/5...
2•pluc•18m ago•1 comments

Top Business Ideas Under ₹5 Lakh in India – SMFG India Credit

https://www.smfgindiacredit.com/knowledge-center/business-ideas-under-5-lakhs.aspx
1•saumyaraut11•18m ago•0 comments

Show HN: Diom – Open-source back end primitives with no runtime dependencies

https://github.com/svix/diom
1•tasn•19m ago•0 comments

Not so dusty: How tech is changing woodworking

https://www.bbc.co.uk/news/articles/c747n11933eo
1•neversaydie•19m ago•0 comments

Shai-Hulud: Open Sourcing the Carnage

https://github.com/PedroTortoriello/Shai-Hulud-Open-Source
1•lionkor•21m ago•0 comments

Lenovo buys its BIOS maker of 20 years – here's why that matters

https://gagadget.com/en/707143-lenovo-buys-its-bios-maker-of-20-years-heres-why-that-matters/
1•taubek•23m ago•0 comments

Gallup Begins Research on Simulated Responses

https://news.gallup.com/opinion/methodology/709373/gallup-begins-research-simulated-responses.aspx
1•ep_jhu•25m ago•0 comments

Better Auth 1.6

https://better-auth.com/blog/1-6
1•ms7892•27m ago•0 comments

1908 Tunguska Event

https://en.wikipedia.org/wiki/Tunguska_event
2•simonebrunozzi•28m ago•0 comments

Google finds first AI-developed zero-day that bypasses 2FA

https://www.tomshardware.com/tech-industry/cyber-security/google-finds-first-ai-developed-zero-da...
3•pkaeding•30m ago•0 comments

I Moved My Digital Stack to Europe

https://monokai.com/articles/how-i-moved-my-digital-stack-to-europe/
81•monokai_nl•30m ago•36 comments

Experts don't know what data centers are doing to the electric grid

https://blog.ucs.org/mike-jacobs/what-are-data-centers-doing-to-the-electric-grid-experts-dont-know/
2•giuliomagnifico•31m ago•0 comments

Language Is Cognitive Exhaust: How AI Reconstructs Thought from Text [pdf]

https://dn720908.ca.archive.org/0/items/language-cognitive-exhaust-thought-compression-ai/SFL-07_...
3•scaledsystems•33m ago•0 comments