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

Comments

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

CERN Joins the OpenSearch Software Foundation as an Associate Member

https://opensearch.org/blog/cern-joins-the-opensearch-software-foundation/
1•Lunar5227•7m ago•0 comments

Show HN: Robust alternative to OpenClaw

https://github.com/opentalon/opentalon
2•opak•10m ago•0 comments

More Communities Like This?

1•ayorke•11m ago•0 comments

Show HN: Job Scraper for LinkedIn

https://chromewebstore.google.com/detail/job-scraper-for-linkedin/kkafipickfibnamoijjgamklecmmbbmf
1•qwikhost•11m ago•0 comments

Show HN: Agent Armor, a Rust runtime that enforces policies on AI agent actions

https://github.com/EdoardoBambini/Agent-Armor-Iaga
3•edoardobambini-•15m ago•2 comments

Coming Soon: Things That Matter in AI

https://www.technologyreview.com/2026/04/14/1135298/coming-soon-10-things-that-matter-in-ai-right...
1•joozio•16m ago•0 comments

AI Tremor-Print: Biometric Identification System

https://github.com/peterretief/biometric
1•peter_retief•16m ago•1 comments

Allbirds stock sees a wild surge of 582% on pivot from sneakers to AI

https://www.businessinsider.com/allbirds-stock-price-ai-newbird-gpus-compute-gpuaas-bird-shoes-20...
1•outlore•16m ago•0 comments

RIP Pull Requests (2005-2026)

https://www.latent.space/p/ainews-rip-pull-requests-2005-2026
1•swyx•18m ago•0 comments

JIT Compilers and Cache Coherency

https://joelsiks.com/posts/jit-compilers-and-cache-coherency/
2•joelsiks•25m ago•0 comments

AI Eyebrow Filter: Try Eyebrow Editor Online – AILab Tools

https://www.ailabtools.com/eyebrow-filter
1•minimk•26m ago•0 comments

EU age verification app ready as Europe moves to curb kids' social media access

https://www.reuters.com/world/eu-age-verification-app-ready-europe-moves-curb-childrens-social-me...
2•taubek•33m ago•0 comments

A Black-Box Contract Engine for Agentic Software Development

https://github.com/elmacnifico/dojo
1•feedyourhead•37m ago•0 comments

Lovable vs. Bolt vs. Replit: who's leaking the most Supabase data?

https://securityscanner.dev/blog/lovable-vs-bolt-vs-replit-rls
4•slederer•38m ago•0 comments

Leonardo, Borgia, and Machiavelli: A Fateful Collusion

https://www.historytoday.com/archive/leonardo-borgia-and-machiavelli-fateful-collusion
1•apollinaire•40m ago•0 comments

Eustella: We reinvent ChatGPT for Europeans, with OpenClaw in mind

https://eustella.com
1•doener•42m ago•1 comments

The Elegant Laminar Flow of Moroccan Tea [video]

https://www.youtube.com/watch?v=rB5jpFHq06w
1•user070223•44m ago•1 comments

From Idea to Deployed App: Full Laravel Workflow with LaraCopilot

https://laracopilot.com/blog/idea-to-deployed-app/
1•laracopilotai•47m ago•0 comments

I made an MVP in one day

https://diegolopez.dev/2026/04/15/i-made-an-mvp-in-one-day/
2•diegolopd•51m ago•0 comments

AI Data Residency: When Cloud APIs Don't Meet Your Compliance Requirements

https://substack.com/home/post/p-194377303
1•morleymedia•54m ago•0 comments

The New Window

1•claudecarlyle•54m ago•0 comments

The Mathematics of Tetris (2011)

https://math.stackexchange.com/questions/80246/the-mathematics-of-tetris
1•downbad_•55m ago•1 comments

What Is WebAssembly? (2015)

https://medium.com/javascript-scene/what-is-webassembly-the-dawn-of-a-new-era-61256ec5a8f6
2•downbad_•57m ago•1 comments

I Let Claude Opus Write a Chrome Exploit

https://www.hacktron.ai/blog/i-let-claude-opus-to-write-me-a-chrome-exploit
1•svenfaw•59m ago•0 comments

Building agent skills: Intent, determinism, and stability

https://alexhans.github.io/posts/series/evals/building-agent-skills-incrementally.html
1•pramodbiligiri•59m ago•0 comments

The OSRS Botting Problem Is Architectural

https://nemo.foo/blog/osrs-botting-problem-is-architectural
2•nemofoo•1h ago•0 comments

Modern Games Look on CRT Monitors

https://www.youtube.com/watch?v=U3K_BmIxh_0
1•tiziano88•1h ago•0 comments

Gemini 3.1 Flash TTS

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-3-1-flash-tts/
1•langitbiru•1h ago•0 comments

Alpine.js X-Data: A Surprisingly Capable State Manager

https://www.budgetflow.cc/blog/alpine-js-x-data-a-surprisingly-capable-state-manager
1•mkrd•1h ago•0 comments

Security.ubuntu.com Is Down

https://status.canonical.com/#/incident/KNms6QK9ewuzz-7xUsPsNylV20jEt5kyKsd8A-3ptQG-0Dp5D6IWR-Dw5...
2•whalesalad•1h ago•0 comments