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

Comments

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

Pelican 4.12 Released

https://getpelican.com/blog/pelican-4.12-released/
1•pauloxnet•50s ago•0 comments

Did a Metallurgical Failure Cause a Night to Remember?

https://www.tms.org/pubs/journals/JOM/9801/Felkins-9801.html
1•dmbche•3m ago•0 comments

Pgrust: Rebuilding Postgres in Rust with AI

https://malisper.me/pgrust-rebuilding-postgres-in-rust-with-ai/
1•luu•4m ago•0 comments

Your Company Is a Skill Now

https://arlo.substack.com/p/your-company-is-a-skill-now
2•bizgrayson•5m ago•0 comments

CountMediQ – Count Pills from a Photo on iOS

https://apps.apple.com/us/app/countmediq-pill-counting-app/id6463065655
1•sam_son•5m ago•0 comments

Show HN: Einlang, a math-intuitive language with lots of good stuff

https://github.com/einlang/einlang
1•amazing42•5m ago•0 comments

Anthropic's Mythos AI model sparks fears of turbocharged hacking

https://arstechnica.com/ai/2026/04/anthropics-mythos-ai-model-sparks-fears-of-turbocharged-hacking/
1•tartoran•6m ago•0 comments

Peter Thiel Is Building a Parallel Justice System – Powered by AI

https://www.codastory.com/polarization/can-we-trust-an-ai-jury-to-judge-journalism/
1•cdrnsf•7m ago•1 comments

PyTexas 2026 Recap

https://bernat.tech/posts/pytexas-2026-recap/
1•gaborbernat•7m ago•1 comments

Borumi – Create videos, without the hassle

https://borumi.com/
1•mvdwoord•8m ago•1 comments

Housing constraints: why Silicon Valley hasn't done more for most Americans

https://www.slowboring.com/p/why-silicon-valley-hasnt-done-more
1•firasd•9m ago•0 comments

CIAM in the Sky

https://ciamweekly.substack.com/p/ciam-in-the-sky
1•mooreds•10m ago•0 comments

Javier Milei Wants to Rewire the Argentine Mind

https://www.nytimes.com/2026/04/20/world/americas/argentina-president-milei-inflation-economic-re...
1•mitchbob•10m ago•0 comments

Show HN: Gyrus :Open-Source AI Agents for Snowflake, SQL and Postgres

https://github.com/orgs/Gyrus-Dev/repositories
1•MalviyaPriyank•12m ago•0 comments

App host Vercel says it was hacked and customer data stolen

https://techcrunch.com/2026/04/20/app-host-vercel-confirms-security-incident-says-customer-data-w...
1•speckx•13m ago•0 comments

Show HN: Tmux-bar – One-tap switching between windows in current tmux session

https://github.com/daxliar/tmux-bar
1•zonovar•14m ago•0 comments

Show HN: Themeable HN

https://github.com/insin/comments-owl-for-hacker-news/releases/tag/v3.6.1
1•insin•15m ago•0 comments

The Vibe Code 103,000 AI-generated repos, only 1% production ready

https://useastro.com/vibe-code-report/
2•nishikawa7863•15m ago•0 comments

Tell HN: Codex/Claude Code one-off credit purchases are a money sink

1•mavsman•17m ago•0 comments

What I Learned About Billionaires at Jeff Bezos's Private Retreat

https://www.theatlantic.com/magazine/2026/05/billionaire-consequence-free-reality/686588/
4•robtherobber•18m ago•0 comments

Germany's Merz says industrial AI needs less stringent EU regulation

https://www.reuters.com/business/germanys-merz-says-industrial-ai-needs-less-stringent-eu-regulat...
1•ulrischa•19m ago•0 comments

Are Strings Still Our Best Hope for a Theory of Everything?

https://www.quantamagazine.org/are-strings-still-our-best-hope-for-a-theory-of-everything-20260323/
1•digital55•19m ago•0 comments

Claude helped build a wetlab+sequence my DNA at home, with 0 lab experience

https://vibe-genomics.replit.app/
1•banana-bae•20m ago•1 comments

Effectful Recursion Schemes

https://effekt-lang.org/blog/recursion-schemes/
1•marvinborner•21m ago•0 comments

Did Artemis II mission do lunar science or go to the Moon for humanity?

https://jatan.space/moon-monday-issue-271/
1•JPLeRouzic•21m ago•0 comments

Physical Media Is Pretty Cool

https://michaelenger.com/blog/physical-media-cool/
1•speckx•22m ago•0 comments

Show HN: Mailto.Bot – Email API for AI agents with native MCP support

https://mailto.bot
1•jerryluk•22m ago•0 comments

Engineers Kick-Started the Scientific Method

https://spectrum.ieee.org/francis-bacon-scientific-method
1•Brajeshwar•25m ago•0 comments

Can LLMs Flip Coins in Their Heads?

https://pub.sakana.ai/ssot/
1•hardmaru•25m ago•0 comments

Itanium: Intel's Great Successor [video]

https://www.youtube.com/watch?v=-K-IfiDmp_w
1•vt240•26m ago•0 comments