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.

Show HN: OCR-grab: Flameshot clone that adds OCR

https://github.com/talalalrwas/ocr-grab
1•tgol•32s ago•0 comments

He Earns $33 an Hour as a Costco Cashier. Now He's a Millionaire

https://www.wsj.com/business/retail/he-earns-33-an-hour-as-a-costco-cashier-now-hes-a-millionaire...
1•JumpCrisscross•1m ago•0 comments

Grok 4.5 Release (Technical)

https://cursor.com/blog/grok-4-5
1•linzhangrun•3m ago•1 comments

Automate Apps with No API

https://blog.mobilerun.ai/posts/how-to-automate-apps-with-no-api
1•Messyflame•7m ago•0 comments

Tooling for AI agents to build KiCad project from simple circuit description

https://github.com/oxplot/burn2kicad
1•oxplot•7m ago•0 comments

Game devs commit their dependencies. Maybe we should too

https://nathanflurry.com/thoughts/26-03-26-manage-packages-like-game-engines/
1•resiros•9m ago•0 comments

SQLite Is Dynamically Typed (2020)

https://www.zachocean.com/posts/sqlite-is-dynamically-typed/
1•downbad_•10m ago•0 comments

GitHub Actions degraded again

https://www.githubstatus.com/incidents/cstx3v63mklm
1•gruselhaus•13m ago•0 comments

Hand it your codebase. Not your secrets

https://agentjail.io/blog/announcing-v060/
1•LuD1161•13m ago•0 comments

SpreadsheetPreview: JavaScript component to display Excel files in browser

https://spreadsheetpreview.com/
1•robbiejs•15m ago•1 comments

CVE-2026-14440: Cloudflare Universal SSL CAA records supersede user CAA

https://nvd.nist.gov/vuln/detail/CVE-2026-14440
1•David_Osipov•17m ago•0 comments

The best WebAssembly runtime may still be no runtime at all

https://00f.net/2026/07/08/webassembly-compilation-to-c-2026/
1•goranmoomin•20m ago•0 comments

Engineering the J-Space: Beyond Chain of Thought

https://github.com/mlangford75-lgtm/mlangford75-lgtm
1•Mlangford75•21m ago•0 comments

Show HN: N3MO – Deterministic code intelligence via AST parsing, no embeddings

https://github.com/RajX-dev/N3MO
1•RajX_dev•21m ago•0 comments

Build your own agentic framework – the no-magic version

https://medium.com/@kirill89/build-your-own-agentic-framework-the-no-magic-version-8858d5ee94d0
1•k1r111•22m ago•0 comments

Claude "Honeycomb" spotted and pulled from Cursor, unannounced Anthropic model

https://twitter.com/chetaslua/status/2075064406116065416
1•alecavaz•23m ago•1 comments

$100k to keep CTFs competitive in the age of AI

https://osec.io/blog/save-ctfs-fund/
1•stuxf•26m ago•0 comments

Grok Is Back

https://www.vincentschmalbach.com/grok-is-back/
1•vincent_s•27m ago•0 comments

Decispher – System of record and action for engineering teams

https://decispher.com
6•cool_coder12•27m ago•0 comments

Google patched AI chatbot flaw that could expose customer conversations

https://www.axios.com/2026/07/07/varonis-google-ai-agent-chatbot-security?
1•crowd51•29m ago•0 comments

Mastodon, the Only Good Choice

https://www.tbray.org/ongoing/When/202x/2026/07/05/Choose-Mastodon
3•robin_reala•30m ago•0 comments

The math behind "AI will take your job" is wrong [video]

https://www.youtube.com/watch?v=sQGZXrzykpU
1•parasti•31m ago•0 comments

CashFlow – Open-source debt minimization using graph algorithms and WASM

1•SanishKumar•31m ago•0 comments

Show HN: Learn language with word-by-word translation maps [video]

https://www.youtube.com/watch?v=QHMqGX6GvFU
1•julienreszka•31m ago•0 comments

Show HN: Gemini to Word or PDF Extension

https://chromewebstore.google.com/detail/chat-exporter-save-gemini/lgipeakgdkcgnkdljeagconfbfeolidj
2•quysala12•33m ago•0 comments

Handsum: A lossy thumbnail image format

https://nigeltao.github.io/blog/2026/handsum.html
1•tylerchr•34m ago•0 comments

Ask HN: I want an app to block luddites from my life

1•julienreszka•35m ago•4 comments

I think Rust is Object Oriented

https://lewiscampbell.tech/blog/260709.html
1•xupybd•35m ago•0 comments

Eternal September

https://en.wikipedia.org/wiki/Eternal_September
3•kleiba2•37m ago•0 comments

Databricks Data and AI Summit 2026 as it was

https://medium.com/data-engineer-things/databricks-data-and-ai-summit-2026-as-it-was-2e146b77912a
1•protmaks•39m ago•0 comments