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.

Reddit Self-Promotion Rules

https://redship.io/blog/reddit-self-promotion-rules
1•nizarmah•24s ago•0 comments

Running Qwen3.8 at 255 tok/s on a single 5090

https://meshapplied.com
1•Ir0n•1m ago•0 comments

Show HN: Sugabots – Group chats where your team and AI agents work together

https://sugabots.ai/
1•homelessdino•5m ago•0 comments

California Billionaire Tax Fight: Newsom Backs Prop. 42

https://discord.com/channels/1519570089488289956/1522069205795606650/1559414533104074774
1•joeymabia1•5m ago•2 comments

Ask HN: How long before someone reverse-engineers Windows?

1•cromka•6m ago•0 comments

The reverts will continue until morale improves

http://peter.eisentraut.org/blog/2026/10/09/the-reverts-will-continue-until-morale-improves
1•debo_•9m ago•0 comments

Show HN: Enki LLM A pure rust (even kernels) with live GPU/CPU brain migration

https://github.com/enkiruntime/enki_llm
2•enki_runtime•9m ago•0 comments

Muse Wonder(Non-Full) Max Is Below Muse Spark 1.3 Max on Code Arena: WebDev

https://twitter.com/arena/status/2110120205464846828
1•hugh4life•12m ago•1 comments

SF Housing Simulator

https://sfhousing.mindlace.net/
2•forthwall•15m ago•0 comments

The First Social Network: In rural Argentina residents send messages w AM radio

https://www.newyorker.com/magazine/2026/10/19/the-first-social-network
1•bookofjoe•15m ago•1 comments

HCP Vagrant Deprecation

https://www.hashicorp.com/en/blog/hcp-vagrant-deprecation-important-dates-and-migration-guidance
2•mikelr•16m ago•0 comments

Nix and Lix local root-privilege-escalation vulnerabilities

https://lwn.net/Articles/1100247/
1•debo_•21m ago•0 comments

Investing in Short AI Timelines

https://cambrianmanagement.ai/
1•lukaspetersson•21m ago•0 comments

Climate change driving child marriages and teen pregnancies

https://www.rfi.fr/en/environment/20261005-climate-change-driving-child-marriages-teen-pregnancie...
1•bilsbie•22m ago•0 comments

The lowest level of programming isn't assembly or machine code, it's microcode

https://www.reddit.com/user/SufianDira/comments/1wujz80/the_lowest_level_of_programming_isnt_asse...
1•SufianDira•25m ago•0 comments

OpenAI engineer accused of planting listening device inside company's office

https://www.cbc.ca/news/world/open-ai-listening-device-fbi-9.7379357
2•uladzislau•26m ago•1 comments

Investigating unintended model actions in our evaluations and internal use

https://www.anthropic.com/research/investigating-unintended-model-actions
1•gmays•29m ago•0 comments

The Planner's Pledge

https://plannerspledge.org/
1•thomasjb•31m ago•0 comments

Musk now working on the "Distributed Inference Cloud"

https://twitter.com/SawyerMerritt/status/2110118022988058637
3•bigwheels•32m ago•1 comments

TV's Kill Voice Agents

https://twitter.com/_josh_meyer_/status/2110043334182043658
1•jrm-veris•32m ago•0 comments

AlphaNIST

https://alpha-nist.github.io/
1•jasonjmcghee•35m ago•0 comments

Physical Intelligence API Beta: Frontier Models for Every Robot

https://www.pi.website/blog/api-beta
1•modeless•37m ago•0 comments

Show HN: Florida HOAs are stealing homes

https://hoaspy.com/hoa/fl/south-florida-hoa-statistics.html
3•lovewins•38m ago•0 comments

Nexus-Q: un motor open source de Rust para PQC

https://nexus-q.link/
2•ManuelAxiom•38m ago•0 comments

Digital Money, Cash, Silver, and Gold as of 2015

https://www.grandpappy.org/edigital.htm
2•Eaglo•38m ago•1 comments

Cornell Bans Fraternity Parties

https://www.nytimes.com/2026/10/13/nyregion/cornell-sexual-assault-fraternity-party-ban.html
2•paaloeye•40m ago•1 comments

Show HN: UpDown – free multiplayer Markdown documents

https://updown.laravel.cloud/059a14a0-9113-4fad-a9db-e8ef2d2e830c
1•simonhamp•43m ago•1 comments

Open source Scion – Anthropic's Git alternative in open source

https://github.com/tinyhumansai/openscion
3•gafoor•46m ago•0 comments

Chained Exploitation of Ivanti Connect Secure Zero-Days

https://www.volexity.com/blog/2026/10/13/a-series-of-unauthenticated-events-chained-exploitation-...
1•wondersky•49m ago•0 comments

New 'Super Ice' 10 Times Stronger, Bringing It Close to the Strength of Concrete

https://www.sciencealert.com/a-new-super-ice-is-10-times-stronger-bringing-it-close-to-the-streng...
4•andrewl•50m ago•1 comments