frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•7mo ago

Comments

llm-exe•7mo 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•7mo 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.

Configure automatic detection of work location in Microsoft Teams

https://learn.microsoft.com/en-us/microsoft-365/places/configure-auto-detect-work-location
1•TheDataMaverick•2m ago•0 comments

The Coupang data breach that hit two-thirds of South Korea

https://www.ft.com/content/df4042fa-3e56-410f-b905-4aed8fd434ac
1•zdw•7m ago•0 comments

Poor Johnny still won't encrypt

https://bfswa.substack.com/p/poor-johnny-still-wont-encrypt
2•zdw•9m ago•0 comments

Show HN: Flowctl – Self-service workflows with approvals and SSO. Single Binary

https://github.com/cvhariharan/flowctl
1•cv_h•13m ago•0 comments

New Google web ecosystem tools and partnerships

https://blog.google/products/search/tools-partnerships-web-ecosystem/
1•gmays•13m ago•0 comments

Show HN: OAuth-style authorization for AI agents

https://www.npmjs.com/package/@variant96/pia-sdk
1•Pukuta•15m ago•0 comments

Show HN: Ten Principles of Good Design

https://tonygaeta.com/labs/ten-principles-of-good-design
1•LightMorpheus•16m ago•0 comments

Coding Agents and Complexity Budgets

https://leerob.com/agents
1•tortilla•21m ago•0 comments

Physicians AI Report

https://2025-physicians-ai-report.offcall.com/
1•samuel246•23m ago•0 comments

Model Context Protocol (MCP) Support for Google Services

https://cloud.google.com/blog/products/ai-machine-learning/announcing-official-mcp-support-for-go...
1•manveerc•29m ago•0 comments

Show HN: Tandem – Real-time collaborative editor with AI attribution tracking

https://github.com/lmanchu/tandem/tree/v3
1•Lmanchu•30m ago•1 comments

UK developing urgent plan for conflict, minister says

https://ukdefencejournal.org.uk/uk-developing-urgent-plan-for-conflict-minister-says/
2•Bender•31m ago•0 comments

Show HN: Claude Code Recipes for Knowledge Workers (Open Source)

https://github.com/sgharlow/claude-code-recipes
2•sgharlow•32m ago•0 comments

Switzerland's Security Policy Strategy

https://www.news.admin.ch/en/newnsb/BLkWfUbUsXtBFoSj-krgU
2•samuel246•33m ago•0 comments

BoxLite Love AI agent – SQLite for VMs: embeddable AI agent sandboxing

https://github.com/boxlite-labs/boxlite
1•dorianzheng•46m ago•1 comments

Don't Build Agents, Build Skills Instead – Barry and Mahesh, Anthropic [video]

https://www.youtube.com/watch?v=CEvIs9y1uog
1•kerim-ca•50m ago•0 comments

Color Spaces, Gamuts, and Transformations

https://ari-atori.dev/articles/color-spaces-gamuts-and-transformations.html
1•todsacerdoti•52m ago•0 comments

Michael Jordan was a basketball legend. Now, he's one in NASCAR too

https://www.nytimes.com/athletic/6882918/2025/12/11/michael-jordan-nascar-settlement-trial-legend/
1•divbzero•54m ago•1 comments

Deno 2.6 and Socket: Supply Chain Defense in Your CLI

https://socket.dev/blog/deno-2-6-socket-supply-chain-defense-in-your-cli
2•feross•58m ago•0 comments

Battery storage hits $65/MWh, a tipping point for solar

https://electrek.co/2025/12/12/battery-storage-hits-65-mwh-tipping-point-solar/
6•toomuchtodo•1h ago•3 comments

EV sticker shock: Solo drivers using California carpool lanes face hefty fines

https://www.latimes.com/california/story/2025-12-01/ev-sticker-shock-solo-drivers-using-californi...
1•PaulHoule•1h ago•1 comments

Show HN: I made a grid that sizes your subscriptions by what they cost

https://visualize.nguyenvu.dev/
1•hoangvu12•1h ago•1 comments

UK Lords propose ban on VPNs for children

https://www.techradar.com/vpn/vpn-privacy-security/uk-lords-propose-ban-on-vpns-for-children
6•josephcsible•1h ago•0 comments

Google Removes Sci-Hub Domains from U.S. Search Results Due to Dated Court Order

https://torrentfreak.com/google-removes-sci-hub-domains-from-u-s-search-results-due-to-dated-cour...
21•t-3•1h ago•2 comments

Processing 630M More Pwned Passwords, Courtesy of the FBI

https://www.troyhunt.com/processing-630-million-more-pwned-passwords-courtesy-of-the-fbi/
1•LorenDB•1h ago•0 comments

Waymo: "Not yet a legal path to operating in New York"; NYC demo video

https://twitter.com/Waymo/status/1999620430970167481
3•tech234a•1h ago•0 comments

Cycle-accurate YM2149 PSG emulator

https://github.com/slippyex/ym2149-rs
1•todsacerdoti•1h ago•0 comments

The Coming Need for Formal Specification

https://benjamincongdon.me/blog/2025/12/12/The-Coming-Need-for-Formal-Specification/
3•todsacerdoti•1h ago•0 comments

.NET Wrapper for latest PCRE2 library

https://github.com/ltrzesniewski/pcre-net
2•hooge•1h ago•0 comments

Oliver Sacks fabricated key details in his books

https://boingboing.net/2025/12/12/oliver-sacks-fabricated-key-details-in-his-books.html
14•talonx•1h ago•2 comments