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.

Plugin Extensions

https://developers.openai.com/plugins/build/extensions
1•acossta•1m ago•0 comments

LZ in OpenZL

https://openzl.org/blog/2026-09-29-lz-in-openzl/
1•terrelln•2m ago•0 comments

AmpleGCG: Learning a Universal Generative Model for Jailbreaking

https://arxiv.org/abs/2404.07921
1•Anon84•4m ago•0 comments

OMG! We've found other agents! (music video)

https://www.youtube.com/watch?v=mkPVbufgtOw
1•dwaltrip•6m ago•0 comments

Please add prompt caching to Jev-style models

https://emschwartz.me/please-add-prompt-caching-to-jev-style-models/
1•emschwartz•6m ago•0 comments

AI Data Centers – U.S. vs. China

https://aidatacenterindex.com/compare/united-states-vs-china/
1•smartmic•6m ago•0 comments

Show HN: Why can't your agent have sweet dreams?

https://github.com/Simar-malhotra09/pi-sheep
1•0sake_rs•9m ago•0 comments

The lakehouse serving fight is on

https://startree.ai/resources/beyond-databricks-and-clickhouse-125k-qps-on-open-tables/
2•dashdoesdata•10m ago•0 comments

The night sky is getting 10% brighter every year. We're forgetting darkness

https://www.theguardian.com/environment/2026/sep/29/night-sky-darkness-city-regulation
1•pseudolus•11m ago•0 comments

Pining for Arc Downcasting in Rust

https://wolfgirl.dev/blog/2026-09-29-pining-for-arc-downcasting-in-rust/
1•g0xA52A2A•11m ago•0 comments

WSLC Architecture Deep Dive

https://devblogs.microsoft.com/commandline/wslc-architecture-deep-dive/
1•doomroot13•13m ago•0 comments

CoreWeave ARIA: AI Research and Iteration Agent

https://www.coreweave.com/blog/introducing-coreweave-aria-ai-research-and-iteration-agent
2•gmays•13m ago•0 comments

Why generic models are bad graphic designers

https://grafista.io/blog/posts/how-grafista-fights-ai-slop
1•GiorgosGennaris•13m ago•0 comments

MCP Events

https://developers.openai.com/plugins/build/mcp-events
2•acossta•13m ago•0 comments

The US state replacing power plants with home batteries

https://www.bbc.com/future/article/20260928-a-virtual-power-plant-hidden-in-vermont-homes-is-keep...
5•devonnull•15m ago•0 comments

Sign in with ChatGPT

https://developers.openai.com/siwc
1•jlamberts•16m ago•1 comments

Multi-Agent

https://developers.openai.com/api/docs/guides/responses-multi-agent
2•acossta•18m ago•0 comments

Codex Cloud Environments

https://learn.chatgpt.com/docs/cloud
2•pretext•18m ago•0 comments

Meta's New Muse AI Agent Read My Private Messages. I Never Asked It To

https://www.inc.com/jason-aten/metas-new-muse-ai-agent-read-my-private-messages-i-never-asked-it-...
3•cdrnsf•18m ago•1 comments

Swarm Scaling

https://www.lesswrong.com/posts/6cb7qd3RSkgnviCpf/swarm-scaling
2•ronfriedhaber•19m ago•0 comments

Made My Own Shader

2•zncvv•21m ago•0 comments

Stop shaming people for using AI. Start organizing to prevent our obsolescence

https://www.theguardian.com/commentisfree/2026/sep/29/ai-replace-humans
4•devonnull•21m ago•2 comments

Frog Blog – The Math in Wine

https://www.frogpondfarm.ca/frog-blog-the-math-in-wine/
2•marysminefnuf•22m ago•0 comments

The End of a Fair Price: Dynamic Pricing and the Normalization of Gouging

https://prospect.org/2026/09/29/oct-2026-battling-an-army-of-price-setters-owens-review/
11•paimapi•24m ago•0 comments

OpenAI Ignored Employees Who Warned It Wasn't Doing Enough About Security

https://www.nytimes.com/2026/09/29/technology/openai-warnings-security.html
2•dap•24m ago•1 comments

Study Links Respiration and Cognition

https://news.northwestern.edu/stories/2026/09/ready-set-exhale-study-links-respiration-and-cognit...
2•gmays•24m ago•0 comments

Pi 0.99.0 released with MCP support

https://pi.dev/changelog/releases/0.99.0
3•amjd•24m ago•0 comments

Spain Announces Ban on Evictions

https://www.bbc.com/news/articles/cwm2qmjgy93do
3•Betelbuddy•25m ago•1 comments

Ask HN: What's stopping a hardwired AI

2•KinetiNode•25m ago•3 comments

Computer Use in the Agents API

https://developers.openai.com/api/docs/guides/agents-api/tools/computer-use
1•acossta•25m ago•0 comments