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.

Thoughts on AI

https://claude.ai/anthropic-interviewer/your-thoughts-on-ai
1•tzury•26s ago•0 comments

Forge Structures Requests for Prompt Cache Reuse

https://www.mohitranka.com/blog/how-forge-structures-requests-for-prompt-cache-reuse/
1•speckx•35s ago•0 comments

What control engineering taught me about building AI systems

https://gerbenrijpkema.substack.com/p/what-control-engineering-taught-me
2•gmrijpkema•1m ago•0 comments

Show HN: BreachProbe, find out if your app leaks its database

https://breachprobe.thecompound.tech
1•kyisaiah47•2m ago•0 comments

Giving everything away for free [video]

https://www.youtube.com/watch?v=L6ykiChEwpU
1•gmays•3m ago•0 comments

Ophthalmology Researchers Manipulated Images in Eighteen Papers [video]

https://www.youtube.com/watch?v=mn5_pbN4fBw
1•randycupertino•3m ago•1 comments

Coltrane's Tone Circle

https://jtomschroeder.com/blog/tone-circle/
1•jtomschroeder•3m ago•0 comments

Change Coupling: Why One-Line Fixes Touch Ten Files

https://kb.buildingbetterteams.de/docs/technology-product/Software/Change-Together/
1•mooreds•4m ago•0 comments

Even Google's $120B earnings couldn't out-pace its AI spend

https://mashable.com/tech/google-ai-bill-cash-flow-negative
1•dotcoma•4m ago•0 comments

How Much Should We Spend to Reduce A.I.'S Existential Risk? (2025) [pdf]

https://www.nber.org/system/files/working_papers/w33602/w33602.pdf
1•mooreds•4m ago•0 comments

New formulation helps RNA vaccines withstand high temperatures

https://news.mit.edu/2026/new-formulation-helps-rna-vaccines-withstand-high-temperatures-0928
1•rbanffy•5m ago•0 comments

7 in 10 enterprises expected to abandon vendor-built agentic AI by 2028

https://www.theregister.com/ai-and-ml/2026/09/30/7-in-10-enterprises-expected-to-abandon-vendor-b...
1•joebuckwilliams•5m ago•0 comments

Economic Size and Economic Power

https://paulkrugman.substack.com/p/economic-size-and-economic-power
1•mooreds•5m ago•0 comments

Justice Department and FBI Seize Platforms Operated and Used by China Hackers

https://www.justice.gov/opa/pr/justice-department-and-fbi-seize-platforms-operated-and-used-china...
1•Bluestein•7m ago•0 comments

Anthropic IPO docs reportedly reveal over $40B in losses last year

https://mashable.com/tech/anthropic-lost-42-billion-in-2025
2•TomGarden•8m ago•1 comments

Attezt: Device attestation, PKCS11 and ACME [video]

https://media.ccc.de/v/all-systems-go-2026-414-attezt-device-attestation-pkcs11-and-acme
1•ibobev•9m ago•0 comments

Back to Backups: A Year in Review

https://signal.org/blog/backup-improvements/
1•ibobev•10m ago•0 comments

Ukraine Can't Stop Russia's Jet-Powered Shahed Drone

https://spectrum.ieee.org/jet-powered-shahed-drone
1•rbanffy•12m ago•0 comments

Upstream Rust maintenance report (August-September 2026)

https://kobzol.github.io/rust/2026/09/30/stf-august-september-2026.html
1•ibobev•12m ago•0 comments

Show HN: GLYP – A shared canvas you can draw on via SSH

https://glyp.online/
1•moononite•13m ago•1 comments

Detect and send production issues straight to your agent in Cloudflare

https://blog.cloudflare.com/real-time-issue-detection/
1•sidcool•13m ago•0 comments

Dots is not available in Europe:/

https://help.openai.com/en/articles/20001530-getting-started-with-your-dot
2•perganomoly•13m ago•1 comments

Who Runs Elixir in Production

https://sublimecoding.com/blog/elixir-in-production-fact-checked
1•sublimecoding•15m ago•0 comments

Show HN: Dad Joke Archive

https://www.instagram.com/pappawalejoke
1•chaturabhishek•15m ago•1 comments

I built an isometric office where my AI models work (and Slack off)

https://github.com/s4ps4n/prompt-hospital
1•sapsanius•16m ago•0 comments

Agent Skills: 4 Powerful Ways to Improve Enterprise AI

https://devnavigator.com/2026/09/30/agent-skills-contextualized-execution/
1•thescienceguy93•16m ago•0 comments

RIP, Vector Database

https://turbopuffer.com/blog/rip-vector-database
1•emschwartz•16m ago•0 comments

Show HN: An App that names each cell in a spreadsheet

https://demo.graphcell.co.uk/?demo=1
1•BraamV•17m ago•0 comments

Show HN: Jauvex 1.3 released. Turn any agent task into automated workflows

https://github.com/reindent/jauvex
1•daraosn•19m ago•1 comments

Show HN: Riffle – Switch between windows of the current Mac app with Option-Tab

https://github.com/voising/riffle
3•voising•19m ago•1 comments