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

Comments

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

Show HN: Pym2 – a lightweight process manager for Python services

https://github.com/heradon/pym2
1•heradon•16s ago•0 comments

SDLC was built around human limitations AI doesn't share

https://www.preascent.com/insights/ai-problem-not-ai-problem
1•ocivelek•2m ago•1 comments

Just got approved on the Apple App Store – launching our digital rehab startup

1•spenzev•2m ago•0 comments

Agentic swarms are an org-chart delusion

https://www.joanwestenberg.com/agentic-swarms-are-an-org-chart-delusion/
1•surprisetalk•2m ago•0 comments

The Collective Ambition Behind Odysseus, a Game-Changing Sci-Fi Larp

https://mssv.net/2025/03/19/the-collective-ambition-behind-odysseus/
1•surprisetalk•2m ago•0 comments

Bridging Research and Manufacturing: The Role of Surface Science Nanometrology [video]

https://www.youtube.com/watch?v=Dcl6O_gRgqo
1•surprisetalk•3m ago•0 comments

A Visual Guide to DNA Sequencing

https://www.asimov.press/p/dna-sequencing
1•surprisetalk•3m ago•0 comments

James K. Polk and the 5,106 Votes That Changed America

https://www.coolidgereview.com/articles/james-polk-misremembered
1•RickJWagner•3m ago•0 comments

Into the Shadows: 3D game from Triton, supposed to release in 1995 but abandoned

https://www.gamesthatwerent.com/2024/04/into-the-shadows/
1•markus_zhang•3m ago•1 comments

Show HN: Learn distributed ML by playing a sci-fi browser game

https://simulator.zhebrak.io/?welcome
1•zhebrak•3m ago•1 comments

Why Do Investors Keep Buying Century Bonds?

https://thedailyeconomy.org/article/why-do-investors-keep-buying-century-bonds/
1•RickJWagner•3m ago•0 comments

Why I'm no longer releasing Linux builds of my games

https://bigosaur.com/blog/201-why-no-longer-linux-builds
1•babuskov•4m ago•0 comments

Beyond Oil: The Strait of Hormuz and the Global Food Risk

https://www.forbes.com/sites/rrapier/2026/03/01/beyond-oil-the-strait-of-hormuz-and-the-global-fo...
1•AndrewDucker•4m ago•0 comments

Why Claude Runs on Electron and Not ClaudeVM

https://jperla.com/blog/claude-electron-not-claudevm
1•ljlolel•4m ago•0 comments

Geometric and Control-Theoretic Limits on Drone Density in Bounded Airspace

https://www.mdpi.com/2504-446X/10/2/139
1•PaulHoule•5m ago•0 comments

Show HN: A Chrome extension that adds private notes to Pinterest pins

https://chromewebstore.google.com/detail/pinterest-notes-organizer/pjipjbaeocglhcfegkkalkglagojapom
1•losalah•7m ago•0 comments

When the Model Is the Machine

https://blog.mikegchambers.com/posts/when-the-model-is-the-machine/
1•mikegchambers•9m ago•1 comments

Rhode Island Files First-in-Nation Single-Room Occupancy Model Legislation

https://ij.org/press-release/rhode-island-files-first-in-nation-single-room-occupancy-model-legis...
1•mhb•13m ago•0 comments

SpaceWar – Maybe the Most Important Computer Game

https://wheels.org/spacewar/index.html
1•TigerUniversity•14m ago•0 comments

Wall Street's Capital Discipline is why US oil production won't ramp up at $100

https://www.governance.fyi/p/wall-street-killed-the-wildcatters
1•daveland•15m ago•3 comments

Privacy Pass

https://privacypass.github.io/
1•nothrowaways•15m ago•0 comments

Show HN: What % of your commits were written by AI?

https://technically-your-name-is-on-it.btao.org/
1•tao_oat•15m ago•0 comments

Show HN: Not_pad: local idea hub, Windows, single .exe, no install, zip

https://github.com/SylvaMoth/not_pad/releases/tag/v0.98.3-Beta
1•SylvaM•15m ago•0 comments

Software Engineering Isn't Dead Yet

https://deadneurons.substack.com/p/software-engineering-isnt-dead-yet
1•nr378•18m ago•0 comments

Painting that made Turner's name gets second public showing since 1799

https://www.thetimes.com/culture/art/article/painting-turner-abergavenny-bridge-rcvx8hglh
1•bookofjoe•18m ago•0 comments

$82,000 in 48 Hours from stolen Gemini API Key vs. normal monthly Usage Of $180

https://old.reddit.com/r/googlecloud/comments/1reqtvi/82000_in_48_hours_from_stolen_gemini_api_ke...
2•NewCzech•19m ago•1 comments

Glaze

https://www.raycast.com/blog/introducing-glaze
1•romac•20m ago•0 comments

Glaze by Raycast

https://www.glazeapp.com/
17•romac•21m ago•1 comments

Editing changes in patch format with Jujutsu

https://www.knifepoint.net/~kat/kb-jj-patchedit.html
1•cassepipe•21m ago•0 comments

Ancient Greece's most famous oracle was just high on gas fumes

https://www.popsci.com/science/oracle-of-delphi-drugs/
2•Brajeshwar•23m ago•1 comments