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.

NSH: One Module, Native Everywhere

https://nsh.dev/
1•ksec•1m ago•0 comments

Machines Read, Humans Sign: Code Review in One Year

https://www.hugo.im/posts/code-review-in-one-year/
1•hugomn•1m ago•0 comments

In 1960, scientists predicted the world would end on November 13, 2026

https://www.popsci.com/science/world-end-overpopulation-doomsday-november-2026/
1•wawayanda•1m ago•0 comments

iOS Jailbreaking Is Over: What It Means for Your Security Team

https://cellebrite.com/en/blog/ios-risk-for-mobile-app-developers-and-security-teams/
2•ronfriedhaber•1m ago•0 comments

PlanetScale Tin Became the Foundation for Layers Search

https://layers.engineering/how-planetscale-tin-became-the-foundation-for-layers-search-df5cd9997197
1•ksec•2m ago•0 comments

I built a "Claude Duet" by hand a year ago. Here's what Anthropic got right

https://botsinproduction.com/blog/claude-duet-review-from-someone-who-built-one-by-hand/
1•oi_ops•2m ago•0 comments

Show HN: Lalabase, self-hosted project management with an AI that cites sources

https://github.com/lalabase/lalabase
1•heurekamala•3m ago•0 comments

Search Engine for entry level jobs

https://entryleveljobs.co/search
1•entryleveljobsc•3m ago•0 comments

PHP2Shell: Two Critical PHP CVEs, Ten Node.js Bugs and a Compromised CA

https://www.youtube.com/watch?v=ej9lF5EfDgI
1•LebToki•3m ago•0 comments

Run LLMs Across Multiple Machines: Distributed Inference Guide for Your Homelab (2026)

https://lucasaguiar.xyz/posts/run-llm-distributed-inference-homelab-guide-2026/
1•isfttr•3m ago•0 comments

Examining the macOS GCC Binary

https://zoey-on-github.github.io/blog/macgcc.html
1•wondersky•4m ago•0 comments

FOSDEM'27 Accepted Developer Rooms

https://fosdem.org/2027/news/accepted-developer-rooms/
1•zmodem•4m ago•0 comments

Show HN: We ported FLA's Triton kernels to Jax Pallas; they're faster on H100

https://github.com/jla-org/jax-linear-attention
1•KarLexAI•5m ago•0 comments

Schrödinger's unpublished hidden-variable model [re] "Collapse of Determinism"

https://arxiv.org/abs/2610.20752
1•daoboy•6m ago•0 comments

My PostgreSQL is faster than yours and has almost caught up with ClickHouse

https://igor-suhorukov.github.io/blog/2026/10/21/my-postgresql-is-faster-than-yours/
1•wondersky•6m ago•0 comments

The AI workstation for professionals that keeps your data with you

https://ricuicui.com/en/articles/the-ai-workstation-for-professionals-that-keeps-your-data-with-you
4•contextetech•7m ago•0 comments

Show HN: Caudra – An open-source terminal coding agent in one native binary

https://github.com/caudra/caudra
1•netsroht•7m ago•0 comments

DraftKings to Sponsor CBS Election Night Coverage

https://www.status.news/p/cbs-draftkings-election-results-data
2•vrganj•7m ago•0 comments

Show HN: Inillucent – agentic db written in Rust that is 500% faster than SQLite

https://inillucent.com
3•blackrainbowlab•8m ago•1 comments

Show HN: Unspin – live per-step progress for Claude Code's shell commands

https://github.com/nkyriazis/unspin
2•nkyriazis•10m ago•1 comments

PhantomBuffer: Effective EDR Evasion Through Stealth Injection

https://www.zerosalarium.com/2026/10/PhantomBuffer-Effective-EDR-Evasion-Stealth-Injection.html
1•morethan_two•11m ago•0 comments

Bring Back the Cool Save File Screens

https://scabshack.lol/posts/bring-back-the-cool-save-file-screens
1•surprisetalk•11m ago•0 comments

Show HN: Php2ShellCheck – Python script that checks for vuln indicators

https://github.com/jgatka/php2shellcheck
2•ShredOnArrival•12m ago•0 comments

Show HN: FlipShake (A Mobile Reaction game for your wrists)

https://flipshake.fun/
1•finniansturdy•13m ago•0 comments

Show HN: UEP – open testnet reference for settlement without a common currency

https://github.com/UEPceo/UEP-Universal-Economic-Protocol
1•uepdev•13m ago•0 comments

Software Finds Its Natural Size

https://arbesman.substack.com/p/software-finds-its-natural-size
1•arbesman•13m ago•0 comments

Controversial US-backed vaccine trial in African newborns halted

https://www.theguardian.com/world/2026/oct/21/us-vaccine-trial-african-newborns-hepatitis-b
2•zzzeek•15m ago•0 comments

Show HN: Skillstore – Expert skills your coding agent fetches as it works

https://skillstore-jk.fly.dev/developers
3•jkkorn•15m ago•0 comments

Show HN: Hookman – One stable webhook URL that follows your preview branch

https://hookman.dev/
2•royletron•17m ago•1 comments

eMudhra to Exit Global SSL/TLS Certificate Business

https://emudhra.com/en/press-release/emudhra-to-exit-global-ssl-tls-certificate-business
2•bo0tzz•18m ago•0 comments