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.

AI Has Come for Serif Fonts

https://www.wired.com/story/ai-has-come-for-serif-fonts/
1•maxloh•5m ago•0 comments

Thanks largely to robots Ukraine's now talking about winning, not just surviving

https://www.defenseone.com/technology/2026/06/ukraine-robots-winning/413902/
1•MilnerRoute•8m ago•0 comments

The Anger Isn't at the Tool

https://mamonas.dev/posts/the-anger-isnt-at-the-tool/
1•konmam•14m ago•0 comments

Small PRs, big speedups: The Ruby performance work you almost missed

https://mensfeld.pl/2026/06/ruby-performance-roundup/
1•doppp•17m ago•0 comments

Crypto's True Believers Demand to Be Taken Seriously

https://www.vanityfair.com/news/story/cryptos-true-believers
2•1vuio0pswjnm7•20m ago•1 comments

Free Online Survival Game – Arcade Style with Sonar Ping

1•desinxstudio•32m ago•0 comments

Jürgen Schmidhuber: World Models, RL and Year That Changed AI

https://www.the-information-bottleneck.com/jurgen-schmidhuber-world-models-rl-and-the-year-that-c...
1•__patchbit__•36m ago•0 comments

Making Claude a Chemist

https://www.anthropic.com/research/making-claude-a-chemist
1•zdkaster•37m ago•0 comments

Sites in Codex

https://developers.openai.com/codex/sites
1•ttul•38m ago•1 comments

Show HN: Nanocode-CLI – A lightweight terminal-based AI coding assistant

https://github.com/hit9/nanocode
1•hit9•43m ago•0 comments

Dots.tts: 2B-parameter continuous, end-to-end autoregressive TTS system

https://rednote-hilab.github.io/dots.tts-demo/
1•HellsMaddy•43m ago•0 comments

Ask HN: Does robotics capabilities research accelerate AGI timelines?

2•themasterchief•45m ago•1 comments

Undergoing maintenance for terminal.pink, I'm moving to a new home

https://blog.terminal.pink/posts/byte-vi.html
1•blmayer•48m ago•0 comments

S&P 500 rejects SpaceX, also blocking entry for OpenAI and Anthropic

https://arstechnica.com/tech-policy/2026/06/sp-500-blocks-fast-spacex-entry-wont-waive-rule-for-u...
35•maltalex•58m ago•5 comments

OpenAlex: All the Research, Connected and Open

https://openalex.org/
1•the-mitr•1h ago•0 comments

How to Build an AI Agent for Slack with Chat SDK and AI SDK

https://vercel.com/kb/guide/how-to-build-an-ai-agent-for-slack-with-chat-sdk-and-ai-sdk
1•flashbrew•1h ago•0 comments

An announcement from the Steering Council regarding the JIT project

https://discuss.python.org/t/an-announcement-from-the-steering-council-regarding-the-jit-project/...
5•riffraff•1h ago•0 comments

Qtile macOS-Style Screenshot Utility

https://github.com/cesarleaz/dot-screenshot/blob/main/README.md
2•gabyword•1h ago•0 comments

Top AR and XR Development Companies in India 2026

https://steff359075.substack.com/p/top-ar-and-xr-development-companies
1•gamepro•1h ago•0 comments

Google is quietly laying off staff in its cloud division

https://www.businessinsider.com/google-clouds-quiet-layoffs-hit-cybersecurity-teams-2026-6
12•yogthos•1h ago•0 comments

Meta weighs big equity raising after blockbuster Google deal

https://www.ft.com/content/e6df645d-1709-4a77-b15d-aa43a0209efd
3•JumpCrisscross•1h ago•0 comments

Show HN: What does YC Paxel do with your source code?

https://github.com/codesoda/paxel/tree/main/rootfs/rails
2•codesoda•1h ago•3 comments

Loupe: Revealing iOS Fingerprinting Signals

https://github.com/mysk-research/loupe
2•Hansenq•1h ago•0 comments

Linus Torvalds on AI

https://thenewstack.io/torvalds-ai-programming-productivity/
4•nreece•1h ago•0 comments

Error that we had to ignore

https://pvs-studio.com/en/blog/posts/js/1381/
1•thunderbong•1h ago•0 comments

The Ethical Dilemmas of AI

https://www.ft.com/content/d2c90246-11d7-4169-ac35-988de7fdb2af
2•1vuio0pswjnm7•1h ago•1 comments

AI slop has infiltrated the homes of the elderly

https://old.reddit.com/r/TrueOffMyChest/comments/1ty2veb/ai_slop_has_infiltrated_the_homes_of_the...
2•notRobot•1h ago•0 comments

Amazon Vinyl, a TypeScript streaming engine for HTML5 media

https://amazonmusic.github.io/vinyl/
1•nbilyk•1h ago•0 comments

Pre-Modern Armies for Worldbuilders, Part I: Why They Fight

https://acoup.blog/2026/06/05/collections-pre-modern-armies-for-worldbuilders-part-i-why-they-fight/
27•gostsamo•1h ago•2 comments

Claude-tinderbox: Search your Claude.ai conversation history locally via MCP

https://github.com/luckyrmp/tinderbox-archive
2•songwavepst•1h ago•0 comments