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.

The Cloud Is Just Someone Else's Computer – They Let It Burn

https://soargram.io/content/369523282
2•levicanskij•1m ago•0 comments

Show HN: Mapboard – Excalidraw, but on a Map

https://mapboard.bruceroettgers.eu/
1•bcye•2m ago•0 comments

Robot startup cant pay staff after founder takes $4.6M from company to buy home

https://www.cnbc.com/2026/11/14/foundation-payroll-ceo-loan.html
2•randycupertino•3m ago•1 comments

Anthropic: Mythos got Claude running on AMD chips in 3 days instead of months

https://madrobot.blog/2026/11/11/anthropic-mythos-claude-amd-chips-three-days/
3•_Microft•4m ago•0 comments

Scientists Identified a Biological Signature of Tinnitus, and It's in Your Blood

https://www.sciencealert.com/scientists-identified-a-biological-signature-of-tinnitus-and-its-in-...
1•amichail•4m ago•0 comments

Lustro by Ligatum

https://github.com/Ligatum/Lustro
1•atomU235•5m ago•1 comments

LLMs: Do the Benefits Outweigh the Costs?

https://staydecent.ca/blog/on-llms-do-the-benefits-outweigh-the-costs/
1•cickpass_broken•6m ago•0 comments

How to Create Your Own Decentralized Messenger Protocol

https://karboosx.net/post/5j7jdDM3/how-to-create-your-own-decentralized-messenger-protocol
3•fagnerbrack•11m ago•0 comments

The first unofficial native PS5-to-PC game port has arrived

https://overclock3d.net/news/software/the-first-unofficial-native-ps5-to-pc-game-port-has-arrived/
2•TechTechTech•12m ago•0 comments

Italy fines Meta €805M over photo privacy

https://www.rapporteur.com/news/italy-fines-meta-880mn-over-photo-privacy-authority/
3•jruohonen•12m ago•0 comments

Held–Karp Algorithm

https://en.wikipedia.org/wiki/Held–Karp_algorithm
1•vismit2000•13m ago•0 comments

Smuggling of 1.5M AI GPUs could be the cause of Huang's departure

https://www.tomshardware.com/tech-industry/artificial-intelligence/mass-smuggling-of-nvidia-ai-gp...
1•marginalia_nu•13m ago•0 comments

Traveling Salesperson Problem – Google OR-Tools

https://developers.google.com/optimization/routing/tsp
1•vismit2000•16m ago•0 comments

Primegame

https://en.wikipedia.org/wiki/FRACTRAN
1•pvdebbe•17m ago•0 comments

Today's forecast: AI behaving unpredictably

https://aistormdesk.com/
1•1potato•17m ago•0 comments

Tanker crashes into Mississippi cruise ship (Friday 13th) [video]

https://www.youtube.com/watch?v=EE6lEgeN1_U
1•irthomasthomas•19m ago•0 comments

Get Started with Gemini 4: Explicit Context Caching Not Supported

https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/start/get-started-with-gemi...
1•waximabbax•22m ago•0 comments

DeepSeek v4.1 Flash matched Opus5.5 and Grok4.7 on a diplomatic negotiation eval

https://www.reddit.com/r/DeepSeek/comments/1xw2gyw/comment/19smo7oond4qq/
1•valkrieco•23m ago•0 comments

Amazon Forced into First North American Union Pact in Canada

https://www.bloomberg.com/news/articles/2026-11-13/amazon-s-first-north-american-union-contract-i...
1•toomuchtodo•28m ago•2 comments

FAA Telecommunications Infrastructure (FTI)

https://www.l3harris.com/all-capabilities/faa-telecommunications-infrastructure-fti
1•Betelbuddy•30m ago•1 comments

The Android lockdown seems under-theorized

https://dynomight.net/android/
2•dverlaeckt80•30m ago•0 comments

Adopting Python 3.15's lazy imports: a 4× faster CLI, and where they didn't help

https://namegarage.com/blog/python-3-15-lazy-imports
1•rbanffy•31m ago•0 comments

Formalizing US Tax Code (Using Lean)

https://lexifina.com/blog/formalizing-the-us-tax-code
4•dnw•31m ago•0 comments

Free SVG Maps – Countries, U.S. States and Counties – MapSVG

https://mapsvg.com/maps/
1•eustoria•31m ago•0 comments

PyPI's redesigned project pages with clearer security signals are now live

https://blog.pypi.org/posts/2026-11-06-ui-updates-complete/
16•rbanffy•32m ago•0 comments

Asyncio Internals

https://origintracer.app/excerpt/asyncio-internals/
1•rbanffy•32m ago•0 comments

Traits – Teach your agent to code like you

https://traits.sh/
1•eustoria•33m ago•0 comments

Mouse Party

https://aboard.com/lets-have-a-mouse-party/
1•bookofjoe•34m ago•0 comments

Pondnote – Notes by Hand, and by Keyboard

https://pondnote.ink/
1•eustoria•34m ago•0 comments

FBI Probing FAA Software Update

https://www.bloomberg.com/news/articles/2026-11-13/fbi-said-to-probe-whether-software-update-caus...
1•Betelbuddy•34m ago•1 comments