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.

3D Holographic Fish Tank (DIY Project)

https://holographic-fish-tank.vercel.app/
2•DrDizzle•1m ago•0 comments

Smart people don't think others are stupid

https://sive.rs/ss
2•andsoitis•2m ago•0 comments

Mark Zuckerberg versus the Pint of Guinness

https://www.wsj.com/arts-culture/food-cooking/mark-zuckerberg-versus-the-pint-of-guinness-94460282
2•thm•4m ago•0 comments

The rare elephant behaviour that reveals the depths of their emotions

https://www.bbc.com/future/article/20261013-the-rare-behaviour-showing-elephant-grief
2•1659447091•4m ago•0 comments

Show HN: Fuel Gauge – Claude knows its own usage limits and stops at 95%

https://github.com/LuisPCFialho/claude-fuel-gauge
2•_FakeBanana_•5m ago•0 comments

PractiCal – Self-hosted calendar, contacts, and tasks written in Rust

https://xarif.gitlab.io/docker/practical/index.html
2•DrSarez•6m ago•1 comments

Breakthrough Genomic Test Can Diagnose Nearly Any Infection

https://scitechdaily.com/breakthrough-genomic-test-can-diagnose-nearly-any-infection/
2•bookmtn•6m ago•0 comments

Agentic Verification

https://addyo.substack.com/p/agentic-verification
2•swolpers•7m ago•0 comments

Companies rushed in on AI. Now some are pulling back

https://www.theguardian.com/technology/2026/oct/13/ai-companies-rushed-workers-fallout
2•wofo•9m ago•1 comments

Show HN: Geneva, a Rust FFmpeg CLI alternative with HTML/CSS graphics

https://genevarender.com
4•fbnt•10m ago•0 comments

Show HN: Blobz: generate playful, deterministic SVG avatars from any string

https://blobz.lirena.in
3•lirena00•11m ago•0 comments

Adventures installing Prusa INDX with LLM help

https://blog.backslasher.net/indx-llm.html
2•Backslasher•14m ago•0 comments

History of Spreadsheets (2026): VisiCalc to Taskade Genesis

https://www.taskade.com/blog/spreadsheet-history
3•mpweiher•14m ago•0 comments

In Tokyo, a Handmade Temple of Concrete, Two Decades in the Making

https://www.nytimes.com/2026/10/14/realestate/tokyo-building-arimasuton-keisuke-oka.html
3•motionlessveloc•15m ago•0 comments

Pg_vectorsearch: An index that is faster than pgvector's IVFFlat and HNSW

https://github.com/timescale/pg_vectorsearch
1•jascha_eng•15m ago•1 comments

Show HN: I aggregated 1,600 remote AI training jobs from 24 companies

https://aitrainerjobs.co/
1•danilovilhena•16m ago•0 comments

Experimental Odin language website build using guidedog in Odin not Hugo

https://insanai.github.io/odindocs/
1•vikrantrathore•17m ago•0 comments

SynthID Bio for AI-generated proteins

https://deepmind.google/blog/introducing-synthid-bio/
1•Sebastian_09•17m ago•0 comments

Statecraft: Israel – an open-source game where you're the Israeli Prime minister

https://github.com/eyalgolan/statecraft-israel
2•eyalgolan•18m ago•0 comments

The End to Governing in Prose

https://loosemore.com/2026/10/14/the-end-to-governing-in-prose/
1•robin_reala•18m ago•0 comments

Show HN: I'm resurrecting Candystand on a modern web stack

https://candystood.com/
1•ftio•18m ago•0 comments

I assume I'm below average

https://sive.rs/below-average
2•sodic•19m ago•0 comments

Please stop hashing the public key first (or: ML-DSA's µ annoys me)

https://blog.erincandescent.net/2026/10/mu-annoys-me/
2•khalidkhair•42m ago•0 comments

The Dead Salmons of AI Interpretability

https://arxiv.org/abs/2512.18792
2•danielmorozoff•43m ago•0 comments

Show HN: Malware Families Catalog – 2,903 Families with ATT&CK Mappings

https://malware-families-catalog.systemhelpdesk.com/
3•jordanricky1604•43m ago•0 comments

Show HN: Generate Ilograph – Create auditable sequence diagrams of a codebase

https://github.com/ilograph/skills
1•billyp-rva•44m ago•0 comments

Home Inspection Software in 2026

https://www.aeyespi.com/blog/best-home-inspection-software-2026
1•starburst1977•44m ago•0 comments

Show HN: boostmyagents – A README badge lets your users pay for your AI usage

https://boostmyagents.com/
2•breezyassist•44m ago•0 comments

We Found a Chinese Fleet

https://swarmcha.se/posts/chinese-agent-fleet-full-report
3•irgolic•45m ago•0 comments

Quarterly Newsletter for Software Development

https://arnoldtechnologies.dev/#signup
3•batman-is-just-•47m ago•0 comments