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.

What Is Linux Swap, and Should You Enable It?

https://blog.lyc8503.net/post/21-swap-setup/
1•uneven9434•4m ago•0 comments

Update: ZerfAI generated 60 Micro SaaS ideas – 14 scored 8/10 or higher

https://www.zerfai.com/
1•awsaqh•11m ago•0 comments

Ask HN: Good fast IDE for reading and navigating code in multiple languages

1•akkad33•13m ago•0 comments

Show HN: Self-healing review gate and knowledge base for Claude Code (Beta)

https://verity.md
1•claudiacsf•14m ago•0 comments

"Gauging your humanity This may take some seconds"

https://github.com/unt-libraries/django-altcha-middleware
1•joebig•15m ago•0 comments

"Stop Moralizing AirCon": How Institutions Shift Responsibility onto Individuals

https://jdjayne.substack.com/p/moralizing
1•theanonymousone•19m ago•0 comments

Google: Earthquake early warning system did not work properly in Turkey

https://www.heise.de/en/news/Google-Earthquake-early-warning-system-did-not-work-properly-in-Turk...
2•teleforce•21m ago•0 comments

9 Months of Agentic Development

https://www.benko.app/blog/9-months-of-agentic-development
1•dools•21m ago•0 comments

The 18-Months Deadline

https://adlrocha.substack.com/p/adlrocha-the-18-months-deadline
3•adlrocha•30m ago•0 comments

antiware-JS

https://www.npmjs.com/package/antiware-js?activeTab=readme
1•mohamed-medhat•34m ago•0 comments

Lisper.io

https://lisper.io.
1•rifflax•36m ago•1 comments

Learning Multi-Agent Coordination via Sheaf-ADMM

https://pub.sakana.ai/sheaf-admm/
1•hardmaru•39m ago•0 comments

LongCat-2.0

2•rika321•40m ago•0 comments

Show HN: A live badge that proves your SaaS runs on EU infrastructure

https://euroseal.pages.dev
1•robpus•43m ago•0 comments

Job descriptions got longer than CVS receipts

https://www.businessinsider.com/job-descriptions-longer-than-cvs-receipts-ai-2026-7
1•ilreb•44m ago•0 comments

Intuitive Quantum Electrodynamics

https://forwardscattering.org/page/Intuitive%20Quantum%20Electrodynamics
1•Ono-Sendai•45m ago•0 comments

Show HN: MM to Inches converter with fractional inch references

https://mm-to-inches.net
1•robot1996•49m ago•0 comments

Concentration of power in AI is a risk, by Andy Konwinski

https://xcancel.com/i/article/2072830533739192560
2•alecco•50m ago•0 comments

The "Collosophone"

https://pressforsound.com/tag/collosophone/
1•Eridanus2•52m ago•0 comments

AWS Lambda MicroVMs: The Compute Nobody Asked For?

https://www.confessionsofadataguy.com/aws-lambda-microvms-the-compute-nobody-asked-for/
1•nosky•53m ago•0 comments

8 Comprehensive WebSite Health Check Ups

https://urlwatch.io/
2•mssblogs•56m ago•0 comments

Claude Design System Prompt

https://github.com/Trystan-SA/claude-design-system-prompt
1•handfuloflight•1h ago•0 comments

Creed: Canonical Markdown File

https://creed.md/home
1•handfuloflight•1h ago•0 comments

Train SIM Created by Just One Person Is Being Called the Best Ever Made

https://kotaku.com/a-train-sim-created-by-just-one-person-is-being-called-the-best-ever-made-2000...
3•oumua_don17•1h ago•0 comments

Apocketlypse

https://0dd.company/galleries/triumph/1.html
13•scaglio•1h ago•1 comments

Surus Agentic Postgres Companion

https://github.com/Geometrein/surus
1•geometrein•1h ago•1 comments

Show HN: Super fast pipeline for finding specific paths across mills of domains

https://github.com/Kirill89/webcensus
1•k1r111•1h ago•0 comments

A Postmortem of an LLM Social Network

https://armx64.medium.com/emergence-without-understanding-a-postmortem-of-an-llm-social-network-9...
1•_pdp_•1h ago•0 comments

Show HN: Reactive Resume v5 – free, private, self-hostable resume builder

https://github.com/amruthpillai/reactive-resume
1•AmruthPillai•1h ago•0 comments

Arrest 0.2.1, an HTTP client with data validation

https://github.com/s-bose/arrest
1•s-bose•1h ago•1 comments