Blog

Give tools to your LLMs using JavaScript

We have recently been working on Agents.js at huggingface.js. It’s a new library for giving tool access to LLMs from JavaScript in either the browser or the server. It ships with a few multi-modal tools out of the box and can easily be extended with your own tools and language models. Installation Getting started is very easy, you can grab the library from npm with the following: npm install @huggingface/agents Usage The library exposes the HfAgent object which is the entry point to the library. You can instantiate it like this: import { HfAgent } from "@huggingface/agents"; const HF_ACCESS_TOKEN =

Using Amazon EKS with Karmada: Building Multi-cluster Kubernetes Management

Introduction As organizations scale their Kubernetes environments, managing multiple clusters across various regions becomes increasingly complex. Amazon Elastic Kubernetes Service (EKS) provides a managed Kubernetes service, but orchestrating workloads across multiple EKS clusters presents significant operational challenges. Enter Karmada (Kubernetes Armada) — an open-source CNCF project designed to solve multi-cluster management issues. In this article, we’ll explore how to combine Amazon EKS with Karmada to build a robust, scalable multi-cluster management solution that provides high availability, disaster recovery, and improved resource utilization across your Kubernetes estate. Understanding Karmada Karmada, which stands for Kubernetes Armada, is a CNCF project that provides

We’ve got another hint that the Samsung Galaxy Watch 8 is on the way

Galaxy Watch 8 firmware models have appeared New smartwatches could appear in July It’s not clear what upgrades the new watch could have Given how regularly Samsung launches new smartwatches, we were already expecting a successor to the Samsung Galaxy Watch 7 this year, but now there’s some actual evidence of the Galaxy Watch 8 actually being in development. Tipster @theordysm (via SamMobile) has spotted firmware versions for the Samsung Galaxy Watch 8, and as you would expect there are different model numbers for versions with extra cellular connection capabilities on board. It also looks as though there are going

Develop Webapps for Everyone: A Guide to Web Accessibility

Introduction We all heard the term Web Accessibility when we started frontend development, but we often forgot to consider this while developing large scale apps. In this blog, let’s talk about something that should be on all our radars but often gets pushed to the backburner: web accessibility. Why Accessibility Matters We’ve all been there—racing to meet deadlines, juggling feature requests, and trying to keep up with the latest framework updates. In that rush, accessibility can feel like “just another requirement” on a long checklist. But here’s the truth: when we build sites that only work for people without disabilities,

Is everyone building web scrapers with ChatGPT coding and what’s the potential harm?

I run professional websites and the plague of web scrapers is growing exponentially. I'm not anti-web scrapers but I feel like the resource demands they're putting on websites is getting to be a real problem. How many of you are coding a web scraper into your ChatGPT coding sessions? And what does everyone think about the Cloudflare Labyrinth they're employing to trap scrapers? Maybe a better solution would be for sites to publish their scrapable data into a common repository that everyone can share and have the big cloud providers fund it as a public resource. (I can dream right?)