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.

ProductSpec – Open standard for software intent in the AI agent era

https://github.com/gokulrajaram/ProductSpec
1•yellow_postit•1m ago•0 comments

Six misconceptions about large language models

https://academic.oup.com/pnasnexus/article/5/7/pgag236/8728241?login=false
1•Anon84•1m ago•0 comments

Show HN: KaozKit – JavaScript LLM agents on an engine built for microcontrollers

https://github.com/sebastien-burel/KaozKit
1•sebastienburel•2m ago•0 comments

China tightens travel restrictions for citizens

https://www.bbc.com/news/articles/cqe8x6gkk250o
1•alephnerd•2m ago•0 comments

Heart damage may occur from getting too much light at night

https://www.nbcnews.com/health/heart-health/heart-damage-light-exposure-too-much-at-night-researc...
1•gmays•3m ago•0 comments

Show HN: Panel – A research workspace where the agent can build its own panes

https://github.com/greentfrapp/panel
2•greentfrapp•4m ago•0 comments

Dutch key Defense speeches this year appear to have been fully AI-generated

https://nltimes.nl/2026/09/12/key-defense-speeches-year-appear-fully-ai-generated-analysis
1•Betelbuddy•5m ago•0 comments

We built a graph database service for agent memory

https://blog.getzep.com/why-we-built-a-graph-database-service-for-agent-memory/
1•roseway4•5m ago•0 comments

Sovereign: A Unified GPU Inference Substrate (Fractal Memory, Manifold Routing)

https://github.com/CuppaTea1983/Sovereign/tree/V1
1•michaelrickynea•6m ago•0 comments

AI slowdown: why Altman, Amodei and Musk suddenly agree

https://www.youtube.com/watch?v=y9IgWhTTt4U
1•frag•7m ago•0 comments

Effects of music training on the child's brain and cognitive development

https://pubmed.ncbi.nlm.nih.gov/16597769/
2•taubek•8m ago•0 comments

Markdown feature flags your coding agent can install and manage for you

https://www.dif.sh
1•Herzogda•8m ago•0 comments

Cybersecurity Has an AI Doomer Problem [video]

https://www.youtube.com/watch?v=KMf2RDC5Dyg
1•gessha•8m ago•1 comments

Aside – Meeting notes as Markdown and local dictation for macOS

https://heyaside.com/
1•dominikmartn•9m ago•0 comments

The US is talking about space weapons now

https://breakingdefense.com/2026/09/why-the-us-is-talking-about-space-weapons-now/
4•KinetiNode•10m ago•1 comments

Carnot the most efficient, multi-fuel engine

https://carnotengines.com/technology/
2•thelastgallon•11m ago•0 comments

Hologram: Building Local-First Apps in Pure Elixir

https://www.youtube.com/watch?v=jdg_UrLp0bU
2•jamauro•12m ago•1 comments

LMAX Disruptor – High Performance Inter-Thread Messaging Library

https://lmax-exchange.github.io/disruptor/
1•Bluestein•13m ago•0 comments

How to process incoming call audio on Android / iOS?

1•vivzkestrel•14m ago•0 comments

Show HN: Lume – an open-source terminal you can drive from your phone

https://uselume.dev/
2•hugomyb•19m ago•0 comments

AI is breaking our proxies for expertise

https://www.seangoedecke.com/ai-is-breaking-our-proxies-for-expertise/
3•jbkcc•21m ago•0 comments

AI 'kill switch' may need to be mandatory, Anthropic co-founder tells BBC

https://www.bbc.com/news/articles/cqgk5e2j0gg8o
3•Betelbuddy•21m ago•0 comments

Show HN: Bulkgrid – Search websites and GitHub repositories from your AI agent

https://bulkgrid.com
2•ceglh•21m ago•0 comments

More than honey: bee myths

https://luckyinstar.neocities.org/blog/beemyths
2•speckx•22m ago•0 comments

PostgreSQL Migrator 1.0: Moving Fast from Oracle and MySQL to PostgreSQL

https://blog.dalibo.com/2026/09/07/postgresql-migrator-1-en.html
4•bersace•24m ago•0 comments

Anthropic's over-alignment turned creative fiction into a bug report [humor]

https://medium.com/@raffaele_mangialardi/is-ai-going-to-kill-us-all-by-2030-72b894bba7d5
2•rm30•25m ago•0 comments

Show HN: A live Git diff view cli to stay on top of what agents are doing

https://github.com/stagas/livediff
3•stagas•25m ago•0 comments

How the New York Times Framed the War Between Israel and Hamas

https://www.tandfonline.com/doi/full/10.1080/1057610X.2026.2707956#abstract
12•mhb•26m ago•1 comments

Show HN: Infinite Shaders

https://shaderfrog.com/infinite
2•andrewray•28m ago•0 comments

Prompts Aren't Real

https://evaluation.club
2•mcfunley•29m ago•0 comments