frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: LLM-Exe – A Modular TypeScript Toolkit for LLM Application Development

https://llm-exe.com/
3•llm-exe•9mo ago
I've recently updated llm-exe, a modular TypeScript library built specifically to simplify creating applications with Large Language Models (LLMs). The package allows you to call LLM's from various providers without changing the underlying code.

The library focuses on a structured, lightweight, modular design that lets developers easily assemble complex workflows from reusable components:

Prompts: Structured templating for managing sophisticated prompts with built-in Handlebars support.

Parsers: Components that transform raw LLM responses (strings) into structured data, supporting JSON, arrays, enum extraction, and custom parsing logic.

LLM Providers: Abstracted interfaces for various providers, including OpenAI, Anthropic, xAI, Google Gemini, AWS Bedrock, and Ollama, allowing seamless switching without changing implementation logic.

Executors: The LLM executor takes an llm, a prompt, optionally a parser, and wraps in a well-typed function. An LLM executor is a container that can be used to call an LLM with a pre-defined input and output; with additional values provided at the time of execution. An LLM executor's input and output types are determined by the prompt and parser respectively.

Utilities: Helpers for common tasks such as prompt debugging, caching, and managing conversation state.

Here's how you might create a structured executor:

--- import { createLlmExecutor, createChatPrompt, createParser, useLlm } from 'llm-exe';

const llm = useLlm("openai.gpt-4o-mini");

const prompt = createChatPrompt<{input: string}>('Translate the phrase "{{input}}" into French, Spanish, and German, returning the results as an unordered markdown list.');

const parser = createParser('listToArray');

const translateExecutor = createLlmExecutor({ llm, prompt, parser });

// result is typed as string[]

// the input is also well-typed!

const result = await translateExecutor.execute({ input: "Hello, world!" });

console.log(result);

// Outputs: ["Bonjour le monde!", "¡Hola, mundo!", "Hallo, Welt!"] ---

Check out the documentation and more examples here: llm-exe.com. I'd love your feedback or contributions!

Comments

devfrankduah•9mo ago
This toolkit is a game-changer for anyone building LLM-powered applications in TypeScript. Its modular design—featuring structured prompts, parsers, and executors—makes it incredibly straightforward to create well-typed, maintainable workflows. The ability to switch between providers like OpenAI, Anthropic, and Google Gemini without altering your core logic is especially valuable. Highly recommended for developers aiming to streamline their LLM integrations.

USS Preble Used Helios Laser to Zap Four Drones in Expanding Testing

https://www.twz.com/sea/uss-preble-used-helios-laser-to-zap-four-drones-in-expanding-testing
1•breve•2m ago•0 comments

Show HN: Animated beach scene, made with CSS

https://ahmed-machine.github.io/beach-scene/
1•ahmedoo•2m ago•0 comments

An update on unredacting select Epstein files – DBC12.pdf liberated

https://neosmart.net/blog/efta00400459-has-been-cracked-dbc12-pdf-liberated/
1•ks2048•2m ago•0 comments

Was going to share my work

1•hiddenarchitect•6m ago•0 comments

Pitchfork: A devilishly good process manager for developers

https://pitchfork.jdx.dev/
1•ahamez•6m ago•0 comments

You Are Here

https://brooker.co.za/blog/2026/02/07/you-are-here.html
3•mltvc•10m ago•0 comments

Why social apps need to become proactive, not reactive

https://www.heyflare.app/blog/from-reactive-to-proactive-how-ai-agents-will-reshape-social-apps
1•JoanMDuarte•11m ago•1 comments

How patient are AI scrapers, anyway? – Random Thoughts

https://lars.ingebrigtsen.no/2026/02/07/how-patient-are-ai-scrapers-anyway/
1•samtrack2019•11m ago•0 comments

Vouch: A contributor trust management system

https://github.com/mitchellh/vouch
1•SchwKatze•11m ago•0 comments

I built a terminal monitoring app and custom firmware for a clock with Claude

https://duggan.ie/posts/i-built-a-terminal-monitoring-app-and-custom-firmware-for-a-desktop-clock...
1•duggan•12m ago•0 comments

Tiny C Compiler

https://bellard.org/tcc/
1•guerrilla•14m ago•0 comments

Y Combinator Founder Organizes 'March for Billionaires'

https://mlq.ai/news/ai-startup-founder-organizes-march-for-billionaires-protest-against-californi...
1•hidden80•14m ago•1 comments

Ask HN: Need feedback on the idea I'm working on

1•Yogender78•15m ago•0 comments

OpenClaw Addresses Security Risks

https://thebiggish.com/news/openclaw-s-security-flaws-expose-enterprise-risk-22-of-deployments-un...
1•vedantnair•15m ago•0 comments

Apple finalizes Gemini / Siri deal

https://www.engadget.com/ai/apple-reportedly-plans-to-reveal-its-gemini-powered-siri-in-february-...
1•vedantnair•16m ago•0 comments

Italy Railways Sabotaged

https://www.bbc.co.uk/news/articles/czr4rx04xjpo
3•vedantnair•16m ago•0 comments

Emacs-tramp-RPC: high-performance TRAMP back end using MsgPack-RPC

https://github.com/ArthurHeymans/emacs-tramp-rpc
1•fanf2•18m ago•0 comments

Nintendo Wii Themed Portfolio

https://akiraux.vercel.app/
1•s4074433•22m ago•1 comments

"There must be something like the opposite of suicide "

https://post.substack.com/p/there-must-be-something-like-the
1•rbanffy•24m ago•0 comments

Ask HN: Why doesn't Netflix add a “Theater Mode” that recreates the worst parts?

2•amichail•25m ago•0 comments

Show HN: Engineering Perception with Combinatorial Memetics

1•alan_sass•31m ago•2 comments

Show HN: Steam Daily – A Wordle-like daily puzzle game for Steam fans

https://steamdaily.xyz
1•itshellboy•33m ago•0 comments

The Anthropic Hive Mind

https://steve-yegge.medium.com/the-anthropic-hive-mind-d01f768f3d7b
1•spenvo•33m ago•0 comments

Just Started Using AmpCode

https://intelligenttools.co/blog/ampcode-multi-agent-production
1•BojanTomic•34m ago•0 comments

LLM as an Engineer vs. a Founder?

1•dm03514•35m ago•0 comments

Crosstalk inside cells helps pathogens evade drugs, study finds

https://phys.org/news/2026-01-crosstalk-cells-pathogens-evade-drugs.html
2•PaulHoule•36m ago•0 comments

Show HN: Design system generator (mood to CSS in <1 second)

https://huesly.app
1•egeuysall•36m ago•1 comments

Show HN: 26/02/26 – 5 songs in a day

https://playingwith.variousbits.net/saturday
1•dmje•37m ago•0 comments

Toroidal Logit Bias – Reduce LLM hallucinations 40% with no fine-tuning

https://github.com/Paraxiom/topological-coherence
1•slye514•39m ago•1 comments

Top AI models fail at >96% of tasks

https://www.zdnet.com/article/ai-failed-test-on-remote-freelance-jobs/
5•codexon•40m ago•2 comments