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•11mo ago

Comments

llm-exe•11mo 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•11mo 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.

Self-hosted GitHub Wrapped – weekly AI report deployed to GitHub Pages

https://github.com/HimashaHerath/github-dev-wrapped
1•himasha_47•2m ago•1 comments

Oilfield Units: a Measurement System so Cursed it made me Change Career [video]

https://www.youtube.com/watch?v=sdWEGzWFcCc
1•bryanrasmussen•2m ago•0 comments

The New Feudalism: AI Reshaping Power, Labor; Case for Self-Reliant Communities

https://plantthevillage.com/
1•Terretta•3m ago•0 comments

The Barrier Between Source Code and Compiled Code Has Dissolved

https://calebfenton.substack.com/p/the-barrier-between-source-code-and
1•calebfenton•3m ago•1 comments

Architecture, patterns and internals of Anthropic's AI coding agent

https://github.com/alejandrobalderas/claude-code-from-source
1•Anon84•8m ago•0 comments

Do founders' political views affect how you see a product?

1•rishikeshs•13m ago•2 comments

I Just Want Simple S3

https://blog.feld.me/posts/2026/04/i-just-want-simple-s3/
2•g0xA52A2A•13m ago•0 comments

Ask HN: Easiest UX for Seniors

1•khoury•17m ago•0 comments

My app hit 1,152 first-time downloads in a single day

1•apoorvdarshan•19m ago•0 comments

AI and Tech brief: Ireland ascendant

https://www.washingtonpost.com/wp-intelligence/ai-tech-brief/2026/04/03/ai-tech-brief-ireland-asc...
1•rbanffy•23m ago•0 comments

Show HN: SubnetLens – a concurrent local network scanner built in Go with a TUI

https://github.com/ostefani/subnetlens
1•ostefani•26m ago•0 comments

Claude Agents SDK: a process per session, each starting at 214MB on macOS

https://twitter.com/josevalim/status/2042908631474069660
1•tosh•26m ago•0 comments

Stopping to think about the AI context

https://github.com/Titovilal/context0
1•titovilal•26m ago•1 comments

Twometer/NoFences: open-source Stardock Fences alternative

https://github.com/Twometer/NoFences
1•ankitg12•41m ago•0 comments

Tesla's cabin camera estimates driver age in latest software update

https://driveteslacanada.ca/news/teslas-cabin-camera-estimates-driver-age-in-latest-software-upda...
2•voisin•43m ago•0 comments

Creating new knobs of control in biology

https://www.owlposting.com/p/on-creating-new-knobs-of-control
1•yorwba•49m ago•0 comments

Mythos Is Everyone's Problem

https://www.theatlantic.com/technology/2026/04/claude-mythos-hacking/686746/
3•urbandw311er•49m ago•0 comments

You Do Need to Understand Mythos (YouTube Video)

https://www.youtube.com/watch?v=V6pgZKVcKpw
2•vaylian•54m ago•0 comments

Doctor behind vaccine-autism link loses license (2010)

https://healthland.time.com/2010/05/24/doctor-behind-vaccine-autism-link-loses-license/
2•downbad_•55m ago•0 comments

How to Build a Secure AI PR Reviewer with Claude, GitHub Actions, and JavaScript

https://www.freecodecamp.org/news/how-to-build-a-secure-ai-pr-reviewer-with-claude-github-actions...
2•mc-serious•1h ago•0 comments

Training for a Marathon with an AI Coach: What Worked and What Didn't

https://www.bloomberg.com/news/features/2026-04-10/training-for-a-marathon-with-an-ai-coach-what-...
2•helsinkiandrew•1h ago•0 comments

Protecting Copyright with AI

https://www.thomas-huehn.com/protecting-copyright-with-ai/
1•Tomte•1h ago•0 comments

BlueHammer abuses Windows Defender's update process to gain SYSTEM access

https://hackingpassion.com/bluehammer-windows-defender-zero-day/
8•BullsEye0•1h ago•2 comments

Show HN: Cyber Pulse. AI pipeline for triage and alerting on cyber news/intel

https://play.google.com/store/apps/details?id=com.cyberpulse.cyber_pulse&hl=en_US
1•kozi93•1h ago•0 comments

Strait of Hormuz: A Citrini Field Trip (Free)

https://www.citriniresearch.com/p/free-strait-of-hormuz-a-citrini-field
3•jger15•1h ago•0 comments

I Built an AI PR Reviewer That Catches Bugs by Not Looking for Bugs

https://tessl.io/blog/i-built-an-ai-pr-reviewer-that-catches-bugs-by-not-looking-for-bugs/
2•rohansrma•1h ago•0 comments

Air Powered Segment Display? [video]

https://www.youtube.com/watch?v=E1BLGpE5zH0
2•ProfDreamer•1h ago•1 comments

Aisbf (AI Should Be Free) proxy 0.99.18 released

https://pypi.org/project/aisbf/
1•nextime•1h ago•1 comments

A tool to extract network sessions as an Image

https://github.com/q-viper/session-feature-extractor
1•isneck•1h ago•0 comments

Claude Code doesn't trust Claude with permissions

https://blog.raed.dev/posts/claude_code_permissions/
2•Raed667•1h ago•0 comments