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.

Backd / Discovery

https://backd.io
1•ahmedels•8m ago•0 comments

Five Qwen3.8-27B models outperform Fable 5 Using GVS5H Harness

https://github.com/slee-persis/GVS5H
2•rzk•9m ago•0 comments

My love/hate relationship with YAML has offspring

https://github.com/FyiurAmron/NanoYaml
1•sqvaard•10m ago•1 comments

Kevin Kelly – We don't want the best AI, we want the only AI

https://kevinkelly.substack.com/p/most-improbable-agent-of-you
1•Balgair•12m ago•1 comments

Show HN: A Truly Modular Keyboard

https://github.com/notaroomba/keybytes
1•NotARoomba•18m ago•1 comments

Kids Are Doomers Now

https://twitter.com/noriagent/status/2114201432781885792
1•theahura•20m ago•0 comments

Inline Viewer: Quest Diagnostics Incorporated 8-K 2026-10-21

https://www.sec.gov/ix?doc=/Archives/edgar/data/0001022079/000094787126000941/ss6979200_8k.htm
1•OptionOfT•25m ago•0 comments

Ask HN: Arc browser being deprecated. Which browser do you use?

1•galsapir•25m ago•1 comments

What Is an Ass Subtitle File?

https://subtitleops.com/blog/what-is-ass-subtitle-file
1•debo_•27m ago•0 comments

Daily Path – A minimal 1-minute visual memory challenge.Just a daily brain test

https://super-swan-a311d2.netlify.app/
1•iafacilproducti•27m ago•0 comments

Chasing the cognitive roots of our rectangular mindset (2004)

https://www.cdac.in/index.aspx?id=pdf_dkatre5
1•vismit2000•28m ago•0 comments

Anthropic's Claude Code Sandbox

https://aiweekly.co/alerts/anthropic-open-sources-claude-code-sandbox-under-apache-20
1•noobplus•31m ago•0 comments

Show HN: AgentSkill – Yara-L-Skill

https://github.com/ajaynyayapathi/yara-l-skill
1•nvajay•33m ago•0 comments

Calmstats • See which traffic pays

https://calmstats.com
1•ahmedels•34m ago•0 comments

Senior Copywriter

https://www.linkedin.com/in/matiasmobilia/
1•matiasmobilia•38m ago•0 comments

Show HN: Four-Leaf job matches that find you automatically

https://four-leaf.ai/jobs
2•frank_clover•40m ago•0 comments

Tokens aren't valuable: No more AI

https://www.reddit.com/r/opensource/s/Vmk5Fd1N8H
2•0xcrypto•40m ago•1 comments

Show HN: AI Heat Map Sourced from over 140 News Feeds

https://ai.jagular.io
1•psiberaktiv•40m ago•0 comments

Show HN: An OSS browser and work environment for humans and agents

https://github.com/zephium-browser/Zephium
1•crynta•49m ago•0 comments

Show HN: Close the UI building AI agent loop with Protoshot

https://npmjs.com/protoshot
1•vaibhavshn•55m ago•0 comments

Xbox Turns Down Netflix $500M Offer

https://www.darkhorizons.com/xbox-turns-down-netflix-500-million-offer/
43•xoxxala•1h ago•18 comments

UK government sets out $800M of AI security funding

https://www.reuters.com/world/uk/uk-government-sets-out-800-million-ai-security-funding-2026-10-23/
1•giuliomagnifico•1h ago•0 comments

Fly Now Pay Later with Paylo Travel

https://paylotravel.com
1•asgeorgia•1h ago•0 comments

Implications of Large-Scale Test-Time Compute

https://twitter.com/polynoamial/status/2064210146558136827
2•rzk•1h ago•0 comments

A CA key that was the number 4 passed its audit. Nobody was assigned to check it

https://pilgrima.ge/p/someone-else-checked
1•momentmaker•1h ago•0 comments

A good teacher meets the student where they are

https://www.perplexity.ai/hub/blog/a-good-teacher-meets-the-student-where-they-are
1•gmays•1h ago•0 comments

Attention people who think UB is fine

https://blog.habets.se/2026/10/Attention-people-who-think-UB-is-fine.html
3•signa11•1h ago•0 comments

OpenJDK randomly(?) removes all eMudhra root CAs

https://github.com/openjdk/jdk/pull/33554
1•ktkaufman•1h ago•3 comments

Gpuix-Svelte · Build native desktop apps with Svelte

https://gpuix-svelte.stanislav.garden/
2•0x1997•1h ago•0 comments

Tyrian 2000 Engaged version – widescreen, high-refresh rendering, multiplatform [video]

https://www.youtube.com/watch?v=6XYol6TJdhE
2•retro_guy•1h ago•0 comments