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.

Hokum: Notifications for Wayland

https://hokum.app/
1•droidjj•2m ago•0 comments

The world's largest ad company had a bad quarter selling ads

https://www.wsj.com/tech/ai/alphabet-googl-q3-earnings-report-2026-stock-fa41392d
1•bigwheels•2m ago•0 comments

Jerry Rig Everything Trump phone tear down [video]

https://www.youtube.com/watch?v=5O-vCJW1b8g
1•testing22321•2m ago•0 comments

Computational Intractability: A Guide to Algorithmic Lower Bounds

https://hardness.mit.edu/
1•matteodelabre•3m ago•0 comments

Show HN: ThreadShelf – Obsidian and AI chats: vector search, MCP, llama.cpp

https://github.com/ChrystianSchutz/ThreadShelf
1•chrystianpl•6m ago•0 comments

Show HN: The Best Lightbox Component Out There

https://github.com/frontendsupply/lightbox
1•dgknca•8m ago•0 comments

Hs-bindgen playground: Paste a C header, get Haskell bindings

https://bindgen.well-typed.com
1•MrBuddyCasino•8m ago•0 comments

GuessHog Game

https://guesshog.posthog.com/
1•rbaudibert•11m ago•0 comments

The Race to Build Agents for Hospitals

https://www.outofpocket.health/p/the-race-to-build-hospital-agents
1•rafaelc•12m ago•0 comments

Alphabet's free cash flow sinks further, Q3 capex expectations miss

https://www.cnbc.com/2026/10/28/alphabet-googl-earnings-q3-2026.html
1•Betelbuddy•12m ago•0 comments

Microsoft Announces FY27 Q1 Results

https://www.microsoft.com/en-us/investor/earnings/fy-2027-q1/press-release-webcast
2•mfiguiere•13m ago•0 comments

AI for Science expands to foundations and institutions

https://www.anthropic.com/news/ai-for-science-expands-foundations-research-institutions
1•surprisetalk•14m ago•0 comments

Vercel CI

https://vercel.com/blog/introducing-vercel-ci
2•jlaneve•14m ago•0 comments

Show HN: Race Radar – HYROX ticket alerts, run day to day by an AI CEO

https://raceradar.fit/
1•greatrat000•14m ago•0 comments

Hermit: A uniform framework for harness and agent evolution

https://github.com/Infini-AI-Lab/hermit
1•hzzheng42•14m ago•0 comments

PullBull – GitHub PRs, issues and Projects boards in the macOS menu bar

https://github.com/rustycamper/pullbull
1•rustycamper•14m ago•0 comments

One step closer to offline payments

https://twitter.com/sxtvik/status/2115165546131947834
1•kivtxs•15m ago•0 comments

Alphabet Announces Third Quarter 2026 Results [pdf]

https://s206.q4cdn.com/479360582/files/doc_financials/2026/q3/2026q3-alphabet-earnings-release.pdf
24•mfiguiere•17m ago•3 comments

What is a good option for my app's data architecture?

https://github.com/cuadratico/NowiLink
1•cu6dr6t1c0•18m ago•0 comments

Uncle Murray, the talking skeleton programmed by a 9-year-old girl

https://19thnews.org/2026/10/girl-programmer-talking-skeleton-uncle-murray-halloween/
2•rhaynes•18m ago•0 comments

Google AI gets cagey when asked who won the 2020 elections

https://arstechnica.com/ai/2026/10/google-ai-gets-cagey-when-asked-who-won-the-2020-elections/
3•jacquesm•19m ago•3 comments

US-owned trans-Pacific cables face growing risks from sabotage and China

https://arstechnica.com/gadgets/2026/10/google-and-meta-subsea-cables-among-most-at-risk-from-sab...
2•jaredwiener•21m ago•0 comments

GPU database HeavyAI (formerly MapD) is now open source

https://twitter.com/ToddMostak/status/2115528541081399636
1•tmostak•21m ago•0 comments

Hardware Crackmes: 100 GameBoy Advance Games

https://remyhax.xyz/posts/gba-cheat-crackmes/
1•jerrythegerbil•22m ago•0 comments

Delete your back end, Your whole stack, inside Postgres

https://btholt.github.io/postgres-talk-delete-your-backend/
1•mariuz•22m ago•0 comments

Radiation Map of the World

https://radiaverse.com/
1•slater•23m ago•0 comments

Show HN: A visual map of related food dishes from around the world

https://tangledtaste.com/
1•agendreau•23m ago•0 comments

Mary Peltola's Alaska Senate campaign reportedly recruited second Dan Sullivan

https://www.theguardian.com/us-news/2026/oct/28/mary-peltola-dan-sullivan-alaska-senate
1•NewJazz•24m ago•2 comments

MIST – a tool pairing SAST and Fuzzing for smarter Bug Hunting

https://github.com/alessandroPalazzolo/mist
1•alessandroroche•24m ago•0 comments

TinyBubbles – TinyGo Displayer Back End and Widgets for BubbleTea

https://github.com/NimbleTerminal/TinyBubbles
1•iamnothere•25m ago•0 comments