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.

A simpler way to remove explicit images from Search

https://blog.google/products-and-platforms/products/search/remove-explicit-images/
1•gnabgib•32s ago•0 comments

We're all called Julia, or maybe ChatGPT calls itself Julia

https://solresol.substack.com/p/were-all-called-julia-or-maybe-chatgpt
1•solresol•3m ago•0 comments

5,300-year-old 'bow drill' rewrites story of ancient Egyptian tools

https://www.ncl.ac.uk/press/articles/latest/2026/02/ancientegyptiandrillbit/
3•geox•3m ago•0 comments

Search the public domain through image embeddings

https://faenum.com
1•jlauf•6m ago•0 comments

Beautiful iOS SSH Terminal with GPU Acceleration

https://github.com/eriklangille/clauntty
1•dnw•6m ago•0 comments

Wall Street's anything-but-tech trade shakes up US stock market

https://www.ft.com/content/577b97f6-2416-48b9-9bd3-717bb202ca71
1•petethomas•7m ago•0 comments

Show HN: Obsidian Visual Skills – Generate Canvas, Excalidraw, Mermaid from Text

https://github.com/axtonliu/axton-obsidian-visual-skills
1•axtonliu•9m ago•0 comments

It's Time to Rage Against the AI Music Machine

https://time.com/7338205/rage-against-ai-generated-music/
1•cdrnsf•10m ago•0 comments

Show HN: Askill – A package manager for AI agent skills with AI safety scoring

https://github.com/avibe-bot/askill
1•alex_metacraft•11m ago•1 comments

AI is now a magic decompiler

https://stephenjayakar.com/posts/magic-decomp/
1•stephenjayakar•11m ago•0 comments

Lolong: Largest crocodile ever held in captivity

https://en.wikipedia.org/wiki/Lolong
1•teleforce•16m ago•0 comments

AI Can Work on VMs

https://www.fluid.sh/blog/how-fluid-reads-source-vms-safely
1•aspectrr•16m ago•0 comments

Medog Hydropower Station

https://en.wikipedia.org/wiki/Medog_Hydropower_Station
1•thunderbong•20m ago•0 comments

What FTX's investments would be worth today (based on public filings)

https://themissingbillions.com
2•apwn•20m ago•1 comments

Show HN: Runmoa – Create a global storefront with payments in 1 minute (no-code)

https://www.runmoa.com/?from=moa
1•shleefunnel•21m ago•0 comments

Show HN: AdKit MCP: Inject Ads into Your LLMs

https://www.adkitmcp.com/
1•Exorust•24m ago•0 comments

Why Smart Lawyers Are Building AI Tools Instead of Buying Them

https://natlawreview.com/article/why-smart-lawyers-are-building-ai-tools-instead-buying-them
2•petethomas•25m ago•0 comments

What can't be automated? The Last Human Bottleneck

https://bturtel.substack.com/p/what-cant-be-automated
1•bturtel•28m ago•0 comments

Ask HN: Is "make me laugh" the next Turing Test?

1•ryandvm•31m ago•3 comments

Building a semantic search engine in ±250 lines of code

https://bart.degoe.de/building-a-semantic-search-engine-in-250-lines-of-python/
2•bartdegoede•31m ago•0 comments

ChatGPT to PDF Extension – export ChatGPT chats to a clean PDF in one click

https://chromewebstore.google.com/detail/export-chatgpt-conversati/ploaaddkflkapjfbfapmkmkefigedefp
1•backrun•31m ago•1 comments

First Proof

https://1stproof.org/
1•wanderingmind•32m ago•0 comments

I have a new favorite coding font

https://fantinel.dev/blog/maple-mono-font/
2•cratermoon•32m ago•1 comments

Seedream 5.0-Preview Test: An image model that does web search during generation

https://www.atlascloud.ai/collections/seedream-5
2•Alisaqqt•34m ago•1 comments

Think I'm kidding bout 4o?

https://chatgpt.com/share/6927a0e2-7cc8-800d-9656-bc43f375cb5b
1•WindySoliloquy•35m ago•3 comments

Free AI Prompts Library and Community to Share Prompts and Prompt Builder

https://promptshub.shop/
1•meimeixoxi•36m ago•1 comments

Confer: Making end-to-end encrypted AI chat feel like logging in

https://confer.to/blog/2025/12/passkey-encryption/
1•dnw•40m ago•0 comments

Show HN: UserPrompt – A Context Request Notification Tool for Coding Agents

https://www.nuget.org/packages/UserPrompt/1.0.0
2•Jacob-J-Thomas•40m ago•0 comments

Robinhood Stock Tumbles as Crypto-Related Revenue Falls Short of Expectations

https://www.barrons.com/articles/robinhood-stock-price-earnings-6850c716
2•petethomas•43m ago•0 comments

Show HN: AgentNotifier – phone alerts when Codex/Claude need input

https://github.com/almuqrin/agentnotifier
2•almuqrin•50m ago•0 comments