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.

Canva Layoffs

https://www.canva.com/newsroom/news/canva-team-update/
1•dabj•36s ago•0 comments

Can GROUP BY still be optimized after all these years?

https://pivotlake.io/blog/know-your-limit-faster-top-k-aggregation/
1•dkgs•1m ago•0 comments

Samenland

https://samenland.app/
1•doener•4m ago•0 comments

Did Claude Help an Amateur Astronomer Discover a New Planet?

https://gizmodo.com/did-claude-help-an-amateur-astronomer-discover-a-new-planet-2000824393
4•nvmdbljstm•6m ago•1 comments

Free personal agents for job search

https://applyhira.com
1•ejtu•8m ago•0 comments

Ask HN: Is it worth reading The Art of Computer Programming now?

1•weavie•8m ago•0 comments

Bangalore India Hospital Flow

https://sive.rs/inflow
1•Michelangelo11•9m ago•0 comments

Worth – Personal Finance

https://play.google.com/store/apps/details?id=com.worthindia.app&hl=en_US
1•tanish1998•9m ago•0 comments

AI Agents Used by Railway Breach Systems of Rival Primcloud

https://securityboulevard.com/2026/11/ai-agents-used-by-railway-breach-systems-of-rival-primcloud/
1•samastur•9m ago•0 comments

Accelerating Engineering for the Physical World

https://openai.com/index/accelerating-engineering-for-the-physical-world/
1•pretext•11m ago•0 comments

Learnings from Auditing Public Evaluations

https://www.primeintellect.ai/blog/auditing-public-evaluations
1•pretext•13m ago•0 comments

Google's first data center satellite is online and writing poetry

https://techcrunch.com/2026/10/30/googles-first-data-center-satellite-is-online-and-writing-poetry/
2•taubek•15m ago•0 comments

Put a heart next to a coding problem, and Claude and GPT write recursive code

https://twitter.com/ARTartaglini/status/2117659914873213007
1•pretext•18m ago•1 comments

Ultra-processed food and multiple sclerosis: Evidence, pitfalls and perspectives

https://journals.sagepub.com/doi/full/10.1177/13524585261481479
1•nkjoep•18m ago•0 comments

Intelligent Autocorrect

https://apps.apple.com/us/app/intellikey/id1667188645
2•unktomi•18m ago•2 comments

Canva is announcing changes and layoffs affecting 22 percent of its staff

https://www.theverge.com/tech/1025971/canva-changes-layoffs
1•saikatsg•19m ago•0 comments

Show HN: HackerEverything – Everything recommended by HN

https://hackereverything.pages.dev/
2•mk93074•21m ago•0 comments

Roman Yampolskiy 2017 Publication

https://www.researchgate.net/publication/318721264_Guidelines_for_Artificial_Intelligence_Contain...
1•trilogic•22m ago•1 comments

Show HN: Plugin to Create Product Videos

https://github.com/Flux-AI-Agent/fluxcut-plugin
1•loveTech•23m ago•4 comments

Ask HN: Impact of US Elections on AI?

3•talmr•28m ago•1 comments

Ask HN: How to Keep the Edge as an Engineer?

2•spacebuffer•28m ago•2 comments

Show HN: A privacy-first career toolkit (PDF manipulation runs in Browser/WASM)

https://www.onestoplinkedin.com
3•saurav7__•31m ago•1 comments

The Crimes of SEAL Team 6 (2017)

https://web.archive.org/web/20170110111518/https://theintercept.com/2017/01/10/the-crimes-of-seal...
4•firefax•39m ago•0 comments

Fossilised red blood cells found in 115M-year-old dinosaur's bone

https://www.theguardian.com/science/2026/nov/02/fossilised-red-blood-cells-aratasaurus-dinosaurs-...
5•fortran77•41m ago•1 comments

Show HN: Meteosource MCP server, weather data for AI assistants

https://mcp.meteosource.com/
2•Thunder_rumbles•42m ago•1 comments

You'll need nerves of steel to work with AI agents

https://orchidfiles.com/youll-need-nerves-of-steel-to-work-with-ai-agents/
5•theorchid•46m ago•0 comments

Anthropic: Progress on provable inference for large language models

https://www.anthropic.com/research/provable-inference
3•Tepix•47m ago•1 comments

Oh god. Oh no. We need to talk about life insurance [video]

https://www.youtube.com/watch?v=MXEhtkrbdJM
4•Imustaskforhelp•50m ago•0 comments

Show HN: HIPAA compliance evidence for Supabase RLS,functions,triggers,auditlogs

https://unitautogen.com/blog/hipaa-evidence-for-supabase.html
2•abhay020880•52m ago•0 comments

OpenVDDK: Independent Virtual Disk Library

https://openvddk.com/
2•abbbi•54m ago•0 comments