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.

Ask HN: Sitting on unused OpenAI / Anthropic / AWS credits that will expire?

1•xiaomaijj•21s ago•0 comments

What was the turning point for Postgres?

https://planetscale.com/blog/what-was-the-turning-point-for-postgres
1•theanonymousone•29s ago•0 comments

Ask HN: Is your leadership pushing you to skip dev review?

1•arm32•45s ago•0 comments

Joe Louis: The King as a Middle-Aged Man

https://classic.esquire.com/article/1962/6/1/joe-louis-the-king-as-a-middle-aged-man
1•georgex7•1m ago•0 comments

Full Remap of Periodic Table of Elements, by Group and Density Within Groups

https://bsky.app/profile/blenderheadill.bsky.social/post/3myutrq4takjz
1•theanonymousone•1m ago•0 comments

Dropbox plans 9% workforce cut, technology chief to exit

https://www.reuters.com/business/world-at-work/dropbox-plans-9-workforce-cut-technology-chief-exi...
1•theanonymousone•2m ago•0 comments

Skill to Manage GitHub Boards

https://github.com/aaitor/skill-github-projects
1•aaitor•5m ago•1 comments

Elliptic curves are not generic [pdf]

https://github.com/bochum-crypto/subexponential-ecdl/blob/main/subexponential-ecdl.pdf
1•porridgeraisin•5m ago•0 comments

It's the Memory Latency, Stupid

https://pivotlake.io/blog/its-the-memory-latency-stupid/
1•maor10•6m ago•0 comments

Reading a van's check-engine codes with a $30 Bluetooth OBD-II adapter

https://rowbose.com/auto-center/
1•nddipiazzarobos•6m ago•0 comments

Make your AI skills more predictable with scripts

https://steadily.ca/newsletter/edition/predictable-ai-skills-with-scripts
1•dhruvio•8m ago•0 comments

AI Could Reverse Engineer Anything. Then It Started Refusing [video]

https://www.youtube.com/watch?v=Hi2cEWQXVhc
1•RNAdom099•8m ago•1 comments

Google's stock price plunges, erasing $500B in value

https://www.nbcnews.com/business/markets/alphabet-google-stock-ai-advertising-rcna606322
1•elorant•9m ago•0 comments

Alphabet stock sinks as search woes cause revenue miss, cash burn worsens

https://www.reuters.com/business/alphabets-google-cloud-unit-beats-quarterly-revenue-estimates-st...
1•rurp•9m ago•0 comments

Show HN: LiveWire – Monitor your business in a single live feed

https://www.getlivewire.app/
1•hawkeye77787•9m ago•0 comments

Amp macOS Satellites

https://ampcode.com/news/macos-satellites
1•anner_•10m ago•1 comments

Synchronous Control Monitoring

https://max.ax/writing/synchronous-control-monitoring/
1•k5hp•11m ago•0 comments

Syrinx: A censorship-resistant communications platform

https://var0.xyz/posts/introducing-syrinx.html
1•ibobev•13m ago•0 comments

Show HN: Fast agentic video editing in the browser (Tella)

https://www.tella.com
3•9ranty•13m ago•1 comments

16colo.rs – ANSI/ASCII art archive

https://16colo.rs/
1•memalign•13m ago•0 comments

Nim Version 2.4.0 Released

https://nim-lang.org/blog/2026/10/28/nim-240.html
2•ibobev•14m ago•0 comments

Double Daylight Saving Time

https://doubledst.org/
2•3wolf•15m ago•0 comments

The Web Can't Afford a JavaScript Runtime Monoculture

https://redmonk.com/kholterhoff/2026/10/27/js-runtime-monoculture/
2•ibobev•15m ago•0 comments

Bloomberg, trading firms to pay Trump for faster Truth Social access

https://www.reuters.com/business/finance/bloomberg-two-trading-firms-agree-pay-trumps-truth-socia...
1•geox•16m ago•0 comments

Show HN: Recto – A visual canvas for coding agents

https://recto.design
3•maroofkhan2007•17m ago•0 comments

Stopping Remote Code Execution with Sandboxes

https://cosmonic.com/blog/stopping-remote-code-execution-with-a-sandbox/
2•hectaman•17m ago•1 comments

Built to bend: Postgres's inventor and a steward on what AI needs

https://www.theregister.com/databases/2026/10/29/partner-content-built-to-bend-postgress-inventor...
1•DougN7•18m ago•0 comments

Show HN: Anna – a voice assistant that reports your machine's load, RAM and disk

https://github.com/yankelperelman/anna-dev
1•YankelPerelman•19m ago•0 comments

HelloWorld Enterprise

https://nreff.github.io/hello-world-enterprise/
1•hyperplanecube•22m ago•0 comments

Accused Impostor in Private Tracker Lawsuit Faces Contempt for Hiding Passport

https://torrentfreak.com/accused-impostor-in-private-tracker-lawsuit-faces-contempt-for-withholdi...
1•xbmcuser•22m ago•1 comments