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.

Tiny model, full provenance – Apache Sourcelume

https://rai.apache.org/blog/tiny-model-full-provenance.html
1•qainsights•31s ago•0 comments

A hand-picked gallery of AI-generated motion graphics and their prompts

https://motioncrackers.com
1•Adam-Hincu•55s ago•0 comments

Show HN: Misery in America

https://sightspinner.ai/blog/misery-in-america-2026-10-28.html
1•sightspinner•3m ago•1 comments

Show HN: I built Trvlrr, home for all your

https://trvlrr.app/
1•sanjaybhagia•4m ago•0 comments

Amazon defines the role of the developer in the age of AI

https://www.aboutamazon.com/news/company-news/amazon-software-engineer-role-guideline-ai
2•emot•11m ago•0 comments

Shitty Screenshare

https://shittyscreenshare.com/
1•birdculture•14m ago•0 comments

Can Gambia vs. Myanmar Help Establish Genocidal Intent in Russia's Ukraine War?

https://www.justsecurity.org/161466/icj-myanmar-genocidal-intent-russias-war-ukraine/
1•beansovertoast•15m ago•0 comments

Show HN: A visual explainer tracing an LLM API request to the GPU and back

https://github.com/sujee/visual-stories/tree/main/projects/tracing-llm-api-request
1•sujee_dev•16m ago•0 comments

Plex "laid off the player team" what is the industry doing to developers?

https://samueleast.co.uk/playground/laid-off-from-plex-60-days-in
1•healsdata•19m ago•0 comments

New AI-powered mosquito trap could help curb dengue outbreaks

https://www.usf.edu/news/2026/new-ai-powered-mosquito-trap-could-help-curb-dengue-outbreaks.aspx
1•gmays•20m ago•0 comments

AI Phone

https://github.com/oxnw/ai-phone
1•handfuloflight•20m ago•0 comments

Cue – A daily notes and to-do app for Mac and iPhone

https://github.com/zlwaterfield/cue
1•zlwaterfield•22m ago•0 comments

A New Dwarf Planet (Probably) Spotted Beyond Pluto

https://www.nytimes.com/2026/10/27/science/space/new-dwarf-planet-beyond-pluto.html
1•mrjaeger•29m ago•1 comments

Toad Venom Nose Spray Quickly Eases Depression for Weeks in Clinical Trial

https://www.sciencealert.com/scientists-tested-a-toad-venom-psychedelic-on-treatment-resistant-de...
1•gmays•30m ago•1 comments

New Agentic security tool detects shuts down hackers on autopilot

https://argusone.website
13•wearehumxn•31m ago•2 comments

Ukraine is arming war robots with grenade launchers to hit the Russians

https://www.businessinsider.com/ukraine-robots-use-grenade-launchers-to-fire-without-risking-sold...
3•beansovertoast•32m ago•0 comments

'Forced out': HOA fees to rise to $2,500 a month

https://www.wsoctv.com/news/local/forced-out-hoa-fees-rise-7500-month/XCW2HIHUKNBMTNWVQSYXQZJCY4/
1•hippich•36m ago•0 comments

Agent Harness for Learning Things [video]

https://www.youtube.com/watch?v=nfTDljFG2g0
1•rice7th•40m ago•0 comments

Capturing and replaying real database workloads at Airbnb

https://medium.com/airbnb-engineering/beyond-synthetic-testing-capturing-and-replaying-real-datab...
1•shcallaway•41m ago•0 comments

Create your own Jev using Voyage models

https://blog.voyageai.com/2026/10/27/how-to-create-your-own-jev-using-voyage-models/
1•fzliu•43m ago•1 comments

Redirect Audit – Check how HTTP/HTTPS/www variants and bots get redirected

https://redirectaudit.com/
1•zamilist•45m ago•0 comments

Rubin Observatory reveals its first dwarf planet candidate in our solar system

https://www6.slac.stanford.edu/news/2026-10-27-nsf-doe-vera-c-rubin-observatory-reveals-its-first...
1•consumer451•45m ago•0 comments

Nice Little Satellite You Got Here. Shame If Anything Were to Happen to It

https://streetwiseprofessor.com/nice-little-satellite-you-got-here-shame-if-anything-were-to-happ...
3•jacquesm•48m ago•0 comments

Ferring to acquire ovary-in-a-dish startup Gameto for up to $1.38B

https://endpoints.news/ferring-to-acquire-ovary-in-a-dish-startup-gameto-for-up-to-1-38b/
1•wslh•48m ago•0 comments

Show HN: VelaTrace KiCad plugin: Catch PCB mistakes before you order the board

https://forum.kicad.info/t/velatrace-plugin-a-linter-for-kicad-boards-that-catches-mistakes-befor...
1•a2-_•49m ago•1 comments

Cloudflare Computer helps agents recover from interruption and wait for approval

https://developers.cloudflare.com/changelog/post/2026-10-26-computer-durable-javascript/
1•gmays•51m ago•0 comments

Show HN: Better Backlog: Filter GitHub issues with decision models

https://github.com/BerriAI/better-backlog
1•mfkhalil•52m ago•2 comments

OEIS sequence A400000: The city-building sequence

https://oeis.org/A400000
1•rahidz•59m ago•1 comments

Show HN: Guess what frontier LLMs do in a repeated prisoner's dilemma

https://thenunchiproject.com/game/ai-decides
4•masterofarbs•1h ago•0 comments

Harley-Davidson Wanted an Electric Revolution. That Dream Is in Trouble

https://www.wsj.com/business/autos/harley-davidson-wanted-an-electric-revolution-that-dream-is-in...
1•bookofjoe•1h ago•2 comments