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.

An AI agent harassed a Matplotlib maintainer. We're asking the wrong question

https://chaosguru.substack.com/p/who-opened-the-door
1•allixsenos•5m ago•0 comments

Show HN: Pangolin: Open-source identity-based VPN (Twingate/Zscaler alternative)

https://github.com/fosrl/pangolin
2•miloschwartz•15m ago•0 comments

Show HN: I built a map where anyone can rename anything

https://rename.world/
4•kafked•17m ago•0 comments

What Happens After the Hero? The Section That Decides If Users Stay

https://www.indiehackers.com/post/what-happens-after-the-hero-the-section-that-decides-if-users-s...
1•allinonetools_•19m ago•0 comments

A Pokémon of a Different Color

https://matthew.verive.me/blog/color/
1•Risse•25m ago•0 comments

France assembles magistrate team to examine 'Epstein files'

https://www.dw.com/en/epstein-files-france-investigation-magistrates/a-75975774
1•pera•25m ago•0 comments

Show HN: Manga Viewer – Zero-dep manga/comic reader in vanilla JavaScript

https://github.com/tokagemushi999/manga-viewer
2•tokagemushi•28m ago•0 comments

AI to stay in Flow – a personal decision on how I chose to (not) use AI

https://www.dev-log.me/ai_to_stay_in_flow/
1•wazHFsRy•31m ago•0 comments

AI Agent Lands PRs in Major OSS Projects, Targets Maintainers via Cold Outreach

https://socket.dev/blog/ai-agent-lands-prs-in-major-oss-projects-targets-maintainers-via-cold-out...
1•choult•32m ago•0 comments

Starflight

https://en.wikipedia.org/wiki/Starflight
1•tosh•32m ago•0 comments

Storepage – I'm a tool builder making app launch pages less painful

https://storepage.app
1•scaleinitiative•34m ago•1 comments

Show HN: Visual state tracking for AI agents in tmux

https://github.com/accessd/tmux-agent-indicator
1•accessd•40m ago•0 comments

Former teen superstar James Van Der Beek needed help to pay his medical bills

https://www.bbc.com/news/articles/cx2dw01p7k8o
1•breve•44m ago•0 comments

The great computer science exodus (and where students are going instead)

https://techcrunch.com/2026/02/15/the-great-computer-science-exodus-and-where-students-are-going-...
1•e2e4•44m ago•0 comments

Show HN: Addictive little browser game involving gravity

https://retroburn.space/
1•amiralul•44m ago•0 comments

Paper Plotter

https://felixboiii.github.io/paper-plotter/#create-function
2•Tomte•45m ago•0 comments

Orjson no more open issue tracker or pull requests due to signal-to-noise ratio

https://github.com/ijl/orjson
1•anutrix•45m ago•1 comments

Learning Lean: Part 1

https://rkirov.github.io/posts/lean1/
2•vinhnx•45m ago•0 comments

How I made $2.5K in 4 days selling a SaaS boilerplate for OpenClaw wrappers

https://clawwrapper.com
1•omridan159•47m ago•1 comments

Understanding the Go Runtime: The Bootstrap

https://internals-for-interns.com/posts/understanding-go-runtime/
2•birdculture•47m ago•0 comments

Guthrie video delayed by difficult data recovery, privacy advocates worry

https://www.reuters.com/world/guthrie-doorbell-video-delayed-by-difficult-data-recovery-privacy-a...
2•cobbzilla•47m ago•1 comments

Show HN: Ventoux – get insights into your FIT activities

https://codeberg.org/eikek/ventoux
1•eikek•49m ago•0 comments

Sammy Jankis – an autonomous agent by Jason Rohrer

https://sammyjankis.com/
1•jdietrich•55m ago•0 comments

Arrays in Forth

https://www.forth.org/svfig/Len/arrays.htm
3•tosh•57m ago•0 comments

Show HN: Claude Extender – Autonomous Agent Management for Claude Code

https://github.com/wbnns/cx
1•wbnns•59m ago•1 comments

Peloton Revenue Falls on Declining Subscriptions and CFO Leaves

https://www.wsj.com/business/earnings/peloton-revenue-falls-on-declining-subscriptions-as-cfo-lea...
1•KnuthIsGod•1h ago•1 comments

Lit: Version control where prompts are the source

https://clintonboys.com/projects/lit/
1•mtsolitary•1h ago•0 comments

AI CMO

https://ai-cmo.net/
2•lunaberry•1h ago•0 comments

Show HN: Minisft – from base model to chat model

https://github.com/onurkanbakirci/Llama-2-7b-oasst-sft
1•onurkanbkrc•1h ago•0 comments

The Sacred Ass Life Course

https://sacredass.com/
1•ZguideZ•1h ago•1 comments