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.

Novel brain activity under anesthesia challenges what we know re: consciousness

https://www.sciencedaily.com/releases/2026/10/261015003440.htm
1•bookofjoe•2m ago•0 comments

Electric Mercedes-AMG GT SUV unveiled with 1,153 HP and 710 kW charging

https://electrek.co/2026/10/17/mercedes-amg-gt-suv-electric-1153-hp-710-kw-charging/
1•cisc•6m ago•0 comments

NY announces game ownership bill requiring ownership rather than licensing

https://www.tomshardware.com/video-games/new-york-rep-announces-game-ownership-bill-that-would-re...
2•guiambros•11m ago•0 comments

Decision Architecture: Governing Cybersecurity at Machine Speed

https://sadb.com.br/
1•nivearibeiro•11m ago•0 comments

EU ENISA CVEs

https://euvd.enisa.europa.eu/
1•based2•15m ago•0 comments

Squeeze into those skinny jeans: millennial culture is back

https://www.economist.com/culture/2026/10/15/squeeze-into-those-skinny-jeans-millennial-culture-i...
1•Anon84•16m ago•0 comments

Romania names first AI minister: Bitdefender researcher Bogdan Dumitru

https://www.newsminimalist.com/articles/romania-names-first-ai-minister-bitdefender-researcher-bo...
1•jocker12•19m ago•0 comments

Comprehensive Agentic Infrastructure as Code

https://getintentric.com/
1•benzingtech•21m ago•0 comments

Fable 5.5: SVG of a controller riding a bicyle riding a pelican riding a bicycle

https://claude.ai/artifact/WiSwhxpKDRm1jyXbvTcAQy
2•sergiotapia•24m ago•0 comments

Show HN: NoBadge – Hide Dock Badges During macOS Focus

https://github.com/asdftq/NoBadge
2•flrngel•26m ago•0 comments

Zelensky says Musk-owned satellite system still restricted in Ukraine

https://www.axios.com/2026/10/17/zelensky-starlink-elon-musk-trump
5•mdp2021•28m ago•0 comments

AI Infrastructure Index

https://www.stockatomics.com/ai-infrastructure-index
1•happster•30m ago•0 comments

Show HN: Turn a prompt into a hardware project you can wire up and flash

https://hardwareos.ai
1•singhvir943•30m ago•0 comments

Al, Automation and India's Workforce

https://glcfer.allforone.co.in/
1•cyb0rg0•34m ago•1 comments

Show HN: MoroccoAPI: An open source API for Moroccan public data

https://moroccoapi.dev/
1•benizizamohamed•36m ago•0 comments

Rogue 'jumping genes': Big dogs age faster than little ones

https://www.nature.com/articles/d41586-026-03199-5
1•cybermango•40m ago•0 comments

I run my one-person business with ~17 narrow AI agents

https://blakelapierre.substack.com/p/i-run-my-one-person-business-with
2•agentofone•42m ago•0 comments

Weak Links Start to Show in A.I. Borrowing

https://www.nytimes.com/2026/10/17/business/-debt-coreweave-oracle-softbank.htmlai
1•tangled•43m ago•0 comments

Overlooked Brown fat in our bodies linked to wide range of health benefits

https://www.nature.com/articles/d41586-026-03302-w
1•cybermango•43m ago•0 comments

Open Math Model: The OS for collaborative math research and scientific computing

https://www.openmathmodel.org/
2•JohnHammersley•48m ago•0 comments

Does code quality still matter when AI writes the code?

https://docspring.com/blog/posts/does-code-quality-still-matter-when-ai-writes-the-code/
4•nathan_f77•51m ago•3 comments

Doctors, Lawyers and Engineers joining AI's $400-an-Hour gig economy

https://www.bloomberg.com/news/articles/2026-10-16/ai-training-jobs-are-attracting-doctors-lawyer...
4•cybermango•51m ago•1 comments

Retired Penn professor arrested for blocking Uber Eats robot

https://www.phillyvoice.com/philly-woman-arrested-uber-eats-robot-protest/?l
48•johnnyApplePRNG•53m ago•89 comments

Diogenes: AI microservices over L402, x402 and MCP (pay per call)

https://github.com/stand-out-of-my-sun/diogenes-l402-gateway
1•diogenes_l402•57m ago•0 comments

There's never been a better time to go into math (by: 3blue1brown) [video]

https://www.youtube.com/watch?v=LKrwhjOI8Nc
2•mdp2021•59m ago•0 comments

Show HN: Serve Nix closures to k8s pods

https://github.com/Kranzes/nix-store-csi
1•kranzes•1h ago•0 comments

RuneScape Bench: MMOs for Agents [video]

https://www.youtube.com/watch?v=cNm4zyUtWj0
1•evakhoury•1h ago•0 comments

Abolish AI Manifesto

https://abolish-ai.net/abolish-ai-a-manifesto/
3•drpixie•1h ago•0 comments

Astrax – Open-source MCP server for Windows desktop AI control

https://github.com/AstraxOf/astrax-mcp
1•astraxof•1h ago•0 comments

Who Pays for Clang

https://maskray.me/blog/who-pays-for-clang
1•rowbin•1h ago•0 comments