frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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.

Animated open source terminal agents modeled after The Office

https://munderdiffl.in/
1•mikeleeorg•1m ago•0 comments

Using an AI coding agent with oracle-based testing to build a game emulator

https://keanw.com/2026/03/a-diary-of-an-agentic-retro-gamer-part-1.html
1•throwaway_2494•2m ago•0 comments

Courtside – TUI for NBA Games

https://github.com/NolanFogarty/courtside
1•nolanfogarty•2m ago•0 comments

Nordstjernen Web Browser 1.0.0 released

https://github.com/nordstjernen-web/nordstjernen/releases/tag/1.0.0
1•andreasrosdal•2m ago•0 comments

Njsakjfhiqugf83279r239r23hosbdbaisdsaLOL

1•alonsovm44•3m ago•0 comments

Codex for Sales Teams: Moving Faster to Solve Customer Problems [video]

https://www.youtube.com/watch?v=U2C55LC0ZLM
1•phyzix5761•3m ago•0 comments

BenchEvolver: Frontier Task Synthesis via Solution-Centric Evolution

https://benchevolver.github.io/
1•matt_d•5m ago•0 comments

Show HN: Alternative to WebXR, TypeScript SDK for multi-user VR app development

https://github.com/adamas-vr/runtime-interface
1•zekailin00•6m ago•0 comments

Discrete Tilt Matching

https://arxiv.org/abs/2604.18739
1•PaulHoule•6m ago•0 comments

Upvote if you'd like the VSCode devcontainers extension open sourced

https://github.com/microsoft/vscode-remote-release/issues/11664
1•wallzero•6m ago•0 comments

Investment leaders share views on AI job displacement as next big risk (2021)

https://www.bloomberg.com/news/articles/2021-01-12/what-do-wall-street-leaders-think-is-the-next-...
1•thoughtpeddler•8m ago•1 comments

Dnsfs. Store your files in others DNS resolver caches

https://blog.benjojo.co.uk/post/dns-filesystem-true-cloud-storage-dnsfs
1•882542F3884314B•9m ago•0 comments

Games Between Programs: The Ruliology of Competition

https://writings.stephenwolfram.com/2026/06/games-between-programs-the-ruliology-of-competition/
1•andromaton•9m ago•0 comments

SillyTavern: LLM Front End for Power Users

https://sillytavern.app/
1•doener•10m ago•0 comments

Show HN: Simple attributes for spec-driven agentic workflows (C#, Rust)

https://github.com/doublecouponday/gherkinsync
1•dcdgo•11m ago•0 comments

A Brief History of Reviewing Things on the Internet, Vol. I

https://catandgirl.com/a-brief-history-of-reviewing-things-on-the-internet-vol-i/
2•CharlesW•12m ago•0 comments

Ask HN: Knowledge Access for Agents?

1•tmaly•18m ago•0 comments

Safsaf – A Web Framework for Guile

https://www.cbaines.net/posts/safsaf_a_guile_web_framework/
1•DASD•18m ago•0 comments

OpenRouter: The Unified Interface for LLMs

https://openrouter.ai
2•doener•18m ago•0 comments

Tell HN: AI software development workflow, stack-ranked from HN discussion

https://codeberg.org/jro/Knowledge/src/branch/main/2026-06-05_ai-development-workflow-tools.md
1•dv35z•19m ago•1 comments

Ex-CIA official accused of stashing $40M in gold bars is 'master manipulator'

https://www.bbc.com/news/articles/cjwpw8w6dnwo
1•tartoran•19m ago•0 comments

(There are) Only 20 JavaScript runtimes left

https://www.adamsolove.com/js/2024/03/13/javascript-runtimes.html
2•SpyCoder77•20m ago•0 comments

Hey Facebook: I can prove I am me. If you let me

https://zenodo.org/records/20542603
1•wylieeden•20m ago•2 comments

Accident: Lufthansa B789 nose gear collapse at gate in Frankfurt

https://avherald.com/h?article=53a14f7c
2•gurjeet•21m ago•1 comments

ML Bible

https://www.arjunvirk.com/writing/ml-guide
1•jdkee•22m ago•0 comments

Prusiking Up a Rope [video]

https://www.youtube.com/watch?v=CKOZDe0J4bI
1•soupspaces•23m ago•0 comments

Show HN: Omni – Local-first multimodal file search on macOS

https://hanxiao.io/omni/
1•artex_xh•24m ago•0 comments

Show HN: I nerfed our coding agents on purpose

10•noahfradin•26m ago•9 comments

Gen Z more disconnected and distrustful of coworkers than their older colleagues

https://fortune.com/2026/06/04/gen-z-more-disconnected-distrustful-of-coworkers-than-older-collea...
2•rustoo•27m ago•1 comments

My returns have been exponential – no, seriously

https://www.ft.com/content/127f11bc-e29a-4a2a-ba33-b729b39b838a
1•petethomas•30m ago•2 comments