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.

Show HN: A quarterly check-in for co-founders, as a conversation game

https://www.seesaw.social/library/co-founders
1•diongeorge•51s ago•1 comments

I map your startup's external attack surface using passive OSINT

https://www.upwork.com/freelancers/~012e8c00af123f6297?p=2055652710620958720
1•busraugur•3m ago•0 comments

Completion is a Substrate, not a UI

https://www.chiply.dev/post-icr-primer
1•noelwelsh•5m ago•0 comments

Next 100 Days: Xbox Reset

https://news.xbox.com/en-us/2026/06/10/next-100-days-xbox-reset/
1•Tomte•6m ago•0 comments

np.reddit.com now redirects to www.reddit.com

2•kevinwang•7m ago•1 comments

Untrusted Impersonation of the Project at Simplescreenrecorder.com

https://github.com/MaartenBaert/ssr/issues/1086
1•notpachet•10m ago•0 comments

Vinod Khosla: We will need a new tax code for the wealth AI creates

https://www.ft.com/content/b277360e-bf23-4366-afd7-acab940f66b7
3•marojejian•12m ago•1 comments

NeuroMemor –- open source Python AI

https://github.com/erabytse/NeuroMemor
1•takouzlo•12m ago•0 comments

Show HN: Single Access Memory – Write in Markdown, read once, watch it dissolve

https://single-access-memory.onrender.com/
1•AnonymousThree•12m ago•0 comments

The Download: soccer's data Renaissance and China's big nuclear plans

https://www.technologyreview.com/2026/06/11/1138809/the-download-soccer-football-data-analytics-c...
1•joozio•12m ago•0 comments

Degree apprenticeships in engineering, do they exist?

1•adamofeden•14m ago•1 comments

What Is a Vertical Tab?

https://stackoverflow.com/questions/3380538/what-is-a-vertical-tab
2•basilikum•14m ago•0 comments

The First Taste Is Free

https://atlasprimeai.substack.com/p/the-first-taste-is-free
1•atlasprimeai•18m ago•0 comments

Homebrew CPU

https://www.homebrewcpu.com/
3•hggh•20m ago•0 comments

Secure Self-Hosted Infrastructure

https://app.localmail.uk/
1•peter_retief•21m ago•0 comments

Fable 5 Ported the Ladybird Browser to WebAssembly in One Shot and It Cost $552

https://twitter.com/HeyPuter/status/2065114471589089729
4•ent101•21m ago•1 comments

Ultimatum: Warrant Requirement or Bust

https://www.eff.org/deeplinks/2026/06/702-ultimatum-warrant-requirement-or-bust
1•Brajeshwar•21m ago•0 comments

CCTV – See which Claude Code agent needs you, from the menu bar

https://github.com/manelrv/CCTV
2•manelrv•22m ago•0 comments

Meta Deletes Face-Recognition System from Its Smart Glasses App

https://www.wired.com/story/meta-removes-face-recognition-code-meta-ai-app-smart-glasses/
1•ameypandey•24m ago•0 comments

Visa Vulnerability Agentic Harness for Project Glasswing

https://github.com/visa/visa-vulnerability-agentic-harness
2•guessmyname•25m ago•0 comments

The only scalable delete in Postgres is DROP TABLE

https://planetscale.com/blog/the-only-scalable-delete
1•hollylawly•25m ago•0 comments

Show HN: Not Another Vibe-Coded YouTube Playlist Creator

https://skipvids.com/generateplaylist
1•01jonny01•26m ago•0 comments

AI is eating your moat

https://josepvidal.dev/blog/ai-is-eating-your-moat
3•jvidalv•28m ago•2 comments

Axross – multiprotocol and30 Qt filemanager for Linux

https://pypi.org/project/axross/
1•dash0r•29m ago•1 comments

Making a better Social Media

https://amrshawky.com/posts/making-a-better-social-media/
1•amr_shawky•29m ago•0 comments

El Niño forms in Pacific as experts say it will likely turbocharge extreme wx

https://www.theguardian.com/us-news/2026/jun/11/el-nino-forms-historic-strength
4•howard941•30m ago•0 comments

An Agent Holds the Fort: Three Days of Autonomous Compiler Work

https://rue-lang.dev/blog/an-agent-holds-the-fort/
1•pekim•31m ago•0 comments

Which AI prototyping tools can export a self-contained HTML file?

https://productnow.ai/blogs/extracting-html-from-ai-prototyping-tools
1•kadhirvelm•32m ago•1 comments

Show HN: AgentStore – a self-hosted datastore for AI agent teams

https://github.com/guyweissman/agentstore
1•guyweiss•33m ago•0 comments

Dealership revoked offer to buy back customer's BMW, blaming wayward AI chatbot

https://www.cbc.ca/news/business/ai-chatbot-bmw-dealership-9.7230226
5•cf100clunk•35m ago•2 comments