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.

Investors dump data centre bonds as AI borrowers face 'Darwin moment'

https://www.ft.com/content/678bcd31-6c2a-447b-a68c-ce6dec220bbc
1•vrganj•1m ago•1 comments

Regarding Xbox – Big Walk by House House

https://bigwalk.game/xbox/
1•razorbeamz•4m ago•0 comments

I Applied Autoresearch to the Economy

https://www.primeforesight.ai/blog/auto-research-technology-markets
1•gigagiova•5m ago•0 comments

Dwarkesh Patel on what the public doesn't know about AI

https://www.nytimes.com/2026/10/15/opinion/interesting-times-dwarkes-patel-tyler-cowen.html
1•kraf•8m ago•1 comments

'StarGate,' Ukraine's first aerial drone to evacuate wounded soldiers

https://apnews.com/article/ukraine-medevac-drone-russia-war-stargate-c93f86db16cc34fcc75deb5efc8a...
2•geox•10m ago•0 comments

CiteProof – Catch fake AI legal citations

https://getciteproof.com/
1•masigastanley•10m ago•0 comments

The Ladder of Knowledge

https://aeon.co/essays/the-century-long-search-for-the-limits-to-knowledge
2•Hooke•11m ago•0 comments

AbridgeKV: Compressing Long Reasoning into the KV Cache of Learned Pause Tokens

https://github.com/JackCai1206/abridgekv
1•matt_d•16m ago•0 comments

Timestral open weight timeseries foundation models from Mistral

https://huggingface.co/collections/mistralai/timestral
1•armcat•19m ago•1 comments

Start Making Money from Digital Products in Minutes with FreshLimePay

https://cloud.freshlimepay.com/?lang=en
1•jimmy_lee•21m ago•0 comments

Porsche Mission S

https://www.youtube.com/watch?v=axeNSZBf8sE
2•mfa1999•24m ago•0 comments

Musk just put rockets on a car [video]

https://www.youtube.com/watch?v=r5vsHHPVhJg
2•anagri•26m ago•1 comments

How to make my business survives it's first 5 years?

1•SSDIE•30m ago•0 comments

Every app on Earth is now open source whether it likes it or not [video]

https://www.youtube.com/watch?v=wajoP_5Cpw8
1•xkcd1963•30m ago•0 comments

Show HN: Gitsu.app – A Linear-alternative built on GitHub Projects

https://gitsu.app/
1•indhuja•30m ago•0 comments

Volta's $5B debt deal is a pulse check on the AI-financing boom

https://www.semafor.com/article/10/13/2026/voltas-5-billion-debt-deal-is-a-pulse-check-on-the-ai-...
3•ckelly•33m ago•0 comments

My AI Apps Are Bad in the Right Ways

https://medium.com/@simon-pitt/my-ai-apps-are-bad-in-exactly-the-right-ways-c4b43e8fd371
2•CodeyWhizzBang•35m ago•0 comments

Annotating Genomes via Unsupervised Deep Learning

https://github.com/gaius-augustus/vipsania
1•dtj1123•37m ago•0 comments

Anthropic thinks its AI might be conscious

https://www.bbc.com/future/article/20261014-the-strange-new-battle-over-ais-feelings
5•saikatsg•48m ago•1 comments

Tesla Roadster Unveiled – Elon Musk's Wildest Car Yet

https://www.youtube.com/watch?v=j8lbY_D7xcY
4•amanverasia•49m ago•1 comments

Codex Cloud TUI Can't Spawn Jobs

https://gist.github.com/xrl/b8b79be03d341fbb0acbe636ccf123d4
3•lrx•53m ago•0 comments

Friends don't let friends feed their data to AI agents

https://www.theverge.com/tech/1011938/muse-ai-data-friends-consent
2•saikatsg•54m ago•1 comments

From Dark Factories to Zero-Page Websites

https://lazytensor.com/news/websites-without-pages
1•sunnytisch•55m ago•1 comments

Last rites for Gentoo's Chromium package

https://lwn.net/Articles/1097760/
2•signa11•58m ago•0 comments

'Onion cartel' in Philippines fined $28M for price shock

https://www.bbc.com/news/articles/cmwyvwyp9dgro
2•aussieguy1234•59m ago•0 comments

The Folders Programming Language

https://danieltemkin.com/esolangs/folders
4•gurst•1h ago•0 comments

Show HN: Continuous Trunk Builds of Network Ups Tools (Nut) for Fedora/EL

https://copr.fedorainfracloud.org/coprs/karellen/nut-next/
1•arcivanov•1h ago•0 comments

Scientists vote to end leap seconds, redefining how the world keeps time

https://www.scientificamerican.com/article/scientists-vote-to-end-leap-seconds-redefining-how-the...
7•0in•1h ago•0 comments

Self-Evolving Agent Harness

https://arxiv.org/abs/2610.18813
2•axis_official•1h ago•0 comments

Greece drafts law requiring data centers source 60% of power from renewables

https://www.datacenterdynamics.com/en/news/greece-drafts-legislation-requiring-data-centers-sourc...
11•giuliomagnifico•1h ago•0 comments