frontpage.
newsnewestaskshowjobs

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•1y ago

Comments

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

Levels of Agentic Engineering

https://virpo.io/levels/
1•virpo•25s ago•0 comments

Emulate Apple II on Raspberry Pi

https://www.raspberrypi.com/news/emulate-apple-ii-on-raspberry-pi/
1•Brajeshwar•1m ago•0 comments

AI coding agents hijacked using AGENTS.md file in Downloads folder

https://www.bleepingcomputer.com/news/security/ai-coding-agents-hijacked-using-agentsmd-file-in-d...
1•Brajeshwar•2m ago•0 comments

Nvidia RTX 20, 30, and 40-series GPUs hacked to remove a half-speed AI throttle

https://www.tomshardware.com/pc-components/gpus/nvidia-rtx-20-30-and-40-series-gpus-hacked-to-rem...
1•Brajeshwar•2m ago•0 comments

The Roots of the UK's New Censorship Agency

https://www.effort.news/ncid
1•barry-cotter•2m ago•0 comments

Werner Forssmann

https://en.wikipedia.org/wiki/Werner_Forssmann
1•benbreen•2m ago•0 comments

Anthropic S-1

https://www.sec.gov/Archives/edgar/data/2130357/000162828026067168/anthropicpbc-sx1.htm#ica694c85...
1•stosssik•3m ago•0 comments

I Regret to Say That Gmail Is Now a Spam Farm

https://whatever.scalzi.com/2026/07/13/i-regret-to-say-that-gmail-is-now-a-spam-farm-or-why-you-s...
1•surprisetalk•3m ago•0 comments

Show HN: Building the European Company Graph one website at a time

https://firmendaten.researchly.at/netzwerk
1•leo_researchly•5m ago•0 comments

To detect deepfake videos, researchers turn to the physics of light

https://physicsworld.com/a/to-detect-deepfake-videos-researchers-turn-to-the-physics-of-light/
1•santiago-pl•6m ago•0 comments

Show HN: HealthViewer – A local-first desktop app for tracking lab results

https://healthviewer.net/
1•ChickadeeBandit•7m ago•0 comments

Enabling Researchers Is a Moral Imperative

https://www.yorba.co/internet-less/enabling-researchers-is-a-moral-imperative
1•schmudde•8m ago•0 comments

DOJ says presidents should be able to sell secrets on eBay

https://freedom.press/the-classifieds/doj-says-presidents-should-be-able-to-sell-secrets-on-ebay/
4•_____k•9m ago•0 comments

Marginalia Search, Money, C++, Rust, AI, Stuff

https://www.marginalia.nu/log/a_141_marginalia_update/
4•marginalia_nu•9m ago•0 comments

Getting debug access on a Brother printer over Telnet

https://inventor7777.github.io/blog/2026/10/22/debug-access-on-brother/
1•inventor7777•9m ago•0 comments

The N64's GPU Is a Technical Marvel [video]

https://www.youtube.com/watch?v=WEoRgQH08MA
1•wicket•9m ago•0 comments

Agentic AI has overtaken generative AI on S&P 500 earnings calls: 5,305 calls

https://equibles.com/research/agentic-ai-has-overtaken-generative-ai-on-earnings-calls-evidence-f...
1•daniel3303•9m ago•0 comments

Anthropic's Seven Founders

https://www.nytimes.com/2026/10/26/technology/anthropic-founders.html
1•donohoe•15m ago•0 comments

Show HN: TablePro – open-source native database client for macOS

https://github.com/TableProApp/TablePro
1•ngoquocdat•16m ago•0 comments

OLED iPad Mini

https://www.apple.com/shop/buy-ipad/ipad-mini
7•etothet•16m ago•1 comments

Connect your AI agents to your database without them having to write SQL

https://github.com/claix-dev/claix-for-devs
1•gael_dev•17m ago•0 comments

Show HN: Tapo-uploader – Tapo camera to private YouTube, recorded on motion

https://github.com/LuigiElleBalotta/tapo-uploader
1•lbalotta•17m ago•0 comments

Show HN: KanuniLabs-DataGrid and PivotGrid for React and JavaScript

https://kanunilabs.com/demos/sales-analytics
1•hizlikovboy27•17m ago•1 comments

How to install an app on your Commodore 64

https://www.anildash.com/2026/10/08/install-an-app-commodore-64/
2•colinprince•18m ago•0 comments

Pusaka Intelligence – AI equity research on US large caps

https://pusakaintelligence.com/en/
1•David_Gunawan•18m ago•0 comments

How far $100 of fuel takes you in America's best-selling cars

https://www.kadoa.com/energy-prices/insights/car-fuel-costs
1•hubraumhugo•20m ago•0 comments

What Are Chinese AI Companies Saying About the Impacts of Export Controls?

https://www.konstantinpilz.com/posts-publications/chinese-statements-on-compute
1•abdullahalharir•20m ago•0 comments

Ask HN: Is it true the Claude Code is better than Codex for coding?

1•abalgir•20m ago•0 comments

Custom Development Services

https://www.bitechnology.co.uk/
1•itshimbilal•22m ago•0 comments

It's time to come back to Firefox [video]

https://www.youtube.com/watch?v=E2AoYIKwJqM
4•wofo•22m ago•0 comments