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

Comments

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

DreamLite: Lightweight On-Device Unified Model for Image Generation and Editing

https://carlofkl.github.io/dreamlite/
1•smusamashah•36s ago•0 comments

Uno-reverse: Who is gaslighting who now?

https://abscondita.com/blog/uno-reverse-who-is-gaslighting-who
1•_vaporwave_•41s ago•0 comments

How to Turn a Chicken Egg into a Drug Factory

https://www.nytimes.com/2026/03/26/science/biotechnology-pharmaceuticals-eggs.html
1•lxm•3m ago•0 comments

How do I turn on the Do Not Track feature?

https://support.mozilla.org/en-US/kb/how-do-i-turn-do-not-track-feature
1•greyface-•6m ago•0 comments

Claude Code Interactive Architecture

https://brandonrc.github.io/journey-through-claude-code/
1•bsgeraci•10m ago•1 comments

MIT 9.35 Perception, Spring 2024 [video]

https://www.youtube.com/watch?v=IPJC8loEmd4
1•mdp2021•10m ago•0 comments

Turn any idea into a printable coloring page with AI

https://coloringpage.live
1•jiruitao•11m ago•1 comments

Humans, Trust, and AI Job Replacement

https://hooda.xyz/blog/humans-trust-and-ai-job-replacement/
2•hooda•14m ago•0 comments

Precision Proactivity: Measuring Cognitive Load in Real-World AI-Assisted Work

https://arxiv.org/abs/2505.10742
1•wslh•14m ago•0 comments

Codey-V2 is out – stable release

https://github.com/Ishabdullah/Codey-v2
1•Ishymoto•16m ago•0 comments

Pretext's most interesting use cases have no DOM at all

https://cyrusradfar.com/thoughts/pretext-beyond-the-browser
2•cyrusradfar•19m ago•0 comments

Microsoft plans to build 100% native apps for Windows

https://www.windowslatest.com/2026/03/28/microsoft-plans-to-build-100-native-apps-for-windows-11-...
2•kbelder•22m ago•1 comments

Reverse engineering GTA San Andreas with autonomous LLM agents [video]

https://www.youtube.com/watch?v=zBQJYMKmwAs
2•LelouBil•23m ago•0 comments

Mission Control for AI Agents – Cyberpunk dashboard, zero deps, one HTML file

https://github.com/Audazia/solar-system-agentsIbuiltSolarSystemAgentsbecauseIwanted:1.Adashboardt...
1•AUDAZIA•23m ago•1 comments

(Quasi)auto-canonization is the greatest short-term challenge for AI

https://xcancel.com/AlexKontorovich/status/2038810855110742310#m
1•vi_sextus_vi•23m ago•0 comments

Microsoft in Talks with Chevron, Engine No. 1 over $7B Texas Power Plant

https://www.bloomberg.com/news/articles/2026-03-31/microsoft-in-talks-with-chevron-engine-no-1-ov...
2•mfiguiere•26m ago•0 comments

Show HN: macOS app to ensure package managers only allow packages 1+ week old

https://github.com/harryob2/ShieldGuard
1•haaz•27m ago•0 comments

Large-scale BTU study shows: solar panels last longer than previously thought

https://www.b-tu.de/en/news/article/31103-grossangelegte-btu-studie-zeigt-solaranlagen-halten-lae...
1•jbm•29m ago•0 comments

Australia readies social media court action citing teen ban breaches

https://www.reuters.com/sustainability/society-equity/australia-investigates-tech-giants-over-soc...
1•jnord•31m ago•0 comments

TK Solver: Comprehensive Mathematical Software Tool for Engineers

https://www.uts.com/Products/TKSolver
1•teleforce•32m ago•0 comments

Veo 3.1 Lite – Veo 3.1 Lite – Turn Any Idea into AI Videos Instantly

https://veo31lite.com
2•sarkory•35m ago•0 comments

Anthropic just fired dev who published dev/Claude-code NPM package

https://twitter.com/KevinNaughtonJr/status/2039087166626656618
7•surprisetalk•36m ago•6 comments

GitHub has DMCA'd nearly all forks of the official Claude-code repo

https://github.com/anthropics/claude-code/forks
2•cg505•36m ago•2 comments

BCG's Data Warehouse Hacked – 3.17T Rows, Zero Authentication

https://codewall.ai/blog/how-we-hacked-bcgs-data-warehouse-3-17-trillion-rows-zero-authentication
1•theolivenbaum•38m ago•0 comments

Has GitLab Felt into the Enshittification?

https://gitlab.com/gitlab-org/gitlab/-/work_items/590689
1•sixthDot•42m ago•1 comments

North Korea-Nexus Threat Actor Compromises Widely Used Axios NPM Package

https://cloud.google.com/blog/topics/threat-intelligence/north-korea-threat-actor-targets-axios-n...
1•nettlin•42m ago•1 comments

Dark Code

https://twitter.com/saranormous/status/2039107773942956215
2•petethomas•42m ago•0 comments

Ask questions on the Claude Code codebase

https://app.sourcebot.dev/~/askgh/alex000kim/claude-code
2•msukkarieh•44m ago•0 comments

Software Pipelining for GPU Kernels: Part 1 – The Pipeline Problem

https://www.modular.com/blog/software-pipelining-for-gpu-kernels-part-1-the-pipeline-problem
1•MohamedMabrouk•44m ago•0 comments

Agent skills for desktop automation and video recording

https://github.com/TwillAI/skills
1•danoandco•45m ago•0 comments