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.

The Birth of the American 12-string Guitar

https://www.harpguitars.net/history/grunewald/12-string.htm
1•bilegeek•4m ago•0 comments

Show HN: Horus-runtime – High Performance Computing workflow manager

https://github.com/temple-compute/horus-runtime
1•chdominguez•5m ago•0 comments

America Stopped Reading

https://ilummi.app/how-america-stopped-reading
1•anttonio•7m ago•1 comments

OpenAI is shutting down Atlas

https://techcrunch.com/2026/07/09/openai-is-shutting-down-atlas-but-its-ai-browser-ambitions-are-...
1•quadrige•8m ago•1 comments

Build a Basic AI Agent from Scratch: Security III

https://www.ruxu.dev/articles/ai/build-an-ai-agent-security-3/
1•ruxudev•8m ago•0 comments

Show HN: Dozenal – A Game of Spatial Arithmetic

https://dozenal.game
5•sarreph•12m ago•0 comments

Ask HN: Why is every company encorporating AI everywhere?

4•vanessa1211•17m ago•2 comments

If digital computers are conscious, they are conscious at the hardware level

https://smoothbrains.net/posts/2026-05-09-digital-consciousness.html
1•eatitraw•23m ago•0 comments

How to Run an Autonomous Agent Against Your Own Server

https://medium.com/@vektormemory/how-to-run-an-autonomous-agent-against-your-own-server-3ff9335ba69f
1•vektormemory•24m ago•1 comments

A preferred way to design tools for AI agents

https://www.bolshchikov.com/p/your-agent-isnt-dumb-your-tools-are
1•bolshchikov•24m ago•0 comments

Show HN: Spsc-ring-threadsafe Python C ext. 100x faster as multiprocessing.Queue

https://github.com/eliasdejong/spsc-ring-threadsafe
1•eliasdejong•28m ago•0 comments

Show HN: JavaScript/JSON and CSS minifier lib in minimal C89

https://fossil.wanderinghorse.net/r/cssminc/doc/ckout/README.md
1•sgbeal•35m ago•0 comments

How to Build an Automated SEO Workflow That Improves over Time

https://medium.com/@stefant/how-to-build-an-automated-seo-workflow-that-actually-improves-over-ti...
1•stevematzal•36m ago•0 comments

Big Companies Are Starting to Hire Again, Defying Predictions of AI Wipeout

https://www.wsj.com/business/big-companies-are-starting-to-hire-again-defying-predictions-of-ai-w...
3•thm•40m ago•1 comments

How to Set Up an On-Premises Project Management Platform

https://ones.com/blog/how-to-set-up-an-on-premises-project-management-platform-without-real-time-...
1•coding1134•44m ago•0 comments

Finance engineering roles are 2.6% of open finance-department jobs

https://app.layerz.cc/resources/finance-engineer-statistics
1•abarbey•47m ago•0 comments

How to Build a 50k Ton Forging Press

https://www.construction-physics.com/p/how-to-build-a-50000-ton-forging
1•Michelangelo11•49m ago•0 comments

Beyond Lambda-Calculus: Intensional Computation (2017) [video]

https://www.youtube.com/watch?v=Mmjwdtcu99I
1•sargstuff•50m ago•0 comments

Libsm64: Mario 64 as a library for use in external game engines

https://github.com/libsm64/libsm64
2•klaussilveira•52m ago•0 comments

Is Software Solved?

https://ahmet.ee/is-software-solved/
1•aozisik•53m ago•1 comments

The Odyssey Leaked on X: Bootleg Seen by Millions in Hours Before Takedown

https://variety.com/2026/film/news/the-odyssey-leaked-high-quality-bootleg-x-1236821418/
4•smurda•53m ago•1 comments

Removing React.js from the codebase and adapting Htmx for UI interactivity

https://misago-project.org/t/removing-reactjs-from-the-codebase-and-adapting-htmx-for-ui-interact...
1•Ralfp•58m ago•0 comments

Why I Left Google DeepMind

https://www.lesswrong.com/posts/iKm2FhpWkuuBojm82/why-i-left-google-deepmind
6•eatitraw•1h ago•1 comments

"Please just use plain English, I don't understand what you're saying."

https://twitter.com/mykola/status/2081450468178579594
4•alediaferia•1h ago•0 comments

Show HN: Agent Console – A Local Dashboard for Codex and Claude Code

https://github.com/buhuipao/agent-console
1•buhuipao•1h ago•0 comments

Brief notes on the OpenAI/Hugging Face incident

https://abstatisticalconsulting.substack.com/p/brief-notes-on-the-openaihugging
1•eatitraw•1h ago•0 comments

Resumepilot

https://resumpilot-xtlr.bolt.host
1•ibrahemalghazy•1h ago•0 comments

Absolute Truths I Unlearned as Junior Developer (2019)

https://monicalent.com/blog/2019/06/03/absolute-truths-unlearned-as-junior-developer/
1•downbad_•1h ago•0 comments

Heartbeats and Heart Attacks (2016)

https://tabletopwhale.com/2016/10/19/heartbeats-and-heart-attacks.html
2•downbad_•1h ago•0 comments

Teaching LLMs to Update Beliefs for Efficient Long-Horizon Interaction

https://bair.berkeley.edu/blog/2026/07/26/abbel/
1•SVI•1h ago•0 comments