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.

The Rulers of the World Have Ticker Symbols

https://thesovereigncapitalist.io/state-capitalism-index/
1•StuntPope•1m ago•0 comments

Hoard – A game save sync and backup where 10 save of a 2 GB size cost 2 GB

https://hoard.services/
1•insaideh•1m ago•1 comments

Show HN: A fullscreen Game of Life in which every board is a runnable program

https://bobbby.online/piet/tiles
1•rhgraysonii•3m ago•0 comments

ZUMA Press

https://www.zumapress.com/aboutzuma/overview.html
1•skibz•3m ago•0 comments

Show HN: Sibuna an open source web application firewall with proof of work

https://github.com/insanai/sibuna
1•vikrantrathore•8m ago•0 comments

The engineering habits that gave Dirac an edge as a physicist

https://www.engineerhistory.com/p/the-engineering-habits-that-gave
1•tylerdane•13m ago•1 comments

Lobbying Is Corruption

https://discuss.google.dev/t/trusted-automation-with-google-antigravity-scaling-secure-finance-in...
1•thetechnogman•14m ago•1 comments

Replacing pyinstaller with 100 lines of code

https://tush.ar/post/packaged/
1•ankitg12•14m ago•0 comments

Being mean to Claude could get you banned as Anthropic introduces new rules

https://www.techspot.com/news/114153-mean-ai-could-get-you-banned-anthropic-introduces.html
1•akyuu•15m ago•0 comments

Orangutan mothers seek out playmates for young

https://www.mpg.de/27017124/orangutan-mothers-seek-out-playmates-for-young
3•gmays•16m ago•0 comments

2025-10-10 front – Hacker News

https://news.ycombinator.com/front?day=2025-10-10
1•ankitg12•17m ago•0 comments

No One Lives Forever decompiled source code

https://github.com/nolffan/nolfsrc
2•nolffan•17m ago•2 comments

Python 3.15

https://astral.sh/blog/python-3.15
1•NavinF•18m ago•0 comments

Why Drug Trafficking Is Now Almost a Human Right in Canada

https://www.city-journal.org/article/canada-drug-trafficking-ruling
1•donsupreme•18m ago•0 comments

Why Alberta farmers are suddenly demanding tractors they can fix themselves

https://www.begiant.ca/stories/ideas/ursa-ag-right-to-repair-tractors
1•rdmuser•19m ago•0 comments

Claude Code and Codex break on different MCP features

https://m3.sineframe.com/blog/claude-code-vs-codex-mcp
1•stag•19m ago•0 comments

5-MeO-DMT sometimes cancels the Ebbinghaus illusion

https://psychotechnology.substack.com/p/5-meo-dmt-sometimes-cancels-the-ebbinghaus
2•eatitraw•20m ago•0 comments

Westermarck Effect

https://en.wikipedia.org/wiki/Westermarck_effect
2•chistev•21m ago•0 comments

Enrico Fermi's 125th birthday: Bring Fermi Poker to your school or university

https://fermi.org/
1•danielfetz•22m ago•1 comments

PVX-001: open-source Covid-19 vaccine starts Phase 1 trial

https://chronicles.popvax.com/p/popvax-goes-clinical
3•jajoosam•24m ago•0 comments

Synthetic corporate dataset – 1M and 10M emails and calendar events

https://huggingface.co/sinabis-group
1•sinabis_1•24m ago•1 comments

Voice Dictation for Linux that learns as you speak

https://voiceio.dev/
2•montenegrohugo•26m ago•2 comments

Dialer applications can be exploited to achieve 1-click MMI execution in Android

https://karansaini.com/mmi-android/
1•dverlaeckt80•27m ago•0 comments

MailCheap: Self-hosted newsletters on Amazon SES. About $0.10 per 1k emails

https://github.com/marclou/mailcheap
1•tosh•28m ago•0 comments

Tom Brown used GOP ties to broker a $1.25B/month SpaceX compute deal

https://wsj.com/tech/ai/tom-brown-athropic-669005ad
2•utiiiD•30m ago•0 comments

The Missing Piece in Rust Error Handling

https://mcmah309.github.io/posts/the-missing-piece-in-rust-error-handling/
1•lukastyrychtr•31m ago•0 comments

Enzo's – AI home search that shows cap rate and flags overpriced homes

https://enzos.ai/
1•nicomontuschi•31m ago•0 comments

Is Anthropic a Good Business?

https://www.polymathinvestor.com/p/is-anthropic-a-good-business
1•rwmj•33m ago•0 comments

FDA may allow some toxic chemicals to be added to food without safety review

https://www.theguardian.com/us-news/2026/oct/10/fda-toxic-chemicals-food-analysis
4•NewJazz•34m ago•0 comments

I tested whether AI agents obey text you never see. 4 of 8 did, every time

https://smallprint.dev/blog/one-sentence-four-of-eight-agents
1•nickcosta•35m ago•0 comments