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.

GrillKit – Self-Hosted AI Interview Trainer with Voice

https://github.com/grillkit/grillkit
1•vitchenkokir•13s ago•0 comments

Fidonet: Technology, Use, Tools, and History

https://www.fidonet.org/inet92_Randy_Bush.txt
1•BruceEel•14s ago•0 comments

We Sued ICE to Get Its Spyware Contract. The Agency Redacted Nearly Everything

https://www.404media.co/we-sued-ice-to-get-its-spyware-contract-the-agency-is-redacting-essential...
1•voxadam•52s ago•1 comments

Beyond Text: Adaptive Data for the Multimodal Era – Adaption

https://adaptionlabs.ai/blog/adaptive-data-multimodal
1•gk1•58s ago•0 comments

Backrest – a web UI and orchestrator for restic backup

https://github.com/garethgeorge/backrest
1•flexagoon•1m ago•0 comments

The Apple Ad That Broke Microsoft [video]

https://www.youtube.com/watch?v=iBof-aNaDa0
1•mgh2•2m ago•0 comments

Kafka Rebalances: What's Happening Under the Hood

https://medium.com/@mina-tafreshi/kafka-rebalances-whats-actually-happening-under-the-hood-afd7ad...
1•minatafreshi•2m ago•0 comments

Our CSS isn't opinionated enough

https://www.craigabbott.co.uk/blog/2026/our-css-isnt-opinionated-enough/
1•speckx•3m ago•0 comments

Microsoft 365 Security Enforcement Platform Built for SMBs

https://syrix.io/
1•michael751•5m ago•0 comments

The Rise of Anti-AI AI Slop

https://www.theatlantic.com/technology/2026/06/data-centers-activism-ai-slop/687396/
3•xnx•6m ago•0 comments

The First Security Hire Is a Unicorn Hire

https://mattgoodrich.com/posts/first-security-hire-unicorn-hire/
1•mooreds•6m ago•0 comments

DecoEcho – Privacy-first flashcards I built as a non-programmer

https://apps.apple.com/us/app/decoecho/id6773129409
1•DecoEchoApp•6m ago•0 comments

Kara Swisher: The Tech Bros Should Just Shut Up [video]

https://www.thebulwark.com/p/kara-swisher-the-tech-bros-should
2•mooreds•6m ago•0 comments

Codex SDK – Programmatically control local Codex agents

https://developers.openai.com/codex/sdk
2•blumomo•7m ago•0 comments

What happens when companies replace managers with AI?

https://analysis.infocentral.net/replacing-managers-with-ai.html
2•felineflock•7m ago•1 comments

Cisco rolls out software tools to protect IT systems from AI agents

https://www.reuters.com/business/media-telecom/cisco-rolls-out-software-tools-protect-it-systems-...
1•onemoresoop•7m ago•1 comments

uutils/grep: a Rust implementation of GNU Grep

https://github.com/uutils/grep
1•tosh•8m ago•0 comments

Structural diffing in Emacs; deterministic agent harnesses

https://kevinlynagh.com/newsletter/2026_05_difftron/
1•surprisetalk•9m ago•0 comments

Lens – A brutal, vendor-neutral IAM posture assessment engine

https://iamposture.com/
2•greybeardhq•10m ago•0 comments

Rage-Inducing Problems in Tech

https://www.theringer.com/2026/05/28/tech/pope-leo-xiv-ai-encyclical-tech-industry-problems
3•kn81198•10m ago•0 comments

Passive heart-rate monitoring during smartphone use in everyday life

https://www.nature.com/articles/s41586-026-10507-6
1•brandonb•12m ago•0 comments

Martin Scorsese Is Embracing A.I

https://www.nytimes.com/2026/06/02/business/media/martin-scorsese-artificial-intelligence.html
8•stephen37•14m ago•2 comments

Show HN: The nearest hospital to every place on Earth in a single S2 range query

https://www.abahgat.com/blog/spatial-joins-with-s2/
1•abahgat•15m ago•0 comments

AI costs how much? GitHub Copilot users react to new usage-based pricing system

https://arstechnica.com/ai/2026/06/ai-costs-how-much-github-copilot-users-react-to-new-usage-base...
1•Brajeshwar•17m ago•0 comments

Can AI produce writing that we want to read?

https://www.newyorker.com/news/fault-lines/can-ai-produce-writing-that-we-actually-want-to-read
1•streptomycin•17m ago•0 comments

Sobolev Spaces and High-Dimensional Voronoi Graphs

https://ananthasharma.substack.com/p/how-sobolev-spaces-fix-high-dimensional
1•apsharma•18m ago•0 comments

Claude Code is not about code anymore

https://blog.vtemian.com/post/claude-code-isnt-about-code/
1•vtemian•19m ago•0 comments

Workshop: Launch sandboxed development environments on Ubuntu

https://canonical.com/blog/introducing-workshop-sandboxed-development-environments
1•28304283409234•21m ago•0 comments

Show HN: A real-time lip-sync avatar so your GPU can sit in standups for you

https://heiner-palmen.github.io/project/software-development/automation/ai/2026/05/13/scrumsurviv...
2•floozie•21m ago•0 comments

The Polish government approves a law banning all phone usage in primary schools

https://www.gov.pl/web/edukacja/rada-ministrow-przyjela-projekt-ustawy-dotyczacy-korzystania-z-te...
2•71bw•21m ago•0 comments